commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13023] New: - New rule to build DOM nodes
Date Thu, 26 Sep 2002 09:48:05 GMT
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=13023>.
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=13023

New rule to build DOM nodes

           Summary: New rule to build DOM nodes
           Product: Commons
           Version: 1.3 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Digester
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: cmlenz@apache.org


This patch adds a new Rule implementation to Digester: NodeCreateRule.
It can create DOM Element and DocumentFragment nodes that are populated with all
XML content contained by the matching element, and pushed on Digester's object
stack.

A use case for this would be: you want to process XML documents that allow "ANY"
content under certain nodes. Using a NodeCreateRule, Digester can capture that
information in a DOM node for further processing by the application.
Specifically, I've needed this feature for WebDAV XML request processing, but
there has also been a related request on the commons-user list.

Included in the patch is the NodeCreateRule class with full javadocs, as well as
a corresponding test-case and a modification to build.xml to include that test-case.

NOTE: this enhancement depends on the enhancement request in bug #13022.

[I've already posted this patch to commons-dev - adding it here to so that it
doesn't get lost]

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message