From: Sarah H. <sar...@ho...> - 2003-10-28 02:53:02
|
Hi, I am trying use the onsgmls to validate the a document against the DocBook XML DTD v4.2 using onsgmls #onsgmls -v onsgmls:I: "OpenSP" version "1.5" # onsgmls -c /usr/share/sgml/docbook/docbook-xml-4.2/docbook.cat -s testdoc.xml But I get the following error msg: onsgmls:testdoc.xml:2:103:E: URL not supported by this version onsgmls:testdoc.xml:2:103:E: DTD did not contain element declaration for document type name Here is my doctype decleration: <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://docbook.org/xml/4.2/docbookx.dtd"> If I use a system path instead of a URL, everything works fine. Any ideas on how to make it work with URLs? Thanks. Sarah _________________________________________________________________ Enjoy MSN 8 patented spam control and more with MSN 8 Dial-up Internet Service. Try it FREE for one month! http://join.msn.com/?page=dept/dialup |