You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/04/01 11:24:58 UTC

DO NOT REPLY [Bug 18537] - I'd like to be able to have valid XML documents for inclusion according to FAQ

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18537>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18537

I'd like to be able to have valid XML documents for inclusion according to FAQ





------- Additional Comments From jan@materne.de  2003-04-01 09:24 -------
Why don�t you edit the fragments via another wrapper?

<?xml version="1.0"?>
<!DOCTYPE mywrapper [
    <!ENTITY snippet SYSTEM "file:snippet.xmlf">
]>
<mywrapper>
    &snippet;
</mywrapper>


This is done in using the Log4J-XMLLayout, which produces non-valid XML 
(exactly because the root node is missed). See 
http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/xml/XMLLayout.html