A bug in MSXML in Java 1.8

MURATA Makoto (murata@apsdc.ksp.fujixerox.co.jp)
Fri, 09 Jan 1998 10:43:16 +0900


The following paragraph is quoted from "Microsoft XML Parser in
Java Release Notes for Version 1.8"
(http://www.microsoft.com/xml/parser/xmlchgs.htm)

>Section 2.12 adds a new xml:lang attribute. This means that
>any element can now have this attribute regardless of ATTLIST
>declaration. For example, the following is valid, even though
>the DTD says that the test element doesn't have any attributes.
>
> <!DOCTYPE test [
> <!ELEMENT test ANY>
> ]>
> <test xml:lang="en">
> The quick brown fox.
> </test>

This is clearly incorrect. The XML PR very clearly requires that
this attribute must be declared for valid documents.

Makoto

Fuji Xerox Information Systems

Tel: +81-44-812-7230 Fax: +81-44-812-7231
E-mail: murata@apsdc.ksp.fujixerox.co.jp