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.

DocCommentXchange web site issue

8 posts in General Discussion (old) Last posting was on 2010-07-28 14:00:41.0Z
David Kerber <ns_dkerber Posted on 2010-07-22 14:31:17.0Z
From: David Kerber <ns_dkerber@ns_warrenrogersassociates.com>
Newsgroups: sybase.public.sqlanywhere
Subject: DocCommentXchange web site issue
Message-ID: <MPG.26b2204354b014dd9896c1@forums.sybase.com>
Organization: Warren Rogers Associates
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.9.15
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 22 Jul 2010 07:31:17 -0700
X-Trace: forums-1-dub 1279809077 10.22.241.152 (22 Jul 2010 07:31:17 -0700)
X-Original-Trace: 22 Jul 2010 07:31:17 -0700, vip152.sybase.com
Lines: 21
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere:356
Article PK: 866775

When I use firefox 3.6.7 to go to:

http://dcx.sybase.com/index.html#1200en/dbreference/create-spatial-
reference-system-statement.html

I have the TOC on the left, the large reading pane on the upper right,
and a small (height-wise) frame at the lower left.

The reading frame doesn't wrap at the correct place, and much of the
text is off the right end of the window. When I extend my browser
window to almost the entire width of my screen (which is set to
1680x1050), the bottom scroll bar disappears and it then start wrapping
properly.

Interestingly, the bottom (comments pane) seems to be fine.

It looks like the reading frame isn't properly allowing for the width of
the left-side frame.

Any suggestions to correct this? Or is it a web site issue?


Phil Mitchell [Sybase iAnywhere] Posted on 2010-07-22 15:27:40.0Z
From: "Phil Mitchell [Sybase iAnywhere]" <firstname.lastname@sybase.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Lightning/1.0b1 Thunderbird/3.0.4
MIME-Version: 1.0
Newsgroups: sybase.public.sqlanywhere
Subject: Re: DocCommentXchange web site issue
References: <MPG.26b2204354b014dd9896c1@forums.sybase.com>
In-Reply-To: <MPG.26b2204354b014dd9896c1@forums.sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4c48636c$1@forums-1-dub>
Date: 22 Jul 2010 08:27:40 -0700
X-Trace: forums-1-dub 1279812460 10.22.241.152 (22 Jul 2010 08:27:40 -0700)
X-Original-Trace: 22 Jul 2010 08:27:40 -0700, vip152.sybase.com
Lines: 36
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere:357
Article PK: 866777

I see the same thing. It appears to be caused by this long line:

> | ELLIPSOID SEMI MAJOR AXIS semi-major-axis-length { SEMI MINOR AXIS semi-minor-axis-length | INVERSE FLATTENING inverse-flattening-ratio }

This is inside a <pre> tag, so the browser can't wrap it. Instead, it
forces the width of the frame out.

It's not really a problem with either your browser or the app. The page
is just really wide because of this one line.

Cheers,
Phil

On 07/22/2010 10:31 AM, David Kerber wrote:
> When I use firefox 3.6.7 to go to:
>
> http://dcx.sybase.com/index.html#1200en/dbreference/create-spatial-
> reference-system-statement.html
>
> I have the TOC on the left, the large reading pane on the upper right,
> and a small (height-wise) frame at the lower left.
>
> The reading frame doesn't wrap at the correct place, and much of the
> text is off the right end of the window. When I extend my browser
> window to almost the entire width of my screen (which is set to
> 1680x1050), the bottom scroll bar disappears and it then start wrapping
> properly.
>
> Interestingly, the bottom (comments pane) seems to be fine.
>
> It looks like the reading frame isn't properly allowing for the width of
> the left-side frame.
>
> Any suggestions to correct this? Or is it a web site issue?
>


