× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Gary,

<snip>
Looks like I have Xerxes and Xalan both on my system(OS/400 V5R2).

Do others have it, or did I download something special when I wasn't
looking..

I did WRKLNK /QIBM/ProdData/OS400/xml/lib
</snip>

When I said I've got Xerces and not Xalan, I was talking about the XML
toolkit being able to parse but not transform XML. I wasn't talking about
the apache java offerings. I consider this toolkit to have a very nice
screwdriver, but no hammer. :-)

To be honest, I don't think I've ever used the supplied xerces and xalan jar
files. I've always downloaded the latest jar files from apache and compiled
a level-40 java program from them.

 
<snip>
Also, Larry. Thanks for posting your observations regarding SAX.

In fact, if you wanted to post some sample code so the rest of us don't have
to find the prototype description errors you found, we'd be grateful.
</snip>


So far we've found the two following prototypes were missing a return type.
Not much use for getter methods. I compared these to the C header file and
set the appropriate type. We're currently in the process of testing the
service program and the procedure calls seem to work well. 

D QxmlSAXParser_getExternalNoNamespaceSchemaLocation...

D                 PR              *   EXTPROC('QxmlSAXParser_getExternalNo+

D                                     NamespaceSchemaLocation')

D  OBJ                            *   VALUE


D QxmlSAXParser_getErrorCount...

D                 PR            10I 0 EXTPROC('QxmlSAXParser_getErrorCount+

D                                     ')

D  OBJ                            *   VALUE

 

Also, the docs have references to the two following procedures:

setExternalSchemaLocation <classSAXParser.html>
getExternalSchemaLocation <classSAXParser.html> 

There is only a prototype defined for one in the included source file and
neither are exported procedures on the service program object. We are
currently using the latest (5.2) version. The source is in library
QXMLDEV520.

If you want ACTUAL code samples, just let me know and I'll send them to you.

Cheers

Larry


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.