You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by xe...@xml.apache.org on 2004/10/19 18:29:51 UTC

[jira] Closed: (XERCESC-424) DOMParser fails on OS/390 BATCH environment

Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-424

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-424
    Summary: DOMParser fails on OS/390 BATCH environment
       Type: Bug

     Status: Closed
 Resolution: WON'T FIX

    Project: Xerces-C++
 Components: 
             DOM
   Versions:
             1.4

   Assignee: 
   Reporter: Farhan Abbasi

    Created: Thu, 18 Apr 2002 10:11 PM
    Updated: Tue, 19 Oct 2004 9:29 AM
Environment: Operating System: Other
Platform: Other

Description:
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


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org