
I just want to add that we have an enhancement request to add support for specifying additional libraries also in validation scenarios, similar with what we provide for transformation scenarios. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/25/13 9:50 PM, George Cristian Bina wrote:
Hi Peter,
I am not sure how you want to use those extensions, I guess you want to use them in an XML Schema 1.1 in the xs:assert/@test attribute? In that case the suggestion below will not work but you can add your extensions library to the [oXygen]/lib folder and oXygen will load that automatically (for the Eclipse plugin you need to also edit the plugin.xml file to add a pointer to that library in the <runtime> section). On the other hand I have not checked if the XML Schema 1.1 spec allows using extension functions inside the xs:assert/@test attribute...
Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
On 4/25/13 9:26 PM, oXygen XML Editor Support wrote:
Hello,
I've already replied to your question on the support email.
Please see the response forwarded below:
-------- Original Message -------- Subject: Re: Extension functions in validation scenario Date: Thu, 25 Apr 2013 20:45:46 +0300 From: oXygen XML Editor Support <support@oxygenxml.com> To: Rushforth, Peter <Peter.Rushforth@NRCan-RNCan.gc.ca>
Hello,
Thank you for contacting us.
The fastest way to add the jars containing your extension functions would be to add them as extensions in the transformation scenario. For that, you should go to the "Configure Transformation Scenario(s)", even by oXygen menu Document > Transformation, or using its corresponding icon in the Transformation toolbar then choose to "Edit" the scenario.
Once in the scenario editing dialog, in the "XSLT" (first) tab, you have "Extensions". Here is where your jars should go.
You could also add the extension using a Saxon configuration file, but this operation is more complex than the first. You can add the Saxon configuration file in the same edit scenario dialog, same tab (XSLT). For that you should access the "Advanced options" for the Saxon engine (yellow cogwheel icon neat the Transformer chooser).
Let us know if you need additional information or any further help.
Regards, Costin
Costin Sandoi oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.302 Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com
--------------------------------------------------------------------------- This message (including any attachments) contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Any quotation contained herein has a validity of 30 days, unless otherwise specified.
On 4/25/2013 6:03 PM, Rushforth, Peter wrote:
Hi,
I have written some saxon extension functions which support XML Schema assertions.
Is there any way to add the jar containing those functions such that I can test them in Oxygen?
Thanks
Peter Rushforth
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user