David Kerber <ns_dkerber Posted on 2010-07-22 16:34:56.0Z
From: David Kerber <ns_dkerber@ns_warrenrogersassociates.com>
Newsgroups: sybase.public.sqlanywhere
Subject: Re: DocCommentXchange web site issue
Message-ID: <MPG.26b23d36543ed819896c2@forums.sybase.com>
References: <MPG.26b2204354b014dd9896c1@forums.sybase.com> <4c48636c$1@forums-1-dub>
Organization: Warren Rogers Associates
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.9.15
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 22 Jul 2010 09:34:56 -0700
X-Trace: forums-1-dub 1279816496 10.22.241.152 (22 Jul 2010 09:34:56 -0700)
X-Original-Trace: 22 Jul 2010 09:34:56 -0700, vip152.sybase.com
Lines: 17
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere:358
Article PK: 866776

In article <4c48636c$1@forums-1-dub>, firstname.lastname@sybase.com
says...

>
> I see the same thing. It appears to be caused by this long line:
>
> > | ELLIPSOID SEMI MAJOR AXIS semi-major-axis-length { SEMI MINOR AXIS semi-minor-axis-length | INVERSE FLATTENING inverse-flattening-ratio }
>
> This is inside a <pre> tag, so the browser can't wrap it. Instead, it
> forces the width of the frame out.
>
> It's not really a problem with either your browser or the app. The page
> is just really wide because of this one line.

So it's actually just poorly written HTML ;-) (Which is what I really
meant when I said "web site issue").

D


Breck Carter [TeamSybase] Posted on 2010-07-25 15:47:01.0Z
From: "Breck Carter [TeamSybase]" <NOSPAM__breck.carter@gmail.com>
Newsgroups: sybase.public.sqlanywhere
Subject: Re: DocCommentXchange web site issue
Organization: RisingRoad Professional Services
Reply-To: NOSPAM__breck.carter@gmail.com
Message-ID: <uvmo46th71a6codqih4mek94rsq852ctdl@4ax.com>
References: <MPG.26b2204354b014dd9896c1@forums.sybase.com> <4c48636c$1@forums-1-dub> <MPG.26b23d36543ed819896c2@forums.sybase.com>
X-Newsreader: Forte Agent 2.0/32.640
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 25 Jul 2010 08:47:01 -0700
X-Trace: forums-1-dub 1280072821 10.22.241.152 (25 Jul 2010 08:47:01 -0700)
X-Original-Trace: 25 Jul 2010 08:47:01 -0700, vip152.sybase.com
Lines: 39
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere:359
Article PK: 866778

> poorly written HTML

Perhaps a slick widget could be used so the SQL snippet has its own
horizontal scroll bar.


On 22 Jul 2010 09:34:56 -0700, David Kerber

<ns_dkerber@ns_warrenrogersassociates.com> wrote:

>In article <4c48636c$1@forums-1-dub>, firstname.lastname@sybase.com
>says...
>>
>> I see the same thing. It appears to be caused by this long line:
>>
>> > | ELLIPSOID SEMI MAJOR AXIS semi-major-axis-length { SEMI MINOR AXIS semi-minor-axis-length | INVERSE FLATTENING inverse-flattening-ratio }
>>
>> This is inside a <pre> tag, so the browser can't wrap it. Instead, it
>> forces the width of the frame out.
>>
>> It's not really a problem with either your browser or the app. The page
>> is just really wide because of this one line.
>
>So it's actually just poorly written HTML ;-) (Which is what I really
>meant when I said "web site issue").
>
>D

--
Breck Carter

Visit SQLA! ...the new SQL Anywhere online community
http://sqla.stackexchange.com

Blog: http://sqlanywhere.blogspot.com/

RisingRoad helps SQL Anywhere developers make better databases...
http://www.risingroad.com/

Breck.Carter at gmail


Laura Nevin Posted on 2010-07-26 16:04:53.0Z
From: "Laura Nevin" <Laura.Nevin@iAnywhere.com>
Newsgroups: sybase.public.sqlanywhere
References: <MPG.26b2204354b014dd9896c1@forums.sybase.com>
Subject: Re: DocCommentXchange web site issue
Lines: 52
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4c4db225@forums-1-dub>
Date: 26 Jul 2010 09:04:53 -0700
X-Trace: forums-1-dub 1280160293 10.22.241.152 (26 Jul 2010 09:04:53 -0700)
X-Original-Trace: 26 Jul 2010 09:04:53 -0700, vip152.sybase.com
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere:360
Article PK: 866780

