| Article: |
XML Document Validation with an XML Schema | |
| Subject: | I only get Errors :-/ | |
| Date: | 2005-03-25 10:27:31 | |
| From: | Jonas123 | |
|
Response to: I only get Errors :-/
|
||
|
Hi,
|
||
Showing messages 1 through 7 of 7.
-
I only get Errors :-/
2006-11-21 05:10:08 srivas2 [Reply | View]
I know that this happened a long time ago but could you tell me how you solved this problem? because i have a similar one using poseidon.
-
I only get Errors :-/
2005-03-25 10:38:35 Deepak Vohra [Reply | View]
BTW, which plugin is used to run a java application? -
I only get Errors :-/
2005-03-25 10:48:58 Deepak Vohra [Reply | View]
Add the xerces jar files to the System CLASSPATH. -
Not able to get it to work :(
2005-04-20 00:19:36 java_kid [Reply | View]
Inspite of my following all the given steps,
it is trying to validate the file from a DTD and gives me the following :
Parsing error: Document root element "catalog", must match DOCTYPE root "null".
Parsing error: Document is invalid: no grammar found.
Parsing completed with errors
Any idea what the problem could be??
-
Not able to get it to work :(
2005-04-20 14:10:39 Deepak Vohra [Reply | View]
Set the schema validation and schema validation full-checking features.
parser.setFeature("http://apache.org/xml/features/validation/schema",
true);
parser.setFeature("http://apache.org/xml/features/validation/schema-full-checking",
true);
Because the schema validation is not set the parser parses with a DTD which may not be specified.
-
Not able to get it to work :(
2005-04-20 14:09:52 Deepak Vohra [Reply | View]
Set the schema validation and schema validation full-checking features.
[code]parser.setFeature("http://apache.org/xml/features/validation/schema",
true);
parser.setFeature("http://apache.org/xml/features/validation/schema-full-checking",
true); [/code]
Because the schema validation is not set the parser parses with a DTD which may not be specified.
-
Not able to get it to work :(
2005-04-20 04:44:13 Deepak Vohra [Reply | View]
For which parser do you get the errors?
Xerces or JAXP?




