[xml] Generating XML including <!DOCTYPE> external reference

Date view Thread view Subject view Author view

From: Kenneth Pronovici (pronovic@skyjammer.com)
Date: Wed Aug 16 2000 - 16:57:06 EDT


Hello.

I am building a distributed publish-and-subscribe system under
Solaris using TIBCO for messaging and XML to encode my messages.

I have already figured out how to have subscribers validate the
XML documents they receive based on external DTDs (i.e. specified
by <!DOCTYPE doc SYSTEM "doc.dtd"> in the XML). Now I have moved
onto the next piece, having the publishers create the XML documents
to be published. In general, I understand how this is done. I just
have not been able to generate XML with an appropriate <!DOCTYPE>
tag which my subscribers can use to validate the XML documents they
receive.

In the mailing list archives, I found a letter from Nadine Peyrouze
(Nadine.Peyrouze@bull.net) with the subject "using external dtd".
Daniel's answer to Nadine implies that there is no way to insert the
<!DOCTYPE> tag into XML documents generated using libxml.

Is this true, or I have I misinterpreted Daniel's answer? Is any
support for this expected to be available in the future? In my case,
it will be difficult to build a complete system relying in validated
XML if I can't generate XML documents which reference an external DTD.
I would be happy to work on libxml code to allow this if someone could
point me in the right direction.

Regards,

KEN

--
Kenneth J. Pronovici <pronovic@ieee.org>
Alliance of Computer Professionals (http://www.acpros.com/)
Personal Homepage: http://www.skyjammer.com/~pronovic/
"Hell hath no fury like the weather when I'm camping..." 
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Aug 17 2000 - 05:43:12 EDT