Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2016 21:32:04 -0300
From:      Joseph Mingrone <jrm@ftfl.ca>
To:        freebsd-docs@freebsd.org
Subject:   validating individual files in a document
Message-ID:  <86h9bnss57.fsf@phe.ftfl.ca>

next in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

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

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBAgAGBQJXjCOEAAoJEDakDIOw1u+eqSIP/1Nb2DnEjwPyJ0GRZ74r5Pgt
tQvN0BLwmvpLwCJ3YwWo27fEY4gIoQrQUsug67NRrmAqUg1rwCKe7DBDlwIEmmZU
lXqa6FpYGiLVzSxwkX9KiALqdXuN3kzqo3gvOq/Z7PtLfn3HExyjWDldKQY6WiX3
I2zDf9UvqTF+NZT3v+nVwfi7nALP0N2HaVnDqlMRym2mLYacWa3t7mi3aBkk8cPd
ONzu8Pcr9/D8Vl6DYuc53fio8TMkW9eZNilxaUuENyGfV/cKRJ+ACr9DkChpnf8B
z4wLSQpJRQ32zOGSsA2ODCz7t7zLl89s8chMeZV1JkRVj9eMUtPVGGg14zyXFrrp
Dd99v16ObONJA6N29uDVoBJdD0JMrEvX+pd946EDIAafFhcWVCLvnEgM3vFhIJiD
bVNKXScpd0aWMeKNXgWSphj/D9B2vt9F3H5oVsNAXeam6oy5j1gz5iOQfQWHW9b1
qM2Xc2tWZthH+rqcXGElU0j6lBfz8dWYQs8jeNVkuSWxDYpLWqQIeh1r3jEpuMci
aLhcs0Ejer7PfbiBLYz0l2PDxVHBl9lBFoFl5u0oN0dKZd2u3cp0MI9g2e3OBN9F
H/Z4rC5UCyQh6nxPu5bG6kimALAV1Sg58o3/CMXCoT/ITBsnxmb5KCnhAWnhwz2l
DVJKfRjQpMaD4KR0zYek
=naYH
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86h9bnss57.fsf>