Date: 02/07/03
- Next message: elmarto <email protected>: "[PHP-DOC] #22113 [NEW]: error in one of your documentation-examples"
- Previous message: Jirka Kosek: "Re: [PHP-DOC] xmllint"
- In reply to: Jirka Kosek: "Re: [PHP-DOC] xmllint"
- Next in thread: Gabor Hojtsy: "Re: [PHP-DOC] xmllint"
- Reply: Gabor Hojtsy: "Re: [PHP-DOC] xmllint"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Friedhelm Betz wrote:
> > and so on. But later on xlstproc doesn't complain about these already
> > defined entities.
>
> xsltproc doesn't validate document, so duplicated IDs aren't detected
I am not really sure and don't have your experience, but:
<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"./dtds/dbxml-4.1.2/docbookx.dtd">
<sect1 id="some-id">
<title>Some section</title>
<para id="some-id">This is a link to
<link
linkend="some-id">some-id</link>.</para>
</sect1>
saved as test.xml and and invoking xsltproc throws errors:
test.xml:7: validity error: ID some-id already defined
<para id="some-id">This is a link to
^
Warning: multiple "IDs" for constraint linkend: some-id.
I thought this is some sort of validation?
My question was not about duplicate IDs but duplicate entity definitions like
<!ENTITY reference.mhash.functions SYSTEM
[...]
<!ENTITY reference.mhash.functions SYSTEM
pointing to the same file '/opt/phpdoc/en/reference/mhash/functions.xml'
I am wondering about, why this double definitions exists and whats the reason
for. Because this double definitions, I assume, let xmllint throw repeating
errors of the same cause.
Friedhelm
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: elmarto <email protected>: "[PHP-DOC] #22113 [NEW]: error in one of your documentation-examples"
- Previous message: Jirka Kosek: "Re: [PHP-DOC] xmllint"
- In reply to: Jirka Kosek: "Re: [PHP-DOC] xmllint"
- Next in thread: Gabor Hojtsy: "Re: [PHP-DOC] xmllint"
- Reply: Gabor Hojtsy: "Re: [PHP-DOC] xmllint"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

