PP with HaXml 1.02
Ketil Malde
ketil@ii.uib.no
21 May 2001 14:48:36 +0200
"Taesch, Luc" <luc.taesch@csfb.com> writes:
> the pretty print return the closing < on the next line, like
> <Person-XML
> ><Name
> ><string ....
> where i expect
> <Person-XML>
> <Name>
> <string>
My guess is that HaXML doesn't validate (using the DTD) or simply
ignores it for pretty printing purposes. If the "Person-XML" element
were defined to hold #PCDATA as well as (a) "Name" element(s), the two
examples above are not equivalent, since you've added white space
characters to the contents.
Adding whitespace within the tag is okay, though, since it doesn't
change the semantics of the document.
> This message is for the named person's use only. It may contain
[...]
(Jeez! Has CSFB hear of mailing lists?)
-kzm
--
If I haven't seen further, it is by standing in the footprints of giants