Norman Walsh wrote: > Norman Walsh <n...@nwalsh.com> writes: >> Here's a better version. I've fixed the duplicate attribute >> declarations caused by attribute co-constraints and a number of other >> little bugs. The dcterms: namespaced elements should also work better. > > Here's an even better still version. This now passes muster in Xerces > and Saxon. Like the base DocBook DTD, I think it's interesting that > nsgmls reports ambiguous content models that neither Xerces nor Saxon > notice. For the moment, I'm not going to try to fix those, I'm not > sure it's practical.
Are you sure that nsgmls is right there? It has been long time, but IIRC ambiguity rules are little bit more relaxed in XML. My experience is that xmllint is the most picky one and it has some complaints: publishers.dtd:6452: validity error : Definition of bibliomixed has duplicate re ferences to publisher > ^ publishers.dtd:6452: validity error : Definition of bibliomixed has duplicate re ferences to title > ^ publishers.dtd:6474: validity error : Definition of bibliomset has duplicate ref erences to publisher > ^ publishers.dtd:6474: validity error : Definition of bibliomset has duplicate ref erences to title > ^ Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: ji...@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature