Feature #3081
closedsuppress warning: The schema document at xxx.xsd is not being read because schema components for this namespace are already available. To force the schema document to be read...
0%
Description
on addSchemaSource:
we load xsds from jar so uris are like
jar:file:/C:/xsds.jar!/a.xsd
jar:file:/C:/xsds.jar!/b.xsd
jar:file:/C:/xsds.jar!/c.xsd
if a.xsd and b.xsd import c.xsd we end up with warning even with MULTIPLE_SCHEMA_IMPORTS=true
is it possible to turn the warning off and use MULTIPLE_SCHEMA_IMPORTS=false?
Files
Related issues
Updated by Michael Kay almost 8 years ago
- Status changed from New to Won't fix
I do not think it is possible to get this warning when the configuration option MULTIPLE_SCHEMA_IMPORTS is on. If you think you are seeing this, please provide a repro.
There is a mechanism for suppressing warnings in Saxon, which is to provide your own ErrorListener (or, where appropriate, your own Logger). We could improve this mechanism, for example by giving all messages a unique identifier, but the mechanism is there if you want it.
I'm closing this now, but feel free to re-open it if you have further information.
Updated by Petr K almost 8 years ago
- File addSchemaSource.zip addSchemaSource.zip added
Updated by Petr K almost 8 years ago
the problem is when using NodeInfo in config.addSchemaSource
Updated by Petr K almost 8 years ago
- Copied to Feature #3125: Duplicate conflicts when schema is read twice after building from NodeInfo added
Please register to edit this issue