Its because that is not a well defined EBCDIC code page actually. I think
that it has two different code tables on two different variations of IBM
OSes. This is some historic problem that the parser couldn't do anything
about, so it had to deal with it the best it could, which is by creating
encoding names that are unambiguous and enforcing use of those.

So the problem is that, if the parser is going to support one of these
ambiguous encodings, it must pick one table or the other. So if you give the
parser a file (a perfectly legal file according to your version of your IBM
OS) the parser might reject it as being illegal if the version of that
encoding the parser supported was the opposite one from what your OS uses.

Thus it ends up being an unwinnable situation, and so we ended up having to
step around it. You should use one of the unambiguous EBCDIC encoding names.

--------------------------
Dean Roddey
The Charmed Quark Controller
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com

"If it don't have a control port, don't buy it!"


----- Original Message -----
From: "Matthew Lovett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 03, 2001 8:25 AM
Subject: Why are some ebcdic codepages 'disallowed'?


>
> Hi all,
>
> I'm trying to parse a document with encoding 'ibm-37', using the ICU
> transcoder.  The ICU data dll I use does have an entry for ibm-37, but the
> code in TransService.cpp is never letting it get that far.  It seems that
> TransService has a list of encodings that it deliberately disallows:
>
> //  gDisallow1
> //  gDisallowX
> //      These area small set of encoding names that, for temporary
reasons,
> //      we disallow at this time.
> //
> //  gDisallowList
> //  gDisallowListSize
> //      An array of the disallow strings, for easier searching below.
> //
>
> Is there anything to stop me commenting out the code which implements this
> check?  Should I raise a bug report so that the code is chopped out of the
> next Xerces release?



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

Reply via email to