Hi David,

The width of the page is impacted by the last line of the example at the
bottom of the page, which is quite a bit longer than anything else on the
page. We (the doc team) don't put extraneous line breaks into our examples
because linebreaks often hamper the user's ability to copy/paste/run the
examples. However, I have just tested breaking the troublesome line and the
CREATE statement seemed to work fine in Interactive SQL. So, I will add a
line break to the last line of the example in the docs for our next doc
release.

You'll find other examples in the docs where the page size does this,
though, and where we can't introduce line breaks to fix it because it will
break the copy/paste-ability of the example. You'll have to excuse those
instances. It's not bad-HTML, it's our attempt to keep examples working. :)

Feel free to post DCX comments directly on the DCX page you are viewing,
too. You just use your Sybase login to sign in.

Thanks for letting us know about this!

Laura Nevin
Manager, SQL Anywhere Doc Team


I'll see whether we can introduce line breaks into the TRANSFORM DEFINITION
clause in the example, and still

"David Kerber" <ns_dkerber@ns_warrenrogersassociates.com> wrote in message
news:MPG.26b2204354b014dd9896c1@forums.sybase.com...
> When I use firefox 3.6.7 to go to:
>
> http://dcx.sybase.com/index.html#1200en/dbreference/create-spatial-
> reference-system-statement.html
>
> I have the TOC on the left, the large reading pane on the upper right,
> and a small (height-wise) frame at the lower left.
>
> The reading frame doesn't wrap at the correct place, and much of the
> text is off the right end of the window. When I extend my browser
> window to almost the entire width of my screen (which is set to
> 1680x1050), the bottom scroll bar disappears and it then start wrapping
> properly.
>
> Interestingly, the bottom (comments pane) seems to be fine.
>
> It looks like the reading frame isn't properly allowing for the width of
> the left-side frame.
>
> Any suggestions to correct this? Or is it a web site issue?
>


Breck Carter [TeamSybase] Posted on 2010-07-27 11:21:03.0Z
From: "Breck Carter [TeamSybase]" <NOSPAM__breck.carter@gmail.com>
Newsgroups: sybase.public.sqlanywhere
Subject: Re: DocCommentXchange web site issue
Organization: RisingRoad Professional Services
Reply-To: NOSPAM__breck.carter@gmail.com
Message-ID: <l4gt465v0llg7ne1qu99fh47tkqn1k12kc@4ax.com>
References: <MPG.26b2204354b014dd9896c1@forums.sybase.com> <4c4db225@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.640
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 27 Jul 2010 04:21:03 -0700
X-Trace: forums-1-dub 1280229663 10.22.241.152 (27 Jul 2010 04:21:03 -0700)
X-Original-Trace: 27 Jul 2010 04:21:03 -0700, vip152.sybase.com
Lines: 80
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere:362
Article PK: 866779

I recommend this gadget:
http://sqlanywhere.blogspot.com/2009/04/alex-gorbatchevs-syntaxhighlighter.html

Glenn Paulley also has a code gadget on his blog.

As you say, displaying code as-is is very important, letting it wrap
automatically is just not acceptable... but at the same time allowing
code to force the w i d e n i n g of the page is also not acceptable.

Breck



On 26 Jul 2010 09:04:53 -0700, "Laura Nevin"

<Laura.Nevin@iAnywhere.com> wrote:

