[xml] xmllint --valid failed with windows binary(2.7.6)
- From: çå åä <hsegawa saj co jp>
- To: <xml gnome org>
- Subject: [xml] xmllint --valid failed with windows binary(2.7.6)
- Date: Sat, 6 Feb 2010 18:46:49 +0900
Hello,
I tried following version and they finished in success.
* libxml2 v2.7.3(windows binary)
* libxml2 v2.7.6(compiled from source on cygwin 1.7.1)
But I got the following error message when I ran xmllint 2.7.6 with windows
binary.
Is there something changed by v2.7.6?
My environment:
Windows XP
libxml2 version2.7.6
(downloaded from
http://xmlsoft.org/sources/win32/libxml2-2.7.6.win32.zip)
No environment variable SGML_CATALOG_FILES nor XML_CATALOG_FILES
Command:
xmllint --noout --valid test.xml
-- test .xml start --
<?xml version="1.0" ?>
<!DOCTYPE article
PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article>
<title>TEST</title>
<para>TEST</para>
</article>
-- test .xml end --
-- error message start --
test.xml:2: warning: failed to load external entity
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
test.xml:3: validity error : Validation failed: no DTD found !
<article>
-- error message end --
Regards,
Hiroto Segawa
çå åä
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]