[Home] [By Thread] [By Date] [Recent Entries]

  • To: Burak Emir <Burak.Emir@e...>
  • Subject: Re: xml schema question: subst group example in Primer?
  • From: ht@i... (Henry S. Thompson)
  • Date: Thu, 02 Dec 2004 16:16:00 +0000
  • Cc: XML Developers List <xml-dev@l...>
  • In-reply-to: <41AF1876.5000603@e...> (Burak Emir's message of "Thu, 02Dec 2004 14:28:22 +0100")
  • References: <41AF1876.5000603@e...>
  • User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security ThroughObscurity, linux)

Burak Emir <Burak.Emir@e...> writes:

> Hello, xml-dev,
>
> I try it here because I have not received an answer on xmlschema-dev.
>
> Could someone give me an answer on this please?
>
> I always thought there was nothing difficult substitution, but stumbling
> again over this example in the primer confused me.
>
> The instances <items>...</items> with the *two* comments will surely
> never validate?? Because its *two* comments, not one?
>
> Isnt the default maxOccurs="1"? Does the example try to say "you can use
> either one of these" ?

Bug in the Primer, sorry.

ht
-- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@i...
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member