Subject:command line StylusValidator can not find schema Author:Rosilyn Seay Date:17 Mar 2009 02:26 PM
when attempting to validate using command line and forcing a schema using command:
StylusValidator -schema myfile.xsd myfile.xml
I receive the error "document has no schema and cannot be validated". The schema exists. The xml validates against it if I use the GUI. If I do a directory on the schema file, exactly as it is in command line, the file shows up. However, apparently the validator can not find it.
Subject:command line StylusValidator can not find schema Author:(Deleted User) Date:02 Apr 2009 02:44 AM
it could be that the message is misleading; I cannot say it for sure without seeing the actual XML file, but I am inclined to think that the message it should have been printed is "your XML has validation errors".
Could you attach your sample files (or send them to stylus-field-report at progress.com) so that we can investigate further?