OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[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"
  <!-- hello -->
  <define name="simple">
    <element name="simple">

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


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