[
https://issues.apache.org/jira/browse/XERCESC-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513261
]
Alberto Massari commented on XERCESC-1712:
------------------------------------------
The fact that the error is reported by the scanProlog method could hint to an
unsupported encoding issue; how did you build Xerces? (i.e. which transcoder
are you using??)
Have you tried building Xerces using ICU?
Alberto
> Russian Locale ru_RU.iso88595 document parsing has a problem
> -------------------------------------------------------------
>
> Key: XERCESC-1712
> URL: https://issues.apache.org/jira/browse/XERCESC-1712
> Project: Xerces-C++
> Issue Type: Bug
> Components: SAX/SAX2
> Affects Versions: 2.6.0
> Environment: HPUX 11i , local = ru_RU.iso88595, Xereces C++
> Reporter: Ajay Kumar
> Fix For: 2.6.0
>
> Attachments: objstr_system.xml
>
>
> 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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]