RE: [xml] DTD validation & namespaces
- From: "Keim, Markus" <markus_keim ordat com>
- To: "libxml2 mailing List (E-Mail)" <xml gnome org>
- Subject: RE: [xml] DTD validation & namespaces
- Date: Wed, 26 Nov 2003 17:50:50 +0100
-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]
Sent: Wednesday, November 26, 2003 5:31 PM
To: Keim, Markus
Cc: libxml2 mailing List (E-Mail)
Subject: Re: [xml] DTD validation & namespaces
On Wed, Nov 26, 2003 at 02:24:55PM +0100, Keim, Markus wrote:
Hello Daniel, hello all,
<cut />
- DTD validation for documents that uses prefixes and
different namespaces is problematic
yes but it's not specific to libxml(2), it's due to the fact that
namespaces were added to XML after the main spec was released ,
and as a result XML-1.0 and DTD validation are ignorant of namespaces.
I see. Wasn't sure about that.
- DTD validation for documents with a default namespace,
declared on the root element should be possible using
libxml2
DTD validation of documents with namespaces are possible.
You must define the prefixes in the DTD exactly as you will find them
in the instance, that's all.
OK, than it's clear.
<cut />
Using "--postvalid", the document validates.
that's an error, but I can't reproduce it with the currnet code
Oh, i'll check it with v2.6.2, i just found
"a posteriori DTD validation fixes"
in the "News".
Daniel
Thanx & Ciao, Markus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]