A bug in MSXML in Java 1.8

MURATA Makoto murata at apsdc.ksp.fujixerox.co.jp
Fri Jan 9 01:43:29 GMT 1998


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 at apsdc.ksp.fujixerox.co.jp

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list