Re: XSchema Spec Section 2.5, Draft 1

Chris Maden (crism@oreilly.com)
Wed, 24 Jun 1998 17:02:27 -0400 (EDT)


[Simon St.Laurent]

> <!ELEMENT XSC:Notation (Doc?, ((PubidLiteral, SystemLiteral?) |
> SystemLiteral))>
> <!ATTLIST XSC:Notation
> name NMTOKEN #REQUIRED>
> <!ELEMENT XSC:PubidLiteral EMPTY>
> <!ATTLIST XSC:PubidLiteral
> Pubid CDATA #REQUIRED>
> <!ELEMENT XSC:SystemLiteral EMPTY>
> <!ATTLIST XSC:Systemliteral
> href CDATA #REQUIRED>

As with AttDef, the children need namespace qualifiers in the content
model, and when you've got a bunch of empty elements as children, they
should probably be attributes.

-Chris

-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>