DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8280

DOMParser fails on OS/390 BATCH environment

           Summary: DOMParser fails on OS/390 BATCH environment
           Product: Xerces-C++
           Version: 1.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hello,
I would really appreciate if you could take a little time to see if you can help 
me with this problem.  

PROBLEM BACKGROUND:

*   We are using Xerces v 1.3 Binaries supplied by IBM for OS/390 V2R8.  
*   Our sample XML file is non-validating (simple) XML in the form of:
   <Address>
      <Street> 123 Market St. </Street>
      <Zip> 12345 </Zip>
   </Address>
*   We are simply trying to read an Xml file and get tag values from it. 
*   We comlpiled and linked our C++ code on Unix System Services for BATCH 
Environment. 
*   We used the OS/390 BATCH Binaries (IXM4C33) for link-edit step. 
*   We are running our Test program from Batch.
 
Here is our C++ code snapshot:
    ...

    DOMParser::ValSchemes  valScheme = DOMParser::Val_Always;        
    XMLPlatformUtils::Initialize(); 
    MemBufInputSource* memInputSrc =                                     
          new MemBufInputSource( (XMLByte*)pszXML, strlen( pszXML ), "", 
    parser.parse( *memInputSrc );                                        
    delete memInputSrc;                                                  
                                                                
    document = parser.getDocument();                                     
    cout<<"Got document"<<endl;                                          
    element = document.getDocumentElement();                             
    cout<<"Got element"<<endl;                                           
    nodeList  = element.getElementsByTagNameNS( "*", "*");               
    cout<<"Got m_NodeList"<<endl;                                        
                       
    ...                                                      
                                  



PROBLEM:
DOM_Element::getElementsByTagNamesNS() causes a protection exception at offset 
(+000068) when we try to get DOM_NodeList from root element.

Has anyone ever encountered this? If so, how did you work arround it?
Are there updated Binaries available for OS/390 v2r8? OR 
Has anyone attempted to Compile the Xerces v1.6 on OS/390 USS? if so, can you 
give me some pointers as to how to go about building Xerces?

Lastly,  I appologize for posting it as a bug, although it sounds like it might 
be a Client Program issue.  I could not find anyother source for help.

Your time and efforts are greatly appriciated.

Sincerely,

Farhan Abbasi
Systems Integrator
Promenix, Inc.
(610) 361-1560

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to