[ http://issues.apache.org/jira/browse/XERCESJ-1172?page=comments#action_12420009 ]
Ivan Skorodumov commented on XERCESJ-1172: ------------------------------------------ Oh, sorry, I'm so sad... It was really in our subclass, there was an error, when we were working sometime with full node name (like "n1:Test") and sometime with local node name (like "test"), and there was a way for errors. Thank You and sorry again ;) > Invalid ErroeList after SAX parsing when XML contains subtables > --------------------------------------------------------------- > > Key: XERCESJ-1172 > URL: http://issues.apache.org/jira/browse/XERCESJ-1172 > Project: Xerces2-J > Type: Bug > Components: SAX > Versions: 2.8.0 > Environment: WinXP SP2, P4-2400, 1Gb RAM > Java 2 SDK 1.5 > Reporter: Ivan Skorodumov > Attachments: example.zip > > My XML contains a table, which contains subtable with more then one lines. > It looks like: > <a> > <b> > <c> > <d1>123</d1> > <d2>234</d2> > </c> > <c> > <d1>aaa</d1> > <d2>456</d2> > </c> > </b> > </a> > Let's consider, that field 'd1' must be a number, so, element "<d1>aaa</d1>" > must be an error element. > But, if the error is in the line 2 of the subtable 'c' (in example it's > element "<d1>aaa</d1>"), ErrorList "says" that the error is in the line 1 (in > example it's element "<d1>123</d1>"). > So, for this example, after parsing with SAX parser the ErrorList will > contain one line, that will link to the element "a/b/c[1]/d1" with error text > approx. "the value 'aaa' does not appear to the element, that must be a > number". > I think, it's an error, 'cause this line in the ErrorList must link to the > element "a/b/c[2]/d1". > Thanks! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
