Home › Forums › General XMetaL Discussion › Completely basic question: How to use a schema in XMetaL? › Reply To: Completely basic question: How to use a schema in XMetaL?
Reply to: Completely basic question: How to use a schema in XMetaL?May 14, 2009 at 1:11 am
In the W3C XML Schema Part 1: Structures Second Edition, under “[url=http://www.w3.org/TR/xmlschema-1/#compound-schema]4.2.1 Assembling a schema for a single target namespace from multiple schema definition documents[/url]”, it says:
Such included schema documents must either (a) have the same targetNamespace as the
ing schema document, or (b) no targetNamespace at all, in which case the d schema document is converted to the ing schema document's targetNamespace.
Support for case (b) is not implemented yet. The current workaround for this with current versions of XMetaL Author or XMAX up to 5.5 is to modify the Schema files so the targetNamespace inside any
Improving W3C Schema support to fill in some of the gaps is one area we are working on at the moment, and Docbook (among several others) is of particular interest to many clients.
If you do not wish to, or cannot, or are unable to, make this change to a Schema and a DTD is available you may try that instead. Note that all versions of Docbook currently include a DTD version of the schema.