Page 1 of 1

saxon/annotatedConfig.xsd: multiple extensionElement element

Posted: Mon May 11, 2015 9:07 am
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

Re: saxon/annotatedConfig.xsd: multiple extensionElement ele

Posted: Mon May 11, 2015 11:25 am
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"/>