[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] has anyone been able to get the docbook + mathml + svg schema customization layer working in oXygen since mml rng 2006-9-8?
I am finally getting around to testing this. With the stub added to the customization layer, oxygen is complaining that <apply> isn't allowed inside <annotation-xml>, among other problems. On 9/28/06, Jirka Kosek <jirka@kosek.cz> wrote: > Chris Chiasson wrote: > > > E conflicting ID-types for attribute "linkend" of element "msginfo" > > from namespace "http://docbook.org/ns/docbook". > > > > and oXygen won't validate with the custom schema. > > > > Since the release of docbook 5.0b8, I have gone back to using the > > boilerplate schema customization code in the DocBook 5 HowTo - and I > > am still getting this error. > > The problem lies in a new version of MathML schema that defines wildcard > pattern. The fix is quite easy. Create file mathml2-stub.rng with the > following content: > > <grammar xmlns="http://relaxng.org/ns/structure/1.0"> > <include href="mathml2.rng"> > <define name="mml.Annotation-xml.datatype"> > <mixed> > <zeroOrMore> > <element> > <anyName> > <except> > <nsName ns="http://docbook.org/ns/docbook"/> > <nsName ns="http://www.w3.org/1998/Math/MathML"/> > <nsName ns="http://www.w3.org/2000/svg"/> > </except> > </anyName> > <zeroOrMore> > <attribute> > <anyName/> > <text/> > </attribute> > </zeroOrMore> > <ref name="mml.Annotation-xml.datatype"/> > </element> > </zeroOrMore> > </mixed> > </define> > </include> > </grammar> > > and then include this file instead of mathml2.rng in DocBook schema > customizations. > > Please report this problem via bug tracker on SourceForge, so I do not > forgot to fix how-to. Thanks. > > Jirka > > -- > ------------------------------------------------------------------ > Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz > ------------------------------------------------------------------ > Profesionální školení a poradenství v oblasti technologií XML. > Podívejte se na náš nově spuštěný web http://DocBook.cz > Podrobný přehled školení http://xmlguru.cz/skoleni/ > ------------------------------------------------------------------ > Nejbližší termíny školení: > ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 ** > ** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 ** > ------------------------------------------------------------------ > http://xmlguru.cz Blog mostly about XML for English readers > ------------------------------------------------------------------ > > > > -- http://chris.chiasson.name/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]