Re: createProcessingInstruction and 'xml'

On Thu, Feb 01, 2001 at 02:48:48PM -0500, Joseph Kesselman wrote:
> 
> >The W3C FAQ on DOM states that implementations that do that are in the
> >wrong
> 
> But we haven't yet given them a better alternative, and I believe we aren't
> ready to make a more explicit restriction until we've done so.
> 
> As a long-term plan, checking for this would be a good thing. When that
> check will be added to the DOM spec, and when that check will actually be
> performed, are yet to be determined. Probable answers at this time are "DOM
> Level 3" and "only on demand".
> 
> (I believe we did actually discuss this question before releasing DOM Level
> 2, and the consensus was that enforcing this in the factory method would
> have been premature at best. I'd have to dig into the archives to find an
> explicit citation, and I'd rather not make that effort unless someone
> thinks I'm misremembering...)

Thanks for the explanation. I personally think our DOM should raise the
exception, but I won't be the one that makes that decision.

-- 
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 15:18:59 UTC