OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] XML Schema Question: specifying restrictions for a list of

[ Lists Home | Date Index | Thread Index ]

Apologies for the typo.  The construct should really have been the
following:

        <computer_list>
          <computer default="true">Dell</computer>
          <computer>HP</computer>
        </computer_list>

Thanks for the input thus far.  I am exploring the various suggested
approaches.

Peter

> -----Original Message-----
> From: C. M. Sperberg-McQueen [mailto:cmsmcq@acm.org]
> Sent: Thursday, April 08, 2004 12:54 AM
> To: Peter Loh Yoon Chao
> Cc: xml-dev@lists.xml.org
> Subject: Re: [xml-dev] XML Schema Question: specifying restrictions for
> a list of elements
>
>
> On Wed, 2004-04-07 at 06:23, Peter Loh Yoon Chao wrote:
> > Hi,
> >
> > I have the following construct in my XML document:
> >
> >         <computer_list>
> >           <computer default="true">Dell</do_type>
> >           <computer>HP</do_type>
> >         </computer_list>
>
> I am having trouble following your example, in part
> because the construct above cannot occur in any
> XML document unless it is part of a CDATA section.
> As a result, I don't really have any idea what the
> structure is that you're asking about.
>
> Can you correct the well-formedness errors and
> re-post?
>
> -C. M. Sperberg-McQueen
>  World Wide Web Consortium
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS