OASIS Open Mailing List Archives  ·  All Lists  ·  docbook-tc  ·  2005-10

docbook-tc — archive

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]

Re: [docbook-tc] Schematron problem in DB5 grammar


 MHonArc v2.5.0b2 -->


















docbook-tc message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-tc] Schematron problem in DB5 grammar


/ Jirka Kosek <[email protected]> was heard to say:
| today I found one problem in a way in which Schematron is embedded
| inside RELAX NG schema. Schematron specification requieres that rule
| elements are enclosed in pattern element. However pattern elements are
| missing in the schema. Some tools (in this case oXygen) are then
| unable to process embeded Schematron rules.

Alas, Kohsuke's MSV chokes on Schematron rules if they *are* wrapped
in pattern elements. I'll ask Kohsuke about it.

| I think that we could left RNC schema intact as it is mostly source
| format and I don't know any Schematron validator which is able to
| extract rules from RNC files. However I would suggest to surround rule
| elements by pattern element in RNG schemas. This should be matter of
| simple XSLT transformation in the build process. We also should add
|
| <s:ns prefix="db" uri="http://docbook.org/ns/docbook";
| xmlns:s="http://www.ascc.net/xml/schematron"/>
|
| to the top of RNG schema. This is good practice in Schematron because
| of YOU-KNOW-WHO (QNames in attribute values ;-) and some Schematron
| implementatios are not working without this.

Yes.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <[email protected]>      | The years teach us much which the
http://www.oasis-open.org/docbook/ | days never knew.-- Emerson
Chair, DocBook Technical Committee |

PGP signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]



[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]