Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Disappearing spaces ...

New Here ,
Jun 13, 2013 Jun 13, 2013

Copy link to clipboard

Copied

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

TOPICS
Structured

Views

682
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 13, 2013 Jun 13, 2013

Copy link to clipboard

Copied

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#WSfdd6fcd10...

Cheers

Alex

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 13, 2013 Jun 13, 2013

Copy link to clipboard

Copied

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 ...

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 14, 2013 Jun 14, 2013

Copy link to clipboard

Copied

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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 24, 2013 Jun 24, 2013

Copy link to clipboard

Copied

LATEST

Hi

This might be a related problem, but now I find that [space] [tab] is not changed in the FM11 import of the xml-file, while [tab] [space] is removed all together...  Is this controlled in the maker.ini-file? Or is it a bug in FM11?

When I use FM7 to open the xml-file, it preserves both variants ...

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines