This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about the ENTITY references


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ Kraa de Simon <Simon.de.Kraa@services.fujitsu.com> was heard to say:
| Part of the TDG directory structure:
|
| ./book.xml
| ./bookbody.xml
| ./ch00.xml
| ./entities/content.ent
|
| In bookbody.xml the reference to "chapter 00" is:
|
| &ch00;
|
| In entities/content.ent all entities are referenced by ../ch00.xml but
| shouldn't this be ./ch00.xml?

No. Relative system identifiers must be resolved with respect to the base URI
of the file that contains the declarations. So "../ch00.xml" resolved
with respect to "entities/content.ent" results in a "ch00.xml" in the
same directory as book.xml.

| The XML editor that I use (XMetaL) cannot find the file ../ch00.xml and when
| I think about it I think he is right...
|
| Or not?

XMetaL bug, I think. The AElfred parser exhibits the same bug (or at least
some versions do).

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw@nwalsh.com>      | To create a little flower is the
http://www.oasis-open.org/docbook/ | labour of ages.--Blake
Chair, DocBook Technical Committee |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE91qu6OyltUcwYWjsRAnkLAJ9zQW1xQ5bz4G65RoDUqXDQ7jJbkgCfWiS/
H67bcjzx3bhJrq9uNqnRqUg=
=9hO9
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]