Skip to main content
Known Participant
June 13, 2013
Question

Disappearing spaces ...

  • June 13, 2013
  • 1 reply
  • 780 views

I'm working on a project where we are updateing from FM7 to FM11. Here I find some strange behavior (or problems ..).  We're extracting xml from a database and importing into FM11 with EDD's/templates to do the formatting.

In this new version, we are losing a lot of spaces, and it seems to be connected to how FM11 is reading what my xml-expert calls "new line characters":  "There is a single new line character after &åttedel; and also after </nevner>, no space and it's correct like that. A new line character and a space (in PCDATA) in XML are 100% equivalent. This is an XML feature, enables XML serializers to line-break the XML without any information loss."

This worked fine in FM7, and we had all our spaces correct in connection with entities and fractions (teller/nevner), - but in FM11 they are gone. I'm using the same EDD's/templates as in FM7, just updated them to correct FM version.

Is this a sort of bug in FM11, have I done something wrong, or is it some trick in converting from FM7 to FM11 that I have missed?

BR

DagB

This topic has been closed for replies.

1 reply

Inspiring
June 13, 2013

You can disable the whitespace stripping in the maker.ini, or by using the proper xml syntax.

Check this link:

http://help.adobe.com/en_US/framemaker/using/WSD7FBA378-86FB-49ad-82EA-CCCFF5CC9524.html#WSfdd6fcd1027c990f-2e97d56212bdf47911c-7fff

Cheers

Alex

d.brekkeAuthor
Known Participant
June 13, 2013

Sorry, but that link handles stripping/merging of double/multiple whitespace. That's not my problem. It's the single new line character which does not convert into a single space as it's supposed to do ...

Inspiring
June 14, 2013

Would you mind to give an example of what you get and what you should get?

Next question would be, which API client you are using for import.