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 Christoffer Dam Bruun <cb...@systematic.dk> on 2001/06/25 17:09:54 UTC

Iconv390

Hi, 

We're in the process of getting xerces to compile on OS/390 Classic and have
run into the following
errors when trying compilation Iconv390TransService.cpp:

'SCSSE.XML.CPP(ICONV300)'", line 313.12: CBC1174(S) An object of abstract
class "Iconv390Transcoder" cannot be created.
 "SCSSE.XML.HPP(TRANSS00)", line 289.26: CBC1339(I)
"XMLTranscoder::transcodeFrom(const XMLByte*const,const unsigned
 int,XMLCh*const,const unsigned int,unsigned int&,unsigned char*const)" is
an undefined pure virtual function.
 "SCSSE.XML.HPP(TRANSS00)", line 299.26: CBC1339(I)
"XMLTranscoder::transcodeTo(const XMLCh*const,const unsigned
 int,XMLByte*const,const unsigned int,unsigned int&,const UnRepOpts)" is an
undefined pure virtual function.
 "SCSSE.XML.HPP(TRANSS00)", line 309.18: CBC1339(I)
"XMLTranscoder::canTranscodeTo(const unsigned int) const" is an
 undefined pure virtual function.
 CBC1793(I) Compilation failed for file //'SCSSE.XML.CPP(ICONV300)'.  Object
file not created

It seems that 3 virtual functions are not implemented for the
Iconv390Transcoder specialization of
XMLTranscoder.

Is it necessary that these functions are implementet ?

Is it af compiler quirk ?

Could we just implement them as:  {printf("XXX Not implemented!\n); exit 1;}
:-)
and see how far we got.  I do not have a OS390 at hand so the change,
compile, run iteration takes a while.

Should we try and steal some code from the OS400 port ?


regards.
Christoffer Bruun
email: cb@systematic.dk


---
Ed is the standard text editor.
If you use ed, you are on the path to redemption, the
so-calleds "visual" editors have been placed here by ed to tempt the 
faithless.  DO NOT GIVE IN!!!  THE MIGHTY ED HAS SPOKEN!!!


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


Re: Iconv390

Posted by Tinny Ng <tn...@ca.ibm.com>.
Chris,

Would you please open a Bugzilla bug for this problem?  You are right that these 3
virtual functions are missing.  See http://xml.apache.org/xerces-c/bug-report.html
for how to open a bug.

Just FYI, IBM has an XML toolkit for z/OS and OS/390 which is code based from
XML4C (i.e. Xerces-C built with ICU transcoder instead of Iconv).  Binary package
is available (you don't
need to build all these yourself).  See
http://www-1.ibm.com/servers/eserver/zseries/software/xml/ has more details.

Tinny

Tinny Ng wrote:

> Which version of Xerces-C are you using?  And what compiler option did you use?
>
> Tinny
>
> Christoffer Dam Bruun wrote:
>
> > Hi,
> >
> > We're in the process of getting xerces to compile on OS/390 Classic and have
> > run into the following
> > errors when trying compilation Iconv390TransService.cpp:
> >
> > 'SCSSE.XML.CPP(ICONV300)'", line 313.12: CBC1174(S) An object of abstract
> > class "Iconv390Transcoder" cannot be created.
> >  "SCSSE.XML.HPP(TRANSS00)", line 289.26: CBC1339(I)
> > "XMLTranscoder::transcodeFrom(const XMLByte*const,const unsigned
> >  int,XMLCh*const,const unsigned int,unsigned int&,unsigned char*const)" is
> > an undefined pure virtual function.
> >  "SCSSE.XML.HPP(TRANSS00)", line 299.26: CBC1339(I)
> > "XMLTranscoder::transcodeTo(const XMLCh*const,const unsigned
> >  int,XMLByte*const,const unsigned int,unsigned int&,const UnRepOpts)" is an
> > undefined pure virtual function.
> >  "SCSSE.XML.HPP(TRANSS00)", line 309.18: CBC1339(I)
> > "XMLTranscoder::canTranscodeTo(const unsigned int) const" is an
> >  undefined pure virtual function.
> >  CBC1793(I) Compilation failed for file //'SCSSE.XML.CPP(ICONV300)'.  Object
> > file not created
> >
> > It seems that 3 virtual functions are not implemented for the
> > Iconv390Transcoder specialization of
> > XMLTranscoder.
> >
> > Is it necessary that these functions are implementet ?
> >
> > Is it af compiler quirk ?
> >
> > Could we just implement them as:  {printf("XXX Not implemented!\n); exit 1;}
> > :-)
> > and see how far we got.  I do not have a OS390 at hand so the change,
> > compile, run iteration takes a while.
> >
> > Should we try and steal some code from the OS400 port ?
> >
> > regards.
> > Christoffer Bruun
> > email: cb@systematic.dk
> >
> > ---
> > Ed is the standard text editor.
> > If you use ed, you are on the path to redemption, the
> > so-calleds "visual" editors have been placed here by ed to tempt the
> > faithless.  DO NOT GIVE IN!!!  THE MIGHTY ED HAS SPOKEN!!!
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


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


Re: Iconv390

Posted by Tinny Ng <tn...@ca.ibm.com>.
Which version of Xerces-C are you using?  And what compiler option did you use?

Tinny

Christoffer Dam Bruun wrote:

> Hi,
>
> We're in the process of getting xerces to compile on OS/390 Classic and have
> run into the following
> errors when trying compilation Iconv390TransService.cpp:
>
> 'SCSSE.XML.CPP(ICONV300)'", line 313.12: CBC1174(S) An object of abstract
> class "Iconv390Transcoder" cannot be created.
>  "SCSSE.XML.HPP(TRANSS00)", line 289.26: CBC1339(I)
> "XMLTranscoder::transcodeFrom(const XMLByte*const,const unsigned
>  int,XMLCh*const,const unsigned int,unsigned int&,unsigned char*const)" is
> an undefined pure virtual function.
>  "SCSSE.XML.HPP(TRANSS00)", line 299.26: CBC1339(I)
> "XMLTranscoder::transcodeTo(const XMLCh*const,const unsigned
>  int,XMLByte*const,const unsigned int,unsigned int&,const UnRepOpts)" is an
> undefined pure virtual function.
>  "SCSSE.XML.HPP(TRANSS00)", line 309.18: CBC1339(I)
> "XMLTranscoder::canTranscodeTo(const unsigned int) const" is an
>  undefined pure virtual function.
>  CBC1793(I) Compilation failed for file //'SCSSE.XML.CPP(ICONV300)'.  Object
> file not created
>
> It seems that 3 virtual functions are not implemented for the
> Iconv390Transcoder specialization of
> XMLTranscoder.
>
> Is it necessary that these functions are implementet ?
>
> Is it af compiler quirk ?
>
> Could we just implement them as:  {printf("XXX Not implemented!\n); exit 1;}
> :-)
> and see how far we got.  I do not have a OS390 at hand so the change,
> compile, run iteration takes a while.
>
> Should we try and steal some code from the OS400 port ?
>
> regards.
> Christoffer Bruun
> email: cb@systematic.dk
>
> ---
> Ed is the standard text editor.
> If you use ed, you are on the path to redemption, the
> so-calleds "visual" editors have been placed here by ed to tempt the
> faithless.  DO NOT GIVE IN!!!  THE MIGHTY ED HAS SPOKEN!!!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


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