Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML - Cannot find the declaration of the element ....

 
Roger F. Gay
Ranch Hand
Posts: 408
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I set up an XML file reader that validates using schema, then wanted to add some simple xml files to my application that do not have schema. I seem to be having difficulty turning schema checking off completely. I keep getting an error that says "Cannot find the declaration of the element 'plan'." I've been googling on this for some time, and everything I've found talks about a schema validation error.

Here's a sample xml file:


Here's the code I've been trying to get to work with it.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic