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 2005/09/14 12:10:25 UTC

DO NOT REPLY [Bug 36653] New: - xslt task: new attribute xinclude

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=36653

           Summary: xslt task: new attribute xinclude
           Product: Ant
           Version: 1.6.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: elkner@linofee.org


Actually, many people wanna use XIncludes in their projects (e.g. for docbook
related stuff), and this requires at least for xalan2, that the System property
key "org.apache.xerces.xni.parser.XMLParserConfiguration" is set to
"org.apache.xerces.parsers.XIncludeParserConfiguration". 

Since the xslt task does not allow to set system properties temporarily, another
option is need - the invocation of ant with -D... is a bad workaround, since
than all task would see/use this value. 

So one option would be, to allow a parser.config attribute, where one could set
appropriate value.

Even easier, if the processor is xalan2 aka trax, allow an attribute
"xinclude={on|off}" and if on, just set the system property as described above
and reset it to its original value, when the task is finished ...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org