Hi Brian,

Brian Minchau/Toronto/[EMAIL PROTECTED] wrote on 02/19/2007 12:29:32 PM:

<snip/>

> Again Xalan does not inject any whitespace between the xml header and 
the
> document element, for the same reasons as given before.  I'm not sure 
about
> the other whitespace differences. It looks like Xalan has decided that 
it
> won't add whitespace to existing whitespace and effectively does no
> indentation.  Xerces serializer however rips out the whitespace from the
> document being serialized and replaces it with nicer looking whitespace.
> I'm not sure if that is OK to do that, perhaps someone from Xerces will
> comment on the differences.
> (Michael?)

The DOM spec doesn't specify what pretty printing does. I believe what 
Xerces is doing is fine.

> - Brian
> - - - - - - - - - - - - - - - - - - - -
> Brian Minchau, Ph.D.
> XSLT Development, IBM Toronto
> e-mail:        [EMAIL PROTECTED]

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

Reply via email to