IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Numbered List Options · View
kaliki123
Posted: Tuesday, September 8, 2009 3:40:29 PM
Rank: Advanced Member

Joined: 9/14/2007
Posts: 53
Location: Minnesota
I'm creating a numbered list but it doesn't seem to be working right. I'm using Stylevision version 2009 (can't use the new release until a bug is fixed).

Below, you will see my numbered dynamic list. It seems to add an extra number on the bottom of the list. Has anyone else run into this and if so, how did you work around it?

I even did a static one and had the same result.


kaliki123 attached the following image(s):
AttachedReportRTF.png
AttachedReports.png
AttachedReportsStatic.png
AttachedReportsStaticRTF.png

Rocco
Posted: Wednesday, September 16, 2009 1:14:31 PM
Rank: Advanced Member

Joined: 5/16/2009
Posts: 82
Hi kaliki123,

Could it be that the working XML file contains something more than "One more time" in "AttachedReport"? Maybe some special characters, CR...

Cheers
kaliki123
Posted: Thursday, September 17, 2009 2:46:51 PM
Rank: Advanced Member

Joined: 9/14/2007
Posts: 53
Location: Minnesota
No, the XML does not contain anything more. If you browse it in HTML, the list comes out perfect. It has to do with RTF. RTF always adds an extra number or bullet.

<AttachedReports>
<AttatchedReport>
<Report>Somthing<Report>
<AttatchedReport>
<AttatchedReport>
<Report>Another Something<Report>
<AttatchedReport>
<AttatchedReport>
<Report>One more time<Report>
<AttatchedReport>
<AttachedReports>
vlad
Posted: Thursday, September 17, 2009 2:50:46 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
It would be sooo much easier to answer your question if you would share with us your sample files (doesn't need to be some critical data or so)
kaliki123
Posted: Friday, September 18, 2009 10:38:06 AM
Rank: Advanced Member

Joined: 9/14/2007
Posts: 53
Location: Minnesota
vlad wrote:
It would be sooo much easier to answer your question if you would share with us your sample files (doesn't need to be some critical data or so)


I understand it would be easier. I just was asking if anyone else ran into this originally.

I created a very simple examples, a schema that isn't really needed but it's there. And a Stylevision document.

When looking at the Stylevision document, all you have to do is hit "Preview RTF" and you will see the numbered list adds 3. which is should not! If you hit "Preview HTML" it does not add this. Also, if you hit "Preview Word 2007" it does not add the extra number.

I'm assuming it may be a coding issue in Stylevision but I'm not 100% sure and was wondering if anyone else has run into this.

I should also add I'm using version 2009. I do not have the latest release due to bugs that will be fixed hopefully (already reported them) in the next release.

Thanks for looking at this,
Tonia

File Attachment(s):
docForAltova.sps (2kb) downloaded 1,262 time(s).
ForAltova.xsd (2kb) downloaded 1,189 time(s).


vlad
Posted: Friday, September 18, 2009 12:44:58 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
Oh, this was RTF specific? Your original post doesn't say anything about this.

Anyway - tried out with v2009sp1 and with internal v2010 (still in development stage) - no issues are reproducible.
kaliki123
Posted: Saturday, September 19, 2009 6:20:47 PM
Rank: Advanced Member

Joined: 9/14/2007
Posts: 53
Location: Minnesota
Thanks Vlad!

I suppose, you couldn't read my mind when I was trying to specify that it was RTF. Sorry that I forgot that important piece.

I can't wait for the new release and I'm hoping we will be able to use it!
vlad
Posted: Friday, October 30, 2009 2:01:03 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
v2010 has been released now
kaliki123
Posted: Friday, January 15, 2010 12:17:21 PM
Rank: Advanced Member

Joined: 9/14/2007
Posts: 53
Location: Minnesota
Thanks Vlad for letting me know V2010 was released. I love the new version. As for the numbered lists, it works great but there is one thing I need to fix and wondering someone could help.

I attached my stylesheet for you to see (Test.sps). When you hit "Preview RTF" there are 2 extra carriage returns after bullet 3. My users only want one carriage return.

I did try "Preview Word 2007" which only shows one carriage return. We are unable to use word 2007 yet and want to stick with RTF.

I have a feeling it's because it's in a table. I need it in a table for layout purposes, it needs to be tabbed over a little more than what it defaults to without a table. When I take out the table, it works as it should.

Any help would be appreciated.

Thanks,
Tonia

File Attachment(s):
Test.sps (6kb) downloaded 1,194 time(s).
Test.xsd (5kb) downloaded 1,237 time(s).
Test.xml (1kb) downloaded 1,275 time(s).


kaliki123
Posted: Thursday, January 21, 2010 11:37:28 AM
Rank: Advanced Member

Joined: 9/14/2007
Posts: 53
Location: Minnesota
I just thought I would let others know in case they are running into this issue that this is a bug.

32998: <newline/> as last child of table cell causes wrong behavior in StyleVision Design View, inconsistency in output

32645:
Bullets list inserted in static/dynamic table is incorrectly displayed in RTF output

https://www.altova.com/releasenotes/Default.aspx
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.