Dynamic Doctype generation

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 UTC