Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1712

Russian Locale ru_RU.iso88595 document parsing has a problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.8.0
    • SAX/SAX2
    • None
    • HPUX 11i , local = ru_RU.iso88595, Xereces C++

    Description

      Hello Developers,

      I work for BMC software and here is one bug we are experiencing with Russian locale on HPUX (11i). We are using 32 bit XML C++ parser version 2.6 for parsing the document. I am attaching the document. The Russian locale I have used is

      LANG=ru_RU.iso88595

      LC_ALL=ru_RU.iso88595

      Here is the stack trace where the error occurs.

      Some more info just to show that it is completely in the xerex parser

      (gdb) up

      #1 0xc7f80a6c in xercesc_2_6::SAX2XMLReaderImpl::error () from /usr/ar/headsup/bin/libxerces-cbmc.sl.26 -Error while scanning.

      (gdb) up

      #2 0xc80145e8 in xercesc_2_6::XMLScanner::emitError () from /usr/ar/headsup/bin/libxerces-cbmc.sl.26

      (gdb) up

      #3 0xc80156e0 in xercesc_2_6::XMLScanner::scanProlog () from /usr/ar/headsup/bin/libxerces-cbmc.sl.26

      (gdb) up

      #4 0xc7f3f60c in xercesc_2_6::IGXMLScanner::scanDocument () from /usr/ar/headsup/bin/libxerces-cbmc.sl.26

      (gdb) up

      #5 0xc7f7db50 in xercesc_2_6::SAX2XMLReaderImpl::parse () from /usr/ar/headsup/bin/libxerces-cbmc.sl.26

      (gdb) up

      #6 0x00682f88 in ParseXMLDocument (parserHandle=0x7a789094, xmlInputDoc=0x7a7890a8, objectsToParse=0x7a785344, parsedStream=0x7a789098, -à Got the doc

      parsedObjects=0x7a7890b0, appBlockNameList=0x0, status=0x7a786d54) at arxml.cpp:869

      869 arxml.cpp: No such file or directory.

      in arxml.cpp

      My question here is, if this is documented/known bug we are encountering which is fixed in 2.7? Or we may be missing something while configuring xml parser for Russian locale on HPUX? Or it is a user error in the given the document? Or you need some more information from my side for this?

      Attachments

        1. objstr_system.xml
          2.11 MB
          Ajay Kumar

        Activity

          People

            Unassigned Unassigned
            ajayara1 Ajay Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: