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

Olabusayo Kilo resolved DAFFODIL-2953.
--------------------------------------
    Resolution: Fixed

Fixed in 066a4d803cad0fcf8f54b6c39ef8b68bd758eafd

We opted with not displaying line/col info if it's less than 0 since obtaining 
location info from Xerces was very difficult

> "Unable to resolve schemaLocation" error fails to give line/column number 
> information
> -------------------------------------------------------------------------------------
>
>                 Key: DAFFODIL-2953
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2953
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Front End
>            Reporter: Steve Lawrence
>            Assignee: Olabusayo Kilo
>            Priority: Major
>
> If I have something like this in a schema:
> {code:xml}
> <xs:import ... schemaLocation="/does/not/exists.dfdl.xsd" />
> {code}
> Then I get an error like this:
> {quote}
> [error] Schema Definition Error: Error loading schema due to Unable to 
> resolve schemaLocation: /does/not/exists.dfdl.xsd
> Schema context:  Location line -1 column -1 in src/main.dfdl.xsd
> {quote}
> Looks like this error message is from Xerces.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to