|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: modeling, validating and documenting an xml grammar
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








