This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Saxon: no DTD, bad DTD generates no error, no output?
- To: XSL-list <xsl-list at mulberrytech dot com>
- Subject: Saxon: no DTD, bad DTD generates no error, no output?
- From: "Randall J. Parr" <RParr at TemporalArts dot COM>
- Date: Wed, 23 Aug 2000 09:08:07 -0500
- Organization: TemporalArts
- Reply-To: xsl-list at mulberrytech dot com
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@TemporalArts.COM
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list