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

           Summary: I'd like to be able to have valid XML documents for
                    inclusion according to FAQ
           Product: Ant
           Version: 1.5.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I like the FAQ way of breaking one large build.xml file into several smaller XML
files and including them using an ENTITY reference.
However, this means that the resulting build.xml fragment files (call them .xmlf
files) are not valid XML files.
This is because they contain several <target></target><target><target> tags,
i.e. there is no root tag.
This further means that when editing the files using a validating XML editor, it
reports all xmlf files as being in error, and an error on the build.xml file
that includes the .xmlf files.
I'd like to have a grouping XML tag, e.g. <targets> which can contain several
<target> tags, and otherwise have no effect.  This way the .xmlf files can
contain a <targets> root element and be valid xml documents that reference a 
DTD.

Reply via email to