Bug 1023753

Summary: Fix checks for user-supplied options in scripts when using xml-commons-resolver
Product: [Fedora] Fedora Reporter: Christoph Böhme <christoph>
Component: saxonAssignee: Mat Booth <mat.booth>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: c.david86, dbhole, mat.booth
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: saxon-9.3.0.4-14.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 23:05:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Fix checks for user-supplied options in scripts when using xml-commons-resolver none

Description Christoph Böhme 2013-10-27 16:19:01 UTC
Created attachment 816541 [details]
Fix checks for user-supplied options in scripts when using xml-commons-resolver

The options '-x', '-y' and '-r' need to be followed by a colon and then a class name instead of a space followed by the class name. The fix for bug #831631 introduces this behaviour for options added by the saxon and saxonq scripts. 

However, the check whether the user has already supplied one of the three options still checks for the option name followed by a space. The attached patch fixes this. Additionally, the patch removes the handling of the '-x' and '-y' in the saxonq script completely because these two options are not supported by saxonq (using saxon-9.3.0.4-7.fc19).

Comment 1 Fedora End Of Life 2015-01-09 20:22:33 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora Update System 2015-01-12 20:57:18 UTC
saxon-9.3.0.4-14.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/saxon-9.3.0.4-14.fc21

Comment 3 Fedora Update System 2015-01-14 07:33:24 UTC
Package saxon-9.3.0.4-14.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing saxon-9.3.0.4-14.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0688/saxon-9.3.0.4-14.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-01-21 23:05:17 UTC
saxon-9.3.0.4-14.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.