Validating against Schematron rules embedded in detected schema

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

Validating against Schematron rules embedded in detected schema

Wed Nov 16, 2016 4:19 pm

Hi,

I have a custom document type that should be used for varioud files with different XML schemas assigned. Now I'd like to define the default validation scenario i a way that the embedded schematron rules are used.

But in the configuration this seems not to be possible:
When I select the "use detected schema"I can't enable the embedded Scheamtron rules.
And I can't select a custom schema since the document type applies to different (topic-)types with different schemas.

Did I miss something?

Thanks and regards,
Patrik
Radu
Posts: 5129

Re: Validating against Schematron rules embedded in detected schema

Thu Nov 17, 2016 12:47 pm

Hi Patrik,

Indeed right now we do not allow checking for embedded schematron rules also in the detected schema. I will add an issue, see if we can fix this on our side. Based on the fact that the document type applies to XMLs with different schemas right now I cannot think of a good workaround for you.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

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

Who is online

Users browsing this forum: No registered users and 0 guests