Error: "XInclude processing is not supported with a pull parser"
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("
#1 Updated by Michael Kay about 1 month ago
- 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.
#3 Updated by Debbie Lockett about 1 month ago
- 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 (
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