次のような XML ファイル (diploma.xml) があります。
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE Diploma SYSTEM "diploma.dtd">
<Diploma>
&students;
&Registrations;
&Courses;
</Diploma>
そして、DTD は次のようになります。
<!ENTITY students SYSTEM "students.xml">
<!ENTITY Registrations SYSTEM "registrations.xml">
<!ENTITY Courses SYSTEM "courses.xml">
diploma.xml
IE8 で開こうとすると、他のすべての XML ファイルが適切に含まれますが、Firefox 3.5 では、&students;
定義されていないという構文エラーが発生します。どうしてこれなの?