You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Guy Sharon <gu...@hotmail.com> on 2004/09/07 15:55:04 UTC
current-element-node returns parent node
When I parse the following example where the first <koo> element has a
missing required attribute called attrA
<foo>
<koo attrB="df"/>
<koo attrA="required" attrB="optional"/>
</foo>
I get a validation error but when calling the current-element-node property
I get the <foo> element and not the proper <koo> one.
Is this how it suppose to work or might I be doing something wrong?
Thanks,
Guy
_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and
more! http://special.msn.com/msn/election2004.armx
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org