From my own research and posts, there doesn't seem to be a DOM4J event API. I ended up writing a quick, application-specific event system for my own needs, but it's no longer in use and isn't likely to be useful for your application. However, I'd love to see a generic event system for DOM4J, so I hope you can find the time to fill this need.
best, christian.
Richard Dynes wrote:
Hi,
We (SilkSpeed) are working on an XML Editor supporting W3C XML Schema document editing (vis. MS InfoPath, Altova XmlSpy) that will provide W3C XML Schema Part 2 (Datatypes) validation (http://www.w3.org/TR/xmlschema-2/). We are also interested in support for an Event Model similar to the DOM Level 2 part 1.6.4, mutation events (http://www.w3.org/TR/DOM-Level-2-Events).
This is a new and unannounced open source project, which we will announce and publish the code for when we have stable code to release.
We have used DOM4J, JDOM, and DOM (Xerces) models, we like DOM4J, particularly the XPath and QName interface support, and would prefer to build the pluggable editor interfaces on the DOM4J apis.
I could easily have missed APIs for an event model. I see the Visitor api for plugging in a validation engine, but haven't located a Schema Part 2 (Datatypes) component to plug in there.
If someone has suggestions, I would welcome them. We are aware of the Xerces DOM3 developments.
Thanks,
Richard
-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com
_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-dev