logo       

Re: Error In Code (Sax Parsing): msg#00077

text.xml.xerces-c.user

Subject: Re: Error In Code (Sax Parsing)

Hello,


On 12/20/06, appleGuy <alx.curtis@xxxxxxxxx> wrote:[snip]
...


else {
//Load into New Derived Variable for
overloading & Safety
const char *XMLfile = token;

//Debug
cout << "Parsing: " << XMLfile << endl;

//ERROR WIPE -> NEEDS IMPLIMENTING

try {
parser->parse(XMLfile);



The argument to the parse method is the _path_ to the file you want to
parse, but looking at your code it seems to me that you expect it to be the
contents...

Try to removing the while loop and just call parser->parse("xml_file.xml")
...

Hope it helps


--
Ivan
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise