[DXML-10] Support for DOCTYPE when emitting XML Created: 14/Nov/12 Updated: 05/Jul/16
|Reporter:||Thomas Greve Kristensen||Assignee:||Ryan Senior|
|Patch:||Code and Test|
Some consumers of XML files require an explicit DOCTYPE to accept an XML file. data.xml does not currently support the specification of doctypes when emitting XML. When XML is parsed, I believe DOCTYPEs are silently ignored, so there is no representation in the data model for them. The best design is possibly an :doctype option in clojure.data.xml/emit ?
I've attached a web.xml as example.
|Comment by Christian Egli [ 04/Jul/16 9:15 AM ]|
Patch that adds support for doctype declarations when emitting XML