saxon/annotatedConfig.xsd: multiple extensionElement element

Post here questions and problems related to oXygen frameworks/document types.
Patrik
Posts: 280
Joined: Thu Nov 28, 2013 9:32 am
Location: Hamburg/Germany
Contact:

saxon/annotatedConfig.xsd: multiple extensionElement element

Post by Patrik »

Hi,

I think there's a bug in saxon/annotatedConfig.xsd: Within xslt element it expects exactly one occurance of extensionElement while the saxon documentation says:
"The xslt element may contain one or more extensionElement children defining namespaces used for extension instructions. The extensionElement element has the following attributes:[...]"
Thus, you might consider adding an "Add"-Button for new extensionElement elements to the css as well.

Regards,
Patrik
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: saxon/annotatedConfig.xsd: multiple extensionElement ele

Post by radu_pisoi »

Thank you for reporting this.

Yes, the schema used to edit the Saxon configuration file is out of date, it should allows setting one or more extension elements when customizing an XSLT transformation.

I will add an issue in our issue tracking system to update our schema. Also, the CSS file should be updated to allow adding multiple extension elements.

Meanwhile, you can edit the schema $oxygenInstallDir/frameworks/xslt/saxon/annotatedConfig.xsd and set the maxOccurs="unbounded" attribute when refering the 'extensionElement' element.

Code: Select all

<xs:element ref="c:extensionElement" maxOccurs="unbounded"/>
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply