Dear all,

I have a stylesheet which relies on default attributes specified in the 
dtd, specified in the DOCTYPE of an input xml document.  Using testXSLT 
with v1.1 this worked.  Now it doesn't.  (It only looks at attributes 
explicitly written in the input document.)

I have tried using the -VALIDATE argument.  However my XSL document doesn't 
have a DTD.  Is this the reason?  Is there anyway to only validate the xml 
document? (From command line or through the API.)  There seems to be no 
difference when using the -VALIDATE option.  There are never any errors 
thrown up even when the XML document is invalid (but still well formed).

Validation using xerces samples works.  (e.g sax2count -v=always will throw 
up errors if the xml is invalid.)

I'm using Win98 which Xalan doesn't explicitly support.  Could it be 
causing a problem here?

Many thanks,

Paul Emberson

Reply via email to