> Thanks
> now when I convert to rnc and load nxml mode I try to add any element within the tuplet element and I get cannot complete in this context.
>
>
> I am including my entire schema because maybe the problem is elsewhere.
I am not using nxml and don't know if that can explain what you're
seeing, but there are at least two errors in your schema:
1)
<define name="time">
<element name="time">
<choice>
<value>4/4</value>
<value>3/4</value>
<value>2/4</value>
<value>5/6</value>
<value>6/4</value>
<value>7/4</value>
<value>6/8</value>
<value>2/2</value>
<value>2/8</value>
<value>3/8</value>
<value>4/8</value>
<value>5/8</value>
</choice>
<text/>
</element>
I don't know what you want to achieve here, but you can't do a choice
between values and text...
2)
<start>
<!--Here is an outline of the structure of lilach a book can be the
root element it must have either one or more pieces or one or more
songs-->
<choice>
<ref name="book"/>
<ref name="piece"/>
<ref name="song"/>
<ref name="set"/>
</choice>
</start>
and
<define name="set">
<oneOrMore>
<ref name="book"/>
</oneOrMore>
</define>
leads to a oneOrMore pattern in a start and that's forbidden (XML
documents can have only one root...).
Replace that by:
<define name="set">
<element name="set">
<oneOrMore>
<ref name="book"/>
</oneOrMore>
</element>
</define>
and that will be fine...
Hope that helps.
Eric
--
Freelance consulting and training.
http://dyomedea.com/english/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
YAHOO! GROUPS LINKS
- Visit your group "rng-users" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
