W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

createProcessingInstruction and 'xml'

From: Martijn Pieters <mj@digicool.com>
Date: Thu, 1 Feb 2001 18:02:33 +0100
To: www-dom@w3.org
Message-ID: <20010201180233.A4519@zopatista.com>
The XML spec states that PI targets should be valid XML Names, but never
'xml' in any case combination.

Should createProcessingInstruction raise INVALID_CHARACTER_ERR when called
with a 'xml' target? Or doesn't the DOM API enforce this rule? 

Maybe this should be clarified in the spec, it could do with an explicit
statement.

-- 
Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------
Received on Thursday, 1 February 2001 12:02:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT