Project

Profile

Help

Bug #4248

closed

Setting a Parser Feature on command line in 9.9.1 HE

Added by Andy Yar over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Command Line
Sprint/Milestone:
-
Start date:
2019-07-09
Due date:
% Done:

100%

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

Description

Hello, After upgrading a Java-based Saxon to 9.9.1 HE the classic way of setting a XML Parser Feature via --parserFeature?uri= doesn't seem to work anymore. This works fine using the 9.8.0-15 HE.

On 9.9.1 this setting doesn't work:

--parserFeature?uri=http%3A//xml.org/sax/features/external-parameter-entities:false

> Transformation failed: Unknown configuration feature parserFeature?uri=http%3A//xml.org/sax/features/external-parameter-entities

Was the XML Parser tripped out of those features? Was the command line API changed?

[[http://www.saxonica.com/documentation/index.html#!changes/all/9.9-9.9.1]] doesn't provide any info.

Thanks

Actions #1

Updated by Andy Yar over 4 years ago

The classic way using the --parserFeature?uri works using 9.9.0-2 HE.

Actions #2

Updated by Michael Kay over 4 years ago

  • Tracker changed from Support to Bug
  • Category set to Command Line
  • Assignee set to Michael Kay
  • Priority changed from Low to Normal

It looks like this is working from the Java API but not from the command line. Treating it as a bug.

Actions #3

Updated by Michael Kay over 4 years ago

This is a regression caused by the fix for bug #4021.

Actions #4

Updated by Michael Kay over 4 years ago

  • Status changed from New to Resolved
  • Applies to branch trunk added
  • Fix Committed on Branch 9.9, trunk added

Patch committed to CommandLineOptions.java for 9.9 and trunk.

Actions #5

Updated by O'Neil Delpratt over 4 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.9.1.5 added

Bug fix applied in the Saxon 9.9.1.5 maintenance release.

Please register to edit this issue

Also available in: Atom PDF