>Hi David,
>
>The width of the page is impacted by the last line of the example at the
>bottom of the page, which is quite a bit longer than anything else on the
>page. We (the doc team) don't put extraneous line breaks into our examples
>because linebreaks often hamper the user's ability to copy/paste/run the
>examples. However, I have just tested breaking the troublesome line and the
>CREATE statement seemed to work fine in Interactive SQL. So, I will add a
>line break to the last line of the example in the docs for our next doc
>release.
>
>You'll find other examples in the docs where the page size does this,
>though, and where we can't introduce line breaks to fix it because it will
>break the copy/paste-ability of the example. You'll have to excuse those
>instances. It's not bad-HTML, it's our attempt to keep examples working. :)
>
>Feel free to post DCX comments directly on the DCX page you are viewing,
>too. You just use your Sybase login to sign in.
>
>Thanks for letting us know about this!
>
>Laura Nevin
>Manager, SQL Anywhere Doc Team
>
>
>I'll see whether we can introduce line breaks into the TRANSFORM DEFINITION
>clause in the example, and still
>"David Kerber" <ns_dkerber@ns_warrenrogersassociates.com> wrote in message
>news:MPG.26b2204354b014dd9896c1@forums.sybase.com...
>> When I use firefox 3.6.7 to go to:
>>
>> http://dcx.sybase.com/index.html#1200en/dbreference/create-spatial-
>> reference-system-statement.html
>>
>> I have the TOC on the left, the large reading pane on the upper right,
>> and a small (height-wise) frame at the lower left.
>>
>> The reading frame doesn't wrap at the correct place, and much of the
>> text is off the right end of the window. When I extend my browser
>> window to almost the entire width of my screen (which is set to
>> 1680x1050), the bottom scroll bar disappears and it then start wrapping
>> properly.
>>
>> Interestingly, the bottom (comments pane) seems to be fine.
>>
>> It looks like the reading frame isn't properly allowing for the width of
>> the left-side frame.
>>
>> Any suggestions to correct this? Or is it a web site issue?
>>
>

--
Breck Carter

Visit SQLA! ...the new SQL Anywhere online community
http://sqla.stackexchange.com

Blog: http://sqlanywhere.blogspot.com/

RisingRoad helps SQL Anywhere developers make better databases...
http://www.risingroad.com/

Breck.Carter at gmail


Laura Nevin Posted on 2010-07-28 14:00:41.0Z
From: "Laura Nevin" <Laura.Nevin@iAnywhere.com>
Newsgroups: sybase.public.sqlanywhere
References: <MPG.26b2204354b014dd9896c1@forums.sybase.com> <4c4db225@forums-1-dub> <l4gt465v0llg7ne1qu99fh47tkqn1k12kc@4ax.com>
Subject: Re: DocCommentXchange web site issue
Lines: 105
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4c503809$1@forums-1-dub>
Date: 28 Jul 2010 07:00:41 -0700
X-Trace: forums-1-dub 1280325641 10.22.241.152 (28 Jul 2010 07:00:41 -0700)
X-Original-Trace: 28 Jul 2010 07:00:41 -0700, vip152.sybase.com
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere:364
Article PK: 866782

Thanks for the suggestions!

We cannot eliminate <pre> tags because we need the whitespacing to allow us
to format examples for ease of reading (indenting clauses, aligning syntax
elements). We have been reluctant to introduce scroll bars for snippets
because it is also annoying to users to not be able to see the entire
snippet at once when learning something - especially if/when only a few
lines or characters are outside the viewable area.

All this being said, perhaps we can look at special handling of wide
code/example snippets such as this (e.g., if width is more than X columns
use the scrolling widget).

I'll raise it with the rest of the DCX team.

