Conditional Type Assignment (CTA) ??

This should cover W3C XML Schema, Relax NG and DTD related problems.
marfarma
Posts: 1
Joined: Mon Mar 01, 2010 11:24 pm

Conditional Type Assignment (CTA) ??

Post by marfarma »

I'm currently using a trial.

I have set my Options/ Preferences / XML / XML Parser / Saxon EE Validation setting to 1.1 and can't get Conditional Type Assignment (CTA) to validate. However, according to the Saxon EE 9.2 feature matrix, on the Saxonica site, it should be supported.

Is it supposed to work?

Pauli
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Conditional Type Assignment (CTA) ??

Post by adrian »

Hello,

Apologies for the very late reply.

After configuring the Saxon-EE validation to be 1.1 compliant you will have to create a custom validation scenario.
Document -> Validate -> Configure Validation Scenario, select Use custom validation scenario, New, and give it a proper name, Add a new validation unit and select from the Processor combo the Saxon-EE.
Make sure Validate as you type is also checked and OK all dialogs.

If you want to associate this scenario for multiple files, you can do this if you have them linked in the Project view by selecting them there, right clicking on them, Configure Validation Scenario and selecting the scenario you just configured.

Regards,
Adrian

PS: I realize two weeks have passed, so contact us at support@oxygenxml.com if you would like an extended trial.
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply