W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

Dynamic Doctype generation

From: Olivier Dameron <olivier.dameron@chu-rennes.fr>
Date: Tue, 10 Apr 2001 11:42:39 +0200
Message-ID: <3AD2D58F.385494F0@chu-rennes.fr>
To: www-dom@w3.org
Hello,
   We are currently experiencing troubles in dynamically creating XML
files with explicit reference to PUBLIC and SYSTEM ids for DocumentType.
   DOM2 explicitly doesn't support editing DocumentType nodes [1],
publicId and systemId are readonly attributes.
   What is the deep reason why they are read-only ? We hacked
setPublicId(DOMString & value) and setSystemId(DOMString & value) and
couldn't find drawbacks. Any hint/comment on the subject are welcome.

[1] :
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-412266927

Oliver Fleig
Olivier Dameron
-----------------------------
olivier.dameron@chu-rennes.fr
Received on Tuesday, 10 April 2001 06:03:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT