[XQZone General] Re: [XQZone Announce] MarkLogic Server 3.0 Hits
jhunter at marklogic.com
Thu Jun 9 21:56:25 PDT 2005
Danny Sokolsky discussed this in some detail today during his "Upgrading
and Application Incompatibilities" talk. You should probably check out
his slides (http://developer.marklogic.com/conference/2005/slides/).
Try his tip of "declare xmlspace=preserve" and see if that helps. As I
think someone told you at the conference reception, the new behavior is
more conformant with the spec (darn it).
Raffaele Sena wrote:
> 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="#">something</a>
> <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.
> -- Raffaele
> General mailing list
> General at xqzone.marklogic.com
More information about the General