chistletoe1 wrote:

> I'm waist-deep in a project which started out as an independent system
> so we have a collection of workable relax ng schemas in testing phase.
> Then the additional requirement came down the road to look at
> compliance with the ISO 19139 standard, geographic metadata in XML
> encoding, and that document supplies a collection of .xsd schemas in
> an ISO namespace.  

You can't combine RNG and WXS in one schema, you have to convert WXS to
RNG (or vice versa) before combining them together.

> I hate to take the easy road, abandon Relax and translate everything
> back into .xsd.  but I need to do various things like include or
> import elements and complex types from the ISO schemas into the Relax
> schemas and make the whole system validate.  Can this be done?  Is
> there a good tutorial available which discusses the nuts and bolts?

If ISO 19139 defines its elements in a separate namespace you can use
NVDL (see http://nvdl.org for links to implementations). NVDL allows you
to validate different parts of document against separate schemas -- each
schema can be in different schema language.

(And yes NVDL is also ISO standard, so you can be compliant with three
ISO standards -- RELAX NG, NVDL and ISO 19139 ;-D)

                                Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: [EMAIL PROTECTED]      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to