[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [relax-ng] Compact syntax: double parenthesis needed?
Hi,
When writing:
element person {
attribute id {text},
element name {text},
element born {text},
((
attribute type {"author"},
element dead {text}?
) | (
attribute type {"character"},
element qualification {text}
))
}
jing complains if I don't use double parenthesis and write:
element person {
attribute id {text},
element name {text},
element born {text},
(
attribute type {"author"},
element dead {text}?
) | (
attribute type {"character"},
element qualification {text}
)
}
I get a "syntax error" on the line with ") | (".
Is this normal?
Thanks
Eric
--
See you in San Diego.
http://conferences.oreillynet.com/os2002/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC