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

EXPAT service program which comes with HTTPAPI



Hi All,
I'm attempting to use the EXPAT service program which is supplied with
HTTPAPI, and I'm linking it to my program like so:

CRTPGM PGM(THEGMAN1/TESTEXPAT) MODULE(THEGMAN1/EXPATMAIN)
BNDSRVPGM(LIBHTTP/EXPAT)

I got the Expat header files from the source distribution of Expat,
and compiled one of the example programs which is supplied. All of
this went without incident, until I run the PGM, when it processes the
XML without error, but on the start element handler, it does not print
out either name or any of the element attributes, although it does
print out the depth in the XML tree of each element and no parse error
is given.

If I deliberately invalidate the XML, this is reported perfectly, so I
think the parser is working just fine, but the printing is not.

I'm doing all this in C, and my XML file is untouched UTF8, so at what
point can this text be converted to EBCDIC to get printed, does this
sound like the problem?

Any ideas what the problem is?

Thanks

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