Hi John,

The patch for ElementSource implementation is attached at

http://issues.apache.org/jira/secure/attachment/12337885/woden-44.patch

This patch includes the implementation of the ElementSource and it's
related classes in the WODEN-44 branch. With this, I have removed all
the DOM dependencies in XMLAttr, ExtensionDeserializer, etc, etc..,
In those classes, the relevant method signatures are changed to take
in Objects instead of org.w3c.dom.Elements. If a particular attribute
in this DOM/OM element wrapped in ElementSource is required, the
static methods in the 'ElementUtils' is used.

The class ElementUtils, acts as a switch for DOM/OMUtils. However
there is no inheritance mechanism here. It is used as an alternative
to DOMUtils which was there to get any attribute specific information
from the elements. There is a possiblity to remove these static method
references, and have the two util classes extend from ElementUtils
later.

Also QNameUtils is refactored to avoid possible confusion with the
same class name in the two o.a.w.i.util.dom/om packages.


Regards,
Oshani

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to