[xml] When will you support xml version 1.1?
- From: Oliver Meyer <Oliver Meyer dsa-ac de>
- To: xml gnome org
- Subject: [xml] When will you support xml version 1.1?
- Date: Wed, 06 Jun 2007 11:35:09 +0200
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= ''/>
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= ''/>
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: Oliver Meyer dsa-ac de
Internet: www.dsa.de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]