Re: [xml] xmlcatalog translating DTD PUBLIC identifier as filename in MSYS shell
- From: John Brown <johnbrown_105 yahoo com>
- To: "xml gnome org" <xml gnome org>
- Subject: Re: [xml] xmlcatalog translating DTD PUBLIC identifier as filename in MSYS shell
- Date: Sat, 26 Jan 2013 07:04:59 -0800 (PST)
Hello LRN,
In a CMD.exe command prompt:
C:\Users\John\Downloads\Open_Source>
xmlcatalog c:/mingw/msys/1.0/etc/xm l/catalog "-//OASIS//DTD
DocBook XML V4.1.2//EN"
file:///c:/mingw/local/share/xml/docbook-xml-4.1.2/docbookx.dtd
In a MSYS shell:
$ xmlcatalog -v -v "c:/mingw/msys/1.0/etc/xml/catalog"
"-//OASIS//DTD DocBook XML V4.1.2//EN" Resolve pubID
[2] No entry
for PUBLIC -/C:/MinGW/msys/1.0/OASIS/DTD DocBook XML V4.1.2/EN
Note what happens in [2] - the public identifier
is treated as a MSYS filename, so //OASIS//DTD DocBook XML V4.5//EN
becomes /C:/MinGW/msys/1.0/OASIS/DTD DocBook XML V4.1.2/EN
I'm fixing this by renaming /mingw/bin/xmlcatalog.exe to
/mingw/bin/mingw32-xmlcatalog.exe and using /usr/bin/xmlcatalog.exe
instead. Since /usr/bin/xmlcatalog.exe is a MSys application, it does
not have path mangling problems.
It works,and I can even use '/etc/xml/catalog' as the filename
instead of 'c:/mingw/msys/1.0/etc/xml/catalog'. Thanks.
Regards,
John Brown.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]