1.0.1 on WinNT
When I start DOMPrint on the samples\data\personal.xml in the output the
line regarding the DTD is missing.
<?xml version="1.0" encoding="ASCII"?>
<!DOCTYPE personnel SYSTEM "personal.dtd"> <-- missing
<!-- @version: -->
--------
I added some lines where the output should start (around 240)
// If the parse was successful, output the document data from the DOM
tree
if (!errorsOccured)
{
// DOM_Node doc = parser.getDocument();
// start insert
DOM_Document doc = parser.getDocument();
DOM_DocumentType
docType = doc.getDoctype(); // here fImpl => 0
DOMString
dtdName = docType.getName();
cout << dtdName << endl;
// end insert
cout << doc << endl;
}
But it doesn't work, as the getDoctype() returns a fImpl which is 0.
Am I making an error or is there a bug?
Best regards
Franz
\|/
o o
--^^-(_)-^^---------------
Franz W. E. Born Tel..: +(91) 80 / 50 62 21 6
SCS..: -3216
EMail: [EMAIL PROTECTED]
SCS A10 DU4-38