Hi,

I'm working on getting up on-file-fly validation working when editing FDP
'V5.0-Based DocBook Extension' content.  Everything is working well using the
compact relax NG schema in the tree, doc/head/share/xml/freebsd50.rnc, except
for one issue that I am stumped on.  If I am working on a file (e.g.,
doc/head/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml) that is
included in a main document (for this example,
docs.svn/head/en_US.ISO8859-1/books/fdp-primer/book.xml) and that file uses
shared entites defined elsewhere (like &prompt.user defined in
doc/share/xml/freebsd.ent), the document will not validate, because the
validator is not aware of those shared entities.  I can add an internal DTD
subset to chapter.xml that references those entities and chapter.xml will
validate, but I do not believe this is correct since the book isn't using
XInclude.  Doing so means running make in the root directory of the book will
fail.

Suggestions?

Thanks,

Joseph

Attachment: signature.asc
Description: PGP signature

Reply via email to