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

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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC