Hi,
While testing the above property, I realised, that getProperty(" http://apache.org/xml/properties/dom/current-element-node") will never return a node which is does not have an begin/end tag. For example, for a text node there is only the the XNIDocumentHandler call
comment(XMLString text, Augmentations augs)
The Method getProperty(" http://apache.org/xml/properties/dom/current-element-node") always returns 'fCurrentNode', but the variable fCurrentNode does not get changed in those XNIDocumentHandler-methods which create a Node in a single call like comments.
For example, in the Method
AbstractDOMParser.comment(XMLString text, Augmentations augs) throws
XNIException {The new Node is added by
fCurrentNode.appendChild(comment);
while fCurrentNode remains unchanged.
Is this intended behaviour/bug? How do i get hold of comment nodes while parsing?
thanks, Arno
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
