[DUG] Can anyone explain this one?

Jolyon Smith jsmith at deltics.co.nz
Fri Oct 5 08:41:25 NZDT 2012


If adding an "extra" prolog fixes it then I would ask if the prolog is
really there in the original xml to start with ?

Some XML viewers will add a default prolog when viewing xml that doesn't
contain any prolog.  When viewing this xml in IE for example:

<root>
  <child />
</root>

What IE actually shows is:

<?xml version="1.0"?>
-<root>
    <child/>
 </root>

I am sure I have seen similar behaviour in other xml viewers.  I find this
an increasingly prevalent problem, with computer software trying to be too
"helpful"; especially irksome in data viewers that introduce artefacts in
the data being viewed that aren't actually present.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20121005/8ed4d161/attachment.html 


More information about the Delphi mailing list