Hello,
Currently, we are using XML files which reference BOTH an XML Schema and an EXTERNAL DTD. The DTD in this case, contains ONLY character entity definitions. However, in running Xerces-C it does not appear to "see" the external DTD, and hence generates undefined entity parsing errors. As an example, here is what the top portion of one of our XML files looks like:
<><?xml version=”1.0” encoding=”utf-8”?>
<!DOCTYPE % Document [
<!ENTITY % mydtd SYSTEM “my.dtd”>
<!ENTITY file01.gif SYSTEM “file01.gif” NDATA gif>
….
<!NOTATION gif SYSTEM “gif”>
]>
<Document xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”; xsi:noNameSpaceSchemaLocation=”Document.xsd”>
Does anyone know how to resolve this problem? I know that I can always put the entity references in the top of each XML file. That works. But I’d rather not do that. Since defining the entities as I have above works in XML Spy for example.
Also, we are currently transforming files (such as the ones above) using Cocoon, and there are no parsing problems. Cocoon works great! Are there parsing differences in using Cocoon (which is Java based, right?) vs. using Xerces-C. Differences that would causing undefined entity errors, for example.
Also, is there a web site where Xerces-C mailing list questions are posted?
Thank you,
<>Greg Watson [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]