You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by S Page <sp...@macromedia.com> on 2001/05/04 07:03:25 UTC

validating input XML document in Xalan-J (follow-up)

I asked about Xalan-J's almost-support for validating documents.

In that message I also asked:

*  Otherwise, what's the simplest way to validate a document before invoking  org.apache.xalan.xslt.Process?



I figured out that the Xerces sample:
  java sax.SAX2Count -v problemfile.xml

will validate and report errors, though it doesn't seem to set the exit status ($? in UNIX).  That sample plus "Teach Yourself Java in 5 Hours" from Amazon should be enough ;o)

--
=S Page  a www.macromedia.com site engineer