chris.danx
Usenet Archive
- Joined
- Aug 29, 2001
- Messages
- 16
- Reaction score
- 0
Hi,
I've been trying to get jing to, eh, work with the following snippet I found on the web...
<?xml version="1.0" encoding="utf-8"?>
<element name="patron"
xmnln="http://relaxng.org/ns/structure/1.0">
<interleave>
<element name="name"><text/></element>
<element name="id-num"><text/></element>
<zeroOrMore>
<element name="book">
<choice>
<attribute name="isbn"/>
<attribute name="title"/>
</choice>
</element>
</zeroOrMore>
</interleave>
</element>
but it gives
fatal: root element of schema must have a namespace
Why??? I don't understand. No matter what I try it doesn't work!
Chris
I've been trying to get jing to, eh, work with the following snippet I found on the web...
<?xml version="1.0" encoding="utf-8"?>
<element name="patron"
xmnln="http://relaxng.org/ns/structure/1.0">
<interleave>
<element name="name"><text/></element>
<element name="id-num"><text/></element>
<zeroOrMore>
<element name="book">
<choice>
<attribute name="isbn"/>
<attribute name="title"/>
</choice>
</element>
</zeroOrMore>
</interleave>
</element>
but it gives
fatal: root element of schema must have a namespace
Why??? I don't understand. No matter what I try it doesn't work!
Chris