saxon/annotatedConfig.xsd: multiple extensionElement element

Post here questions and problems related to oXygen frameworks/document types.
Posts: 228
Location: Hamburg/Germany

saxon/annotatedConfig.xsd: multiple extensionElement element

Mon May 11, 2015 9:07 am


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.

Posts: 334
Location: Craiova

Re: saxon/annotatedConfig.xsd: multiple extensionElement ele

Mon May 11, 2015 11:25 am

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

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 0 guests