[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

httpapi.XML parse problem



Scott,

I tried to parse http://www.scottklement.com/httpapi/httpapi.xml using:
        if (http_parse_xml_stmf( filename
                               : HTTP_XML_CALC
                               : *null
                               : %paddr(Incoming)
                               : *null ) < 0 );     
And received the following in the debug file.

HTTPAPI Ver 1.23 released 2008-04-24

OS/400 Ver V5R4M0

 

SetError() #66: XML parse failed at line 71, col 0: not well-formed (invalid
token)

For comparison, I downloaded http://home.alltel.net/craigru/jcrcmds.zip,
unzipped the file and parsed that xml (jcrcmds.txt) without a problem.

Neither IE 7 nor Firefox 3 could correctly parse httpapi.xml on my PC.

Could you check your XMLGEN command and see if it needs an update?

Mike Krebs

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------