Re: systemId within DocType Interface

[moved to www-dom]

Rick Rivello wrote:
> 
> I'm going over the DOM Level 2 tests and have a question
> about the systemId attribute within the DocumentType interface.
> 
> Some of the parsers return the absolute URI while others return
> just the file name.  Are both valid?  If not what should be returned?

The DOM specification doesn't say anything about that. It is defined as
a URI reference by the XML 1.0 specification. The Infoset doesn't say anything
either. So I guess both relative and absolute forms of the systemId are valid
in that case, even if DOM Level 2 doesn't give access to the baseURI.

Philippe

Received on Wednesday, 17 October 2001 11:30:02 UTC