Re: schema in multiple files: trang problems
James Clark <[email protected]>
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2003-12-02 at 00:43, Manuel González Castro wrote: > Hello, > > I'm writing a modular schema in compact syntax, so I have > > driver.rnc > module1.rnc > module2.rnc > ... > > I'm having problems when I translate my schema (file "driver.rnc") into XML syntax with trang (version 20030619). > > 1) The point between the name and the extension is missing in the generated module files: > > driver.rng > module1rng <== should be "module1.rng" > module2rng <== should be "module2.rng" > ... I can't reproduce this. If you send a proper bug report, I'll look at it further. > 2) In my schema design, all modules define elements and attributes in the default namespace, and the driver file includes them in a namespace with the "inherit" keyword. It looks like: > > namespace myns = "http://mynamespace" > include "module1.rnc" inherit = myns > include "module2.rnc" inherit = myns > ... Trang RNG output has some bugs in handling inherit on include. They should be fixed in the next version. James