You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/05/01 20:22:20 UTC

DO NOT REPLY [Bug 8706] New: - ID/IDREF validation failure: not enough info in error message

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=8706>.
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=8706

ID/IDREF validation failure: not enough info in error message

           Summary: ID/IDREF validation failure: not enough info in error
                    message
           Product: Xerces2-J
           Version: 2.0.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: XML Schema datatypes
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: user2048@yahoo.com


When validation (using a schema) fails because of an IDREF to
a non-existant ID, neither the missing ID nor the offending IDREF
location are reported. Instead, the error msg is something like
"myfile.xml:123:4: ValidationRoot: Validation Root Valid (ID/IDREF) 
(�3.3.4): validation was not successful.", where 123:4 is the last
line:col of the file. So, there's no clue to which ID is missing
(or which IDREF is wrong). Adding this info to the error msg would
make troubleshooting much easier.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org