This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Saxon: no DTD, bad DTD generates no error, no output?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]