[xml/sgml-pkgs] Bug#589875: Bug#589875: libxslt1.1: should output encoding declaration with method=xml

brian m. carlson sandals at crustytoothpaste.net
Thu Jul 22 14:41:20 UTC 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20100722/95e7bf8e/attachment.pgp>


More information about the debian-xml-sgml-pkgs mailing list