On Thu, Jul 22, 2010 at 09:55:09AM +0200, Mike Hommey wrote:
> And the XML spec says in substance that if the encoding is UTF-8 or
> UTF-16, you don't need an encoding declaration.

I understand this.  That's why it's a should, not a must.  It's just
making it more explicit.

> Is there a hidden problem you're not mentioning and you are trying to
> solve?

Not really.  The only perk is that it makes text (that is, XML-unaware)
comparisons work a little better when comparing them with the output of
Xalan (and Saxon), which I often do to test my stylesheet code.

If you decide that you don't want to implement this, that's okay.  I
figured it was an improvement overall with no real downsides and
something that it would take me all of fifteen minutes to fix, so I did
it.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature

Reply via email to