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 "Michael Glavassevich (Jira)" <xe...@xml.apache.org> on 2021/06/27 00:11:00 UTC
[jira] [Issue Comment Deleted] (XERCESJ-294) ID/IDREF validation
failure: not enough info in error message
[ https://issues.apache.org/jira/browse/XERCESJ-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich updated XERCESJ-294:
-----------------------------------------
Comment: was deleted
(was: oke finish)
> ID/IDREF validation failure: not enough info in error message
> -------------------------------------------------------------
>
> Key: XERCESJ-294
> URL: https://issues.apache.org/jira/browse/XERCESJ-294
> Project: Xerces2-J
> Issue Type: Bug
> Components: XML Schema 1.0 Datatypes
> Affects Versions: 2.0.1
> Environment: Operating System: Windows NT/2K
> Platform: PC
> Reporter: user2048
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org