Re: [xml] xmllint version 20508 with a strange behaviour
- From: John Fleck <jfleck inkstain net>
- To: xml gnome org
- Subject: Re: [xml] xmllint version 20508 with a strange behaviour
- Date: 09 Jul 2003 08:05:50 -0600
On Wed, 2003-07-09 at 06:43, Lucas Brasilino wrote:
[lucas wempdi_dirc60 xml]$ xmllint --valid -dtdvalid router.dtd --noout
saida.xml
saida.xml:2: validity error: Validation failed: no DTD found !
<router_conf>
^
Looks like xmllint not fetching the external DTD "router.dtd".
Did anybody experienced this problem?
You need to drop the "--valid". By using that option, you are asking
xmllint to explicitly look for an included dtd, it is not finding it and
reporting the error. This will do what you want:
[lucas wempdi_dirc60 xml]$ xmllint -dtdvalid router.dtd --noout
saida.xml
Cheers,
John
--
John Fleck
jfleck inkstain net (h) jfleck abqjournal com (w)
http://www.inkstain.net http://www.abqjournal.com
http://www.gnome.org/learn/users-guide/latest/
"Not only isn't reality real - it's an illusion created by unreal people to
sell real people unnecesary cars." - Griffy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]