[ 
https://issues.apache.org/jira/browse/XERCESJ-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliotte Rusty Harold updated XERCESJ-294:
------------------------------------------
    Issue Type: Improvement  (was: Bug)

> 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: Improvement
>          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.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to