Bug #4559
closed
Error: "XInclude processing is not supported with a pull parser"
Applies to branch:
10, 9.9
Fix Committed on Branch:
10, 9.9
Fixed in Maintenance Release:
Description
According to https://www.saxonica.com/html/documentation9.9/configuration/config-features.html
This option relies on support in the underlying XML parser. If the XML parser does not support XInclude processing, the option is ignored.
However, it throws "XInclude processing is not supported with a pull parser".
var processor = new Processor();
processor.SetProperty("http://saxon.sf.net/feature/xinclude-aware", "on");
var docb = processor.NewDocumentBuilder();
docb.Build(XmlReader.Create(new StringReader("<foo/>")));
- Category set to Documentation
- Status changed from New to In Progress
- Assignee set to Debbie Lockett
Sorry that this one got buried without a response.
I'm going to treat it as a documentation error. For SAX parsers, if the SAX feature for XInclude processing is not recognized, we throw a parsing failure, and that seems to me to be the right thing to do, so we will correct the documentation to match. It should say:
This option relies on support in the underlying XML parser. If the XML parser does not support XInclude processing, the parsing fails.
- Status changed from In Progress to Resolved
- Assignee changed from Debbie Lockett to Michael Kay
- Fix Committed on Branch trunk added
I've fixed the documentation of FeatureKeys.xml on the development branch.
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Applies to branch 10 added
- Fix Committed on Branch 10, 9.9 added
- Fix Committed on Branch deleted (
trunk)
Fix in tools/featureKeys/FeatureKeys.xml copied and committed to 9.9 and 10 branches. Committed regenerated Feature.java and FeatureKeys.java classes, and updated configuration/config-features documentation pages (committed, and uploaded online XML and HTML versions), on 9.9 and 10 branches.
Please register to edit this issue
Also available in: Atom
PDF