Would it be possible to use the standard XML document encoding detection
mechanism[0] for XML documents if no encoding attribute is present on
the cfg:read directive[1]?  I didn't read the documentation carefully
enough, and the current default introduced a subtle bug in one of my
configurations which I almost didn't catch.  (I was generating UTF-8 XML
documents with no explicit encoding, and upon a cfg:read they were being
copied back into XXE as my system encoding.)  I also think this would be
more in tune with the specification.

Thanks, and take care,

    John L. Clark

[0] http://www.w3.org/TR/2004/REC-xml-20040204/#sec-guessing

[1] http://www.xmlmind.com/xmleditor/_distrib/docs/commands/ch05s01s08.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20041108/42c14d5d/attachment.sig
 

Reply via email to