Subject: Saxon: no DTD, bad DTD generates no error, no output?
From: "Randall J. Parr" <RParr@xxxxxxxxxxxxxxxx>
Date: Wed, 23 Aug 2000 09:08:07 -0500
|
Using Saxon 5.4.1 Java API with Sun JDK 1.2.2 on RedHat Linux 6.0 (with
updates) with default parser, etc.
Trying to right a very simple "identity"Java utilty that reads an XML
file and copies/writes the results on stdout (ie System.out).
IF
the source XML file has no <DOCTYPE .... >
or the the souce XML file has a <DOCTYPE ...> but the source is
invalid for the referenced DTD
THEN
no errors are generated
no output is generated
Is this correct?
If it is correct, how do I :
1) generate an error/warning if requiste DTD is missing/bad
or
2) get output when I don't have a DTD
Thanks
R.Parr
Temporal Arts
330 S. Yellowstone Drive, Suite 3
Madison, WI 53705, U.S.A.
608.833.4578
RParr@xxxxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|