[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [relax-ng] Trang bug?
> If the RNC did have a "start =", then that sounds like a bug. If you > send me the RNC, then I can deal with it. > > James Here's the RNC. -Mike C:\XML\Rng\Examples>cat simple.rnc # hello ## hello simple = element simple { text } C:\XML\Rng\Examples>java -jar c:\lib\trang.jar simple.rnc simple.rng C:\XML\Rng\Examples>cat simple.rng <?xml version="1.0" encoding="UTF-8"?> <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http:// relaxng.org/ns/structure/1.0"> <!-- hello --> <define name="simple"> <a:documentation>hello</a:documentation> <element name="simple"> <text/> </element> </define> </grammar> C:\XML\Rng\Examples>cat simple.xml <simple>this is some text</simple> C:\XML\Rng\Examples>java -jar c:\lib\jing.jar simple.rng simple.xml C:\XML\Rng\Examples\simple.rng:2: error: missing "start" element C:\XML\Rng\Examples>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]