W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

Re: question about SystemID of Document

From: chaingun <jizhq@necas.nec.co.jp>
Date: Sun, 4 Nov 2001 15:51:46 +0900
Message-ID: <009801c164fd$2bef6fa0$820b1cac@NECAS.NEC.CO.JP>
To: <www-dom@w3.org>
> hello, everyone!
> I have a question about SystemID of DOCType in Document,
> is there any standard style about it?
>
> the following is a DOCType sample, but when I use DocumentBuilder
> to parse the XML file, it reports there an error about the DOCType of
> the XML file.
>
> <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
> JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd>
>

Additional information about this issue:

If I changed the DOCType to :
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN" "./ejb_jar_1_1.dtd">
and I create a file named ejb_jar_1_1.dtd in the current directory.
It works well.


> Is there anyone can give me some advices ?
>
>
> Chaingun
>
> Best regards !
>
>
Received on Sunday, 4 November 2001 02:52:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT