|
|
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):




|
|
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
|
|
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>
|
|
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)
|
|
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, ToniaFile Attachment(s):
docForAltova.sps (2kb) downloaded 1,262 time(s).
ForAltova.xsd (2kb) downloaded 1,189 time(s).
|
|
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.
|
|
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!
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
v2010 has been released now
|
|
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, ToniaFile 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).
|
|
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
|
|
|
guest |