createProcessingInstruction and 'xml'

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 UTC