Project

Profile

Help

Feature #3141

closed

fn:parse-xml should respect configuration's parse options

Added by Gunther Rademacher about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2017-02-23
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Platforms:

Description

My attempts to use

configuration.getParseOptions().addParserFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
for configuring the parser used by fn:parse-xml were not successful. A look at the source code showed that ParseXml.evalParseXml has
ParseOptions options = new ParseOptions();
ParseOptions options = configuration.getParseOptions();

Please register to edit this issue

Also available in: Atom PDF