• Post Reply Bookmark Topic Watch Topic
  • New Topic

xerces question about parsing  RSS feed

 
kevin comario
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a parser DomParser with xerces and was wondering if i could specify a schema to validate my xml document from within my code not by refrencing it the the xml doc. I keep getting this warning which i dont understand.
I an using xerces and use this code to try to refrence the schema from within my code:

Warning: org.xml.sax.SAXParseException: http://www.w3.org/TR/xml-schema-1#cvc-datatype-valid.1.2.1?C:\Weather
.xsd&anyURI
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!