K
Kiwi
Hello.
I have a silly XML file and a silly DTD called http://foo/bar/a.xml
and http://foo/bar/a.dtd respectively. They can be validated with
http://validator.w3.org/.
a.xml is as below.
<!DOCTYPE a SYSTEM "http://foo/bar/a.dtd">
<a/>
a.dtd is as below.
<!ELEMENT a EMPTY>
But when I modified "http://foo/bar/a.dtd" to "a.dtd" and validated
them again, I was told 'Fatal Error: cannot find "a.dtd"; tried.'
I think I just used relative URI instead of absolute one where
SystemLiteral was expected. What was wrong?
Thank you.
I have a silly XML file and a silly DTD called http://foo/bar/a.xml
and http://foo/bar/a.dtd respectively. They can be validated with
http://validator.w3.org/.
a.xml is as below.
<!DOCTYPE a SYSTEM "http://foo/bar/a.dtd">
<a/>
a.dtd is as below.
<!ELEMENT a EMPTY>
But when I modified "http://foo/bar/a.dtd" to "a.dtd" and validated
them again, I was told 'Fatal Error: cannot find "a.dtd"; tried.'
I think I just used relative URI instead of absolute one where
SystemLiteral was expected. What was wrong?
Thank you.