[oXygen-user] foreign markup in ISO Schematron launched by NVDL
George Bina
george at oxygenxml.com
Mon Apr 10 13:31:16 CDT 2017
Hi Robert,
XSD 1.1 is more restrictive than Schematron, for example all the checks
need to be refer only the subtree rooted in the tested element, you
cannot check anything outside that, while in Schematron that is allowed.
Of course one can move the assertion on the parent of another ancestor
element, but that may not be easy to do automatically.
So, a generic converter will be difficult - limiting to a supported
Schematron subset will be doable.
Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 10/04/17 21:04, rleif at rleif.com wrote:
> Hi Octavian et al.
> Long term, could a translator be created or does one exist that will transform Schematron into XSD1.1? This would Help with projects like Health Level 7 (HL-7) FHIR
> Thank you.
> Yours,
> Robert Leif
> -----Original Message-----
> From: oXygen-user [mailto:oxygen-user-bounces at oxygenxml.com] On Behalf Of Oxygen XML Editor Support (Octavian Nadolu)
> Sent: Monday, April 10, 2017 7:19 AM
> To: oxygen-user at oxygenxml.com
> Subject: Re: [oXygen-user] foreign markup in ISO Schematron launched by NVDL
>
> Hi,
>
> Right now you cannot do this. The current Jing implementation (that is used for validation with NVDL) ignores the foreign elements from Schematron. I will add an issue on our issue tracker for this to analyze it and find a solution. We will notify you when we will come to a conclusion.
>
> Best Regards,
> Octavian
>
> --
> Octavian Nadolu
> <oXygen/> XML Editor
> http://www.oxygenxml.com
>
> On 10.04.2017 13:02, Imsieke, Gerrit, le-tex wrote:
>> Hi,
>>
>> I’m calling an ISO Schematron from an NVDL in oXygen 19 which works
>> fine so far. Now we were wondering whether we may also use foreign
>> markup, in particular XSLT. But I don’t see an obvious way how to pass
>> allow-foreign=true to the Schematron validator (not sure whether it is
>> relying on the default XSLT2 ISO Schematron implementation anyway).
>> This is not important for our current use case. Just asking out of
>> interest and because Matthieu raised the question.
>>
>> Gerrit
>>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
More information about the oXygen-user
mailing list