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] modeling, validating and documenting an xml grammar

[ Lists Home | Date Index | Thread Index ]

At 19:17 19/06/2003 -0700, Joe English wrote:

>Dave Pawson wrote:
> >
> > At 03:29 18/06/2003 -0700, Mike Fitzgerald wrote:
> >
> > >Don't know, but I'd be interested to know. Who out there is using
> > >minOccurs/maxOccurs in XML Schema beyond zero-one-many? Can you live 
> without
> > >minOccurs/maxOccurs or do you gotta have it?
> >
> > http://www.loc.gov/nls/z3986/v100/
> >
> > DAISY talking book.
> > Ripping off html, we used about 8 mandatory and a few optional
> > meta elements.
> > Seems a valid use case to me.
> > Currently validating using XSLT.
>
>
>Forgive me for being dense, but where in the vocabulary
>definition do you use cardinality constraints other than
>OPT, REP, and PLUS?  I don't spot any in the formal or
>informal parts of the DTDs.

http://www.niso.org/standards/resources/Z39-86-2002.html#FileReq
for instance. Thats the central navigation file.

The dtd allows them, the spec mandates them,
hence, as Bob(I think) pointed out, its a validation task.
E.g. there are 767 pages in the latest Harry Potter book,
info derived from that metadata, sourced at book build time.

regards daveP






 

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

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