Re: Namespace prefix declarations vs DTDs

Bjoern Hoehrmann wrote [4 years ago!]:

>   I would like the XML Conformance Test Suite to cover test cases such
> as these two documents.
>
>   <!DOCTYPE x [ <!ELEMENT x EMPTY> ]>
>   <x xmlns:xml='http://www.w3.org/XML/1998/namespace'/>
>   
>   <!DOCTYPE x [ <!ELEMENT x EMPTY> ]>
>   <x xmlns:foo='http://example.org'/>
>
> The reason for inclusion is that there is confusion as to whether the
> documents are valid. My own reading is that both documents are not
> valid. The libxml2 tool xmllint regards the first as valid but the
> second as invalid. The W3C Markup Validator accepts both as valid.

Thanks -- I've added these in CVS, and they will appear in the next release.

> May I also enquire as to the status of previous submissions, e.g.
>
>   http://lists.w3.org/Archives/Public/public-xml-testsuite/2005Dec/thread.html#msg1
>   http://lists.w3.org/Archives/Public/public-xml-testsuite/2006Sep/0000.html

Per recent emails, those are in now as well.

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

Received on Thursday, 19 September 2013 11:31:41 UTC