Page 1 of 1

Conditional Type Assignment (CTA) ??

Posted: Mon Mar 01, 2010 11:44 pm
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

Re: Conditional Type Assignment (CTA) ??

Posted: Tue Mar 16, 2010 7:17 pm
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.