I guess you might need to specify the names of the XML elements from your real XML file into the XMl Parser that you are using... It seems like upir XML validation parser is trying to parse the element with the default element and the elements in your real XML file are different from those default elements... That's why you are getting such exceptions thrown from the application...
I used to face such problem with XML parsing stuff, when I tried to download the tutorial from OnJava.com, compiled as it was and I got a bunch of exceptions like that... When I adapted the elemments of my XML file with the downloaded tutorial, it worked well... So I just would like you to have a look at how the XML validation utility works for your application and figure the way out...
Tnx for the answer, but... I'm rather new at all this, so I have no idea how to check out your suggestions... I guess my XML parser is dat Xerces thing? or I18n?
Edit, ok is Xerces I'll look into it now, yet I have no idea what exactly to look for
Any more help is appreciated! [ December 14, 2004: Message edited by: Ritchie Warsi ]
Ko Ko Naing
Joined: Jun 08, 2002
Originally posted by Ritchie Warsi: Tnx for the answer, but... I'm rather new at all this, so I have no idea how to check out your suggestions... I guess my XML parser is dat Xerces thing? or I18n?
Yeah, I guess the XML Parser could be in org.apache.xerces.util package... You might need to consult with the manual or documentation available coming along with the package... Since I've never used that package before, I have no idea how to tell you exactly where the error could be located...
Sorry for that... I hope you'll find the solution, if you consult the documentation of that package. As far as I have experience with other Apache projects, they got really good documentation... You'll find them easy to read and understand...