W3C home > Mailing lists > Public > www-international@w3.org > October to December 2002

RE: IRI-Everywhere

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 22 Nov 2002 10:32:42 +0100
To: "Martin Duerst" <duerst@w3.org>, <www-tag@w3.org>
Cc: <www-international@w3.org>
Message-ID: <JIEGINCHMLABHJBIGKBCOEJNFNAA.julian.reschke@gmx.de>

I think I spotted another issue regarding the use of IRIs in XML namespaces.

Many XML applications/tools handle expanded names in the format

	"{" + namespace-name + "}" + local-name

This will break with IRIs as (as far I can tell) as IRIs allow "{" and "}"
to appear unquoted:

        isegment       = *ipchar

        ipchar         = iunreserved / escaped / ";" /
                         ":" / "@" / "&" / "=" / "+" / "$" / ","
        iquery         = *( ipchar / "/" / "?" )
        ifragment      = *( ipchar / "/" / "?" )

        iric           = reserved / iunreserved / escaped
        iunreserved    = ichar / unreserved

        ichar          = idelims / ucschar / " " / "{" / "}" / "|"
    	                  / "\" / "^" / "`"

(example: javax.xml.transform.Transformer.setParameter()).

Julian


--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
Received on Friday, 22 November 2002 04:33:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:59 GMT