Problem inserting entities into XML
Chapter 4 - DTDS's - "Try It Out - Making Contact, Part 4" - page 136
I have successfully run through the above exercise by downloading the code from the wrox.com website, however when I go to open either the contacts4.xml or contacts5.xml file in a web browser, it does not seem to be retrieving the entity data from the dtd files and inserting it into the XML document -
Using IE v9.08112.16421, the XML page loads, but the general entities are blank.
Using Firefox 8.0.1, I get the following error:
"XML Parsing Error: undefined entity
Line Number 3, Column 1:<contacts source="&source-text;" version="1.0">
The XML files, the DTD files and all of the entity files being referenced are in the same folder, and I haven't changed anything in the code, so just curious as to what I might be doing wrong. The XML validates and is well formed.