Yes, the same problem exists in version 2.5.0 as well.

thanks,
Benson.

-----Original Message-----
From: Jeffery B. Rancier [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2003 5:33 AM
To: [EMAIL PROTECTED]
Subject: Re: Empty tag handling question


"Benson Cheng" <[EMAIL PROTECTED]> writes:

The first thing I'd do (if possible) is to upgrade to 2.5.0 and try to
duplicate the alleged problem.

> Hi All,
>
> I found that Xerces handles <EmptyTag></EmptyTag> and <EmptyTag/> differently 
> when parse with the schema validation.  Assume this <EmptyTag> failed the 
> validation, 
>
> For <EmptyTag></EmptyTag> case, Xerces calls the handler in the following 
> sequence:
> startElement
> error
> endElement
>
> But for <EmptyTag/> case, Xerces calls the handler in the following sequence:
> error
> startElement
> endElement
>
> I am not sure the later case is correct or not.  Since my app builds the 
> element path when there are errors, the later case reports the wrong element 
> path (the parent element).  Is this a bug?  BTW, I am using Xerces version 
> 2.4.0.
>
> thanks,
> Benson.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

-- 
Thanks,
Jeff

,----
| Jeffery B. Rancier
| 
| Softechnics
| a METTLER TOLEDO company
`----


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


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

Reply via email to