Refining my question.
Is this a correct assumption that when the parser tries to create the first <koo> element it detects that the required attribute is missing so it fails in creating the element therefore the current-element-node points to the <foo> element?
If my assumption above is true, is there a way to force an incomplete creation of the element such that the error will point to the proper element instead of the parent?
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
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]