[XQZone General] Re: [XQZone Announce] MarkLogic Server 3.0 Hits
raff at aromatic.org
Tue Jun 7 12:19:05 PDT 2005
Sorry to be pesky from the beginning :) but I noticed something strange
while testing the new 3.0 server.
Something has changed in the way white spaces are processed in MarkLogic
3.0 compared to 2.2-7 (and now I have to fix all my pages ):
Actually what I think is happening is that while before the result of a
query was sent to the browser untouched now it's "filtered" and
whitespaces between tags are removed.
Here is an example:
<a href="#">and something else</a>
This would be sent as is in 2.2-7 but changed to:
<a href="#">something<a/><a href="#">and something else</a>
That displays as:
somethingand something else
When I really wanted:
something and something else
I know the the XML and HTML specs talk about when it's ok to collapse
white spaces between tags but I always thought that in this case the space
would be preserved.
Again, not a big deal but I thought I'll point it out.
More information about the General