[XQZone General] Re: [XQZone Announce] MarkLogic Server 3.0 Hits
The Street
Raffaele Sena
raff at aromatic.org
Fri Jun 10 08:24:56 PDT 2005
Thanks Jason!
I am sorry I missed the conference, but I'll look at the slides.
I tried the "declare xmlspace" and it fixed the specific case (I was
generating the XHTML inline in an XQY page). I will have to try if it
works also when processing stored XHTML documents.
I'll be back with the results... :)
Thanks!
-- Raffaele
On Thu, 9 Jun 2005, Jason Hunter wrote:
> 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).
>
> -jh-
>
> 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
> > http://xqzone.com/mailman/listinfo/general
> >
> _______________________________________________
> General mailing list
> General at xqzone.marklogic.com
> http://xqzone.com/mailman/listinfo/general
>
>
> !DSPAM:42a9130b25475924212593!
>
>
More information about the General
mailing list