[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] DocBook/Relax question
Hi, On Donnerstag, 12. Juli 2007, Jirka Kosek wrote: > Nic Gibson wrote: > > db.bibliography.attlist, > > db.bibliography.attlist, > > ... > > > That is, I try to re-enable bibliographies, I get an error I don't > > really understand: > > > > > > conflicting ID-types for attribute "id" from namespace > > "http://www.w3.org/XML/1998/namespace" of element "bibliography" > > > > (the error coming from Oxygen, btw). > > Probably you are defining some attribute twice, and at least once with > xsd:ID type. Note that you are referencing db.bibliography.attlist > twice. I suppose it has nothing to do with datatypes. It seems it is the same issue with Dave's Simple DocBook Schema (see my answer there.) The namespace from DocBook 5 is missing. :) There are some syntax errors and other issues with Nic's schema. I tried to fix them and it seems to work now (at least with my oXygen version): -------------- default namespace = "http://docbook.org/ns/docbook" namespace inherit = inherit include "dp.rnc" inherit = inherit { start |= db.book | db.part | db.chapter db.bibliography = element bibliography { db.bibliography.attlist, db.bibliography.info, db.all.blocks*, (db.bibliodiv+ | (db.biblioentry | db.bibliomixed)+), db.all.blocks*, (db.bibliodiv+ | (db.biblioentry | db.bibliomixed)+), (db.bibliodiv+ | (db.biblioentry | db.bibliomixed)+) } } -------------- Bye, Tom -- Thomas Schraitle
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]