Joel de Guzman wrote:

In this case, it looks like the XML pretty-print routine is confused again about what whitespace is significant and what isn't. I'm tempted to just disable it by default. Instead, I just added an option to disable it: --no-pretty-print. That'll work around your problem until we fix it, and should give people a fail-safe in the future in case the pretty-printer acts up again.

Joel, can you have a look at this when you get a chance?


Fixed. Actually, it's not the post-processor's bug, but rather,
a bug in the code that handles nbsp. It's just that the post
processor takes advantage of the "proper" handling of nbsp
to simplify parsing of the xml (i.e. it expects a certain form
passed to it).

I continued this thread here...

I did some more investigation and it seems now that Joao's
nbsp handling tweak (style sheets?) is not doing the right
thing. For example, the xml output:

    <link linkend="linked">linked</link> <link
    linkend="linked">linked</link>

( *notice the space between </link> and <link )

results to

    linkedlinked

That should be:

    linked linked

right?

Disabling the post processor did not really help (Eric's latest tweak).
It wasn't the problem. For example:

   [link linked]   [link linked]

generated (no post processing):

    <link linkend="linked">linked</link>   <link
    linkend="linked">linked</link></para>

and (with post processing):

    <link linkend="linked">linked</link> <link
    linkend="linked">linked</link>

Both are correct results, AFAICT, but the final html
result removes the spaces:

    linkedlinked

I remember now that I worked around the problem by detecting
"> <" and replacing it with ">&nbsp;<". My latest tweak fixed that
to detect *one or more* spaces between the brackets. I think that
workaround in Qbk is not needed if Joao's style-sheet tweaks are
fixed.

Unless of course, I'm missing something :)

Thoughts? Joao?

Cheers,
--
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to