David Maus
David Maus
> So, in 2016, the consequence of an undefined phase name was just an empty function. Ok, missed this part. > On the face of it, an undefined phase name...
# Solution 5 Use one diagnostic per message and wrap localizations in a foreign element with @xml:lang. ``` Example of Multi-Lingual Schema (Optional) Fallback message. English message. German message. ```
There is a test for that bug: https://github.com/dmj/schematron-test/tree/t/pull-57/pattern
The provided schema is not a valid Schematron document: The sch:let appears inside the sqf:fix, this is forbidden by the schema in Annex A. ``` foreign = foreign-attributes, foreign-element* foreign-empty...
Okay, now I get it. I would extend the API with a ```process-foreign``` template that by default copies the elements if allow-foreign is true and let a user override this...
SchXslt is still maintained and so is the Ant task.
> Thank you @dmj for confirmation 🙏 I was just wondering since the releases section of the ant schxslt says that the repo was archived in 2020? (https://github.com/schxslt/schxslt-ant/releases) And while...
Depending on the requirements https://github.com/dmj/schematron-schematron might be a start. This is a Schemtatron schema that parses XPath expressions in order to find syntax errors.
Note on implementation: Copying the sch:ns does **not** work if the include target is a sch:let variable with element content. This leaves converting sch:ns into xmlns pseudo attributes as the...
@adunning I agree that having SchXslt use embedded schematron would be very helpful. As you have discovered yourself, a script that works for one case does not necessary work for...