Re: question about SystemID of Document

> 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 UTC