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

Re: createProcessingInstruction and 'xml'

From: Martijn Pieters <mj@digicool.com>
Date: Thu, 1 Feb 2001 19:48:47 +0100
To: Ray Whitmer <rayw@netscape.com>
Cc: www-dom@w3.org
Message-ID: <20010201194847.C5298@zopatista.com>
On Thu, Feb 01, 2001 at 10:14:17AM -0800, Ray Whitmer wrote:
> The specification could do with a clarification, especially if existing 
> implementations could agree.  I believe that some implementations may be 
> using processing instructions named "xml" to represent XML declarations 
> and text declarations that look just like a PI using the reserved xml 
> name.  Others clearly do not.

Hi Ray,

The W3C FAQ on DOM states that implementations that do that are in the
wrong; so setting in stone that createProcessingInstruction shouldn't
accept 'xml' as a target would not create more confusion. Future
implementations can then more easily avoid the pitfall.

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 13:49:23 UTC

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