Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

"Bad Unicode escape sequence" error compiling JagMan generated (off-PB) Java file

2 posts in General Discussion (old) Last posting was on 2000-03-23 00:35:33.0Z
Victor Rasputnis Posted on 2000-03-22 23:45:13.0Z
Newsgroups: sybase.public.easerver
From: "Victor Rasputnis" <VictorRasputnis@writeme.com>
Subject: "Bad Unicode escape sequence" error compiling JagMan generated (off-PB) Java file
Date: Wed, 22 Mar 2000 18:45:13 -0500
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: bk01.bankofny.com 160.254.115.80
Message-ID: <347_7tXtYlFl$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25860
Article PK: 155895

Hello everyone.

While using PB components from my EJBs, I've been having the following
problems while compiling the off-PB Java code:
Here goes the snippet of the compiled listing with error
<<
package com.bny.sga;

/**
** Generated by Jaguar CTS 3.5 - Wed Mar 22 16:17:34 EST 2000
**
SC-6 Bad Unicode escape sequence.
** from Sga::u_report_retriever (file D:\Program Files\Sybase\Jaguar CTS
3.5\Repository\IDL\Sga\u_report_retriever.idl, line 31).
**
** Please do not modify this file.
**/
. . . . . . . . .
>>

There was a workaround, sure. I could add a copy of the JAVA file to my
target and modify THAT COPY only (in particular, deleting the offending
comment line).

Had that not been an issue I could simply add
%Jaguar%\html\classes\MyJavaPath to the compilation path and have my targets
much thinner.

Is there a cure for this problem?

Thanks,
Victor


Dave Wolf [Sybase] Posted on 2000-03-23 00:35:33.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: "Bad Unicode escape sequence" error compiling JagMan generated (off-PB) Java file
Date: Wed, 22 Mar 2000 19:35:33 -0500
Lines: 56
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: vpn-eme-038.sybase.com 130.214.8.38
Message-ID: <347_vlffSBGl$GA.298@forums.sybase.com>
References: <347_7tXtYlFl$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25856
Article PK: 155891

This is a bug in the JavaSoft compiler. The problem is that our comments
list the path to your NVO and are something like


.....\uo_

The compiler interprets the \u as a unicode character, even though its in
the comments. All I can suggest is either changing the name to not start
with a u, or editing the generated stubs to remove the \u. We have changed
our generators to use forward slashes now to avoid this JavaSoft bug.

Dave Wolf
Internet Applications Division

"Victor Rasputnis" <VictorRasputnis@writeme.com> wrote in message
news:7tXtYlFl$GA.201@forums.sybase.com...
> Hello everyone.
>
> While using PB components from my EJBs, I've been having the following
> problems while compiling the off-PB Java code:
> Here goes the snippet of the compiled listing with error
> <<
> package com.bny.sga;
>
> /**
> ** Generated by Jaguar CTS 3.5 - Wed Mar 22 16:17:34 EST 2000
> **
> SC-6 Bad Unicode escape sequence.
> ** from Sga::u_report_retriever (file D:\Program Files\Sybase\Jaguar
CTS
> 3.5\Repository\IDL\Sga\u_report_retriever.idl, line 31).
> **
> ** Please do not modify this file.
> **/
> . . . . . . . . .
> >>
>
> There was a workaround, sure. I could add a copy of the JAVA file to my
> target and modify THAT COPY only (in particular, deleting the offending
> comment line).
>
> Had that not been an issue I could simply add
> %Jaguar%\html\classes\MyJavaPath to the compilation path and have my
targets
> much thinner.
>
> Is there a cure for this problem?
>
> Thanks,
> Victor
>
>
>
>