Bruce,
Please try the attached.
Bruce D'Arcus <bdarcus@xxxxxxxxxxx> writes:
>
> I've struggled a bit with figuring out how to implement a customization
> layer for the docbook schema. I seem to almost have it right, but
> nxml mode gives me the following error when I load it:
>
> Incorrect schema. Reference loop on symbol gen.char.class
>
> What does this mean, and how do I fix it?
>
> Here's the schema I am invoking, which I have placed in the "schema"
> directory:
>
> include "docbook.rnc" { citation = para.char.mix*,
> biblioref*,
> citation.attlist
> citation.attlist &=
> common.attrib,
> citation.role.attrib,
> local.citation.attrib,
> attribute renderas { "full" | "author" | "year" | "title" }?,
> attribute caption { text }?
> blockquote = title?,
> attribution?,
> component.mix+,
> biblioref?,
> blockquote.attlist
> blockquote.attlist &=
> common.attrib,
> blockquote.role.attrib,
> local.blockquote.attrib
> local.quote.attrib = quote.role.attrib
> quote.role.attrib = role.attrib
> quote = para.char.mix+,
> biblioref?,
> quote.attlist
> quote.attlist &=
> common.attrib,
> quote.role.attrib,
> local.quote.attrib
> local.epigraph.attrib = epigraph.role.attrib
> epigraph.role.attrib = role.attrib
> epigraph = attribution?,
> para.class+,
> biblioref?,
> epigraph.attlist
> }
> biblioref = element biblioref { biblioref.attlist }
> biblioref.attlist &=
> attribute linkend { xsd:IDREF },
> attribute endterm { xsd:IDREF },
> attribute unit { xsd:token },
> attribute start {xsd:token },
> attribute stop { xsd:token }
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/2U_rlB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
emacs-nxml-mode-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
add-biblioref.rnc
Description: Text document
|