Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add control to config to check that schema URI are valid and point to an available schema #44

Open
fadjer opened this issue Nov 6, 2018 · 1 comment
Assignees

Comments

@fadjer
Copy link

fadjer commented Nov 6, 2018

Hi,

While running last version of Gaulois Pipe within my project, I'm getting this NullPointerException :

java.lang.NullPointerException: null
	at com.saxonica.ee.schema.sdoc.SchemaReader.read(SchemaReader.java:140) ~[saxonee-9.8.0.14.jar!/:na]
	at com.saxonica.config.EnterpriseConfiguration.addSchemaSource(EnterpriseConfiguration.java:630) ~[saxonee-9.8.0.14.jar!/:na]
	at net.sf.saxon.Configuration.addSchemaSource(Configuration.java:3025) ~[saxonee-9.8.0.14.jar!/:na]
	at fr.efl.chaine.xslt.GauloisPipe.launch(GauloisPipe.java:251) ~[gaulois-pipe-1.03.05.jar!/:na]

Just before this error, I get this log witch shows a invalid url path :

Loading schema cp:/gc\schemas\query.xsd

Thanks in advance

@fadjer fadjer closed this as completed Nov 6, 2018
@cmarchand
Copy link
Owner

This is a normal behavior, as your schema URI is invalid. See gaulois-compiler issue #4.

We may add a control on config file to check that schema URI is valid. I re-open this issue, changing the title, for further improvements

@cmarchand cmarchand reopened this Nov 6, 2018
@cmarchand cmarchand changed the title NullPointerException for invalid url Add control to config to check that schema URI are valid and point to an available schema Nov 6, 2018
@cmarchand cmarchand self-assigned this Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants