| Author |
Error in validating xml file which has schema
|
SANJAY KUMAR
Greenhorn
Joined: Mar 27, 2002
Posts: 25
|
|
Hi All, I am trying to learn schema. I wrote one a.xml which includes a.xsd. WHen I am trying to validate xml using xerces parser, I am getting SchemaLocation: schemaLocation value = 'a.xsd' must have even number of URIs. error. This is entry from a.xml file <juicers xmlns ="." xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="a.xsd"> Any help is appreciated. Thanks
|
SCJP, SCWCD , SCBCD
|
 |
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
|
|
Try giving the namespace a prefix. - madhav
|
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
|
 |
 |
|
|
subject: Error in validating xml file which has schema
|
|
|