Hi everybody,

in xml 1.1 you are allowed to have e.g.  as an attribute value. My 
xmllint does not support that version.
Are you planning to support xml 1.1?

Kind Regards,
Oliver

foo.xml=

   <?xml version = "1.1" encoding = "UTF-8"?>
   <foo a= '&#7;'/>

xmllint foo.xml:
   C:\tmp>xmllint foo.xml
   foo.xml:1: parser warning : Unsupported version '1.1'
   <?xml version = "1.1" encoding = "UTF-8"?>
                      ^
   foo.xml:2: parser error : xmlParseCharRef: invalid xmlChar value 7
   <foo a= '&#7;'/>

version:

   C:\Dokumente und Einstellungen\my>xmllint --version
   xmllint: using libxml version 20623CVS2717

standard [1.1]:

   [2]  Char ::=        
      [#x1-#xD7FF] | [#xE000-#xFFFD]
    | [#x10000-#x10FFFF]        /* any Unicode character,
                           excluding the surrogate
                           blocks, FFFE, and FFFF. */
   [2a]         RestrictedChar ::=
      [#x1-#x8] | [#xB-#xC] | [#xE-#x1F] | [#x7F-#x84]
    | [#x86-#x9F]

As CharRefs still must follow the Char production (and not 
Char-RestrictedChar) the above should be well-formed XML (1.1).

[1.1] : http://www.w3.org/TR/2006/REC-xml11-20060816/
-- 
Dr. Oliver Meyer

DSA Daten- und Systemtechnik GmbH
Pascalstrasse 28
D-52076 Aachen
Germany

Phone:    +49(2408)9492-793
Fax:      +49(2408)9492-92
E-mail:   [EMAIL PROTECTED]
Internet: www.dsa.de
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to