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]
