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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to