[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
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: Mon, 8 Dec 2003 15:38:02 +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
>
<cut/>
> > Using "--valid", i get an validation error:
> >
> > ~>xmllint --valid --noout foo.xml
> > foo.xml:5: element foo: validity error : No declaration for
> > attribute xmlns of element foo
> > <foo xmlns="http://foo.acme.com/" />
>
> that's normal,
>
> > Using "--postvalid", the document validates.
>
> that's an error, but I can't reproduce it with the currnet code
> paphio:~/XML -> xmllint --postvalid --noout tst.xml
> tst.xml:5: element foo: validity error : No declaration for
> attribute xmlns of element foo
> Document tst.xml does not validate
> paphio:~/XML -> cat tst.xml
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE foo [
> <!ELEMENT foo ANY>
> ]>
> <foo xmlns="http://foo.acme.com/" />
OK, i've checked it with 2.6.2 and the document doesn't
(post-) validate (which is the correct behaviour).
> Daniel
Thanx & Ciao, Markus
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]