"Breck Carter [TeamSybase]" <NOSPAM__breck.carter@gmail.com> wrote in
message news:l4gt465v0llg7ne1qu99fh47tkqn1k12kc@4ax.com...
>I recommend this gadget:
> http://sqlanywhere.blogspot.com/2009/04/alex-gorbatchevs-syntaxhighlighter.html
>
> Glenn Paulley also has a code gadget on his blog.
>
> As you say, displaying code as-is is very important, letting it wrap
> automatically is just not acceptable... but at the same time allowing
> code to force the w i d e n i n g of the page is also not acceptable.
>
> Breck
>
>
>
> On 26 Jul 2010 09:04:53 -0700, "Laura Nevin"
> <Laura.Nevin@iAnywhere.com> wrote:
>
>>Hi David,
>>
>>The width of the page is impacted by the last line of the example at the
>>bottom of the page, which is quite a bit longer than anything else on the
>>page. We (the doc team) don't put extraneous line breaks into our examples
>>because linebreaks often hamper the user's ability to copy/paste/run the
>>examples. However, I have just tested breaking the troublesome line and
>>the
>>CREATE statement seemed to work fine in Interactive SQL. So, I will add a
>>line break to the last line of the example in the docs for our next doc
>>release.
>>
>>You'll find other examples in the docs where the page size does this,
>>though, and where we can't introduce line breaks to fix it because it will
>>break the copy/paste-ability of the example. You'll have to excuse those
>>instances. It's not bad-HTML, it's our attempt to keep examples working.
>>:)
>>
>>Feel free to post DCX comments directly on the DCX page you are viewing,
>>too. You just use your Sybase login to sign in.
>>
>>Thanks for letting us know about this!
>>
>>Laura Nevin
>>Manager, SQL Anywhere Doc Team
>>
>>
>>I'll see whether we can introduce line breaks into the TRANSFORM
>>DEFINITION
>>clause in the example, and still
>>"David Kerber" <ns_dkerber@ns_warrenrogersassociates.com> wrote in message
>>news:MPG.26b2204354b014dd9896c1@forums.sybase.com...
>>> When I use firefox 3.6.7 to go to:
>>>
>>> http://dcx.sybase.com/index.html#1200en/dbreference/create-spatial-
>>> reference-system-statement.html
>>>
>>> I have the TOC on the left, the large reading pane on the upper right,
>>> and a small (height-wise) frame at the lower left.
>>>
>>> The reading frame doesn't wrap at the correct place, and much of the
>>> text is off the right end of the window. When I extend my browser
>>> window to almost the entire width of my screen (which is set to
>>> 1680x1050), the bottom scroll bar disappears and it then start wrapping
>>> properly.
>>>
>>> Interestingly, the bottom (comments pane) seems to be fine.
>>>
>>> It looks like the reading frame isn't properly allowing for the width of
>>> the left-side frame.
>>>
>>> Any suggestions to correct this? Or is it a web site issue?
>>>
>>
>
> --
> Breck Carter
>
> Visit SQLA! ...the new SQL Anywhere online community
> http://sqla.stackexchange.com
>
> Blog: http://sqlanywhere.blogspot.com/
>
> RisingRoad helps SQL Anywhere developers make better databases...
> http://www.risingroad.com/
>
> Breck.Carter at gmail


David Kerber <ns_dkerber Posted on 2010-07-26 16:53:09.0Z
From: David Kerber <ns_dkerber@ns_warrenrogersassociates.com>
Newsgroups: sybase.public.sqlanywhere
Subject: Re: DocCommentXchange web site issue
Message-ID: <MPG.26b7876d75cd20ad9896c3@forums.sybase.com>
References: <MPG.26b2204354b014dd9896c1@forums.sybase.com> <4c4db225@forums-1-dub>
Organization: Warren Rogers Associates
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.9.15
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 26 Jul 2010 09:53:09 -0700
X-Trace: forums-1-dub 1280163189 10.22.241.152 (26 Jul 2010 09:53:09 -0700)
X-Original-Trace: 26 Jul 2010 09:53:09 -0700, vip152.sybase.com
Lines: 25
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere:361
Article PK: 866781

In article <4c4db225@forums-1-dub>, Laura.Nevin@iAnywhere.com says...

>
> Hi David,
>
> The width of the page is impacted by the last line of the example at the
> bottom of the page, which is quite a bit longer than anything else on the
> page. We (the doc team) don't put extraneous line breaks into our examples
> because linebreaks often hamper the user's ability to copy/paste/run the
> examples. However, I have just tested breaking the troublesome line and the
> CREATE statement seemed to work fine in Interactive SQL. So, I will add a
> line break to the last line of the example in the docs for our next doc
> release.
>
> You'll find other examples in the docs where the page size does this,
> though, and where we can't introduce line breaks to fix it because it will
> break the copy/paste-ability of the example. You'll have to excuse those
> instances. It's not bad-HTML, it's our attempt to keep examples working. :)

Can't you just drop the <PRE> tag, and let the user's browser wrap the
line wherever it needs to? IME, that often doesn't affect the ability
of code samples to run. Or embed another frame with its own scrollbars
to contain the executable code.


D