DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6875>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6875

Incorrect Line-position for wrong element

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From [EMAIL PROTECTED]  2003-01-29 16:39 -------
Xerces-C++ validates content model on the way out.   That is after it sees the 
entire content, say "A X C D" in this example, it then validates this "entire 
content" against the grammar "A B C D", then issues error when discrepancy is 
found.   Thus line 25 is used for wrong content model.

Error at file "d:\xml\Bugs\bugx.xml", line 25, column 8
   Message: Element 'X' is not valid for content model: '(A,B,C,D)'

Similarly for "A D C D", the error is also reported at line 25 where the entire 
content is validated:


Error at file "d:\xml\Bugs\bugd.xml", line 25, column 8
   Message: Element 'D' is not valid for content model: '(A,B,C,D)'

The message for line 10 for element X is not related to content model, it's 
just the element X itself is not even declared in the grammar and thus the 
parser issues a not found error.

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

Reply via email to