Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: gif, jpg, png, txt, tpl, lng, ini, pvd, psf, ini, cfg, csv, zip, xml, pas, 7z
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the best video database software?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: goddert
« on: March 17, 2012, 07:06:08 pm »

Not only expandable sections. All kind of sections. It's very annoying not being able to put comments while one has to fear the layout of a skin could be destroyed.  :(
Can this be resolved with next version, please.
Posted by: goddert
« on: March 14, 2012, 08:59:15 am »

I did some further test and the problem seems not to be tag related but a general problem of the column tag in expandable sections like <expandsection> or <astreams>. Every comment before a <column> in one of these sections corrupts the alignment of the column or the data inside which should show up but doesn't.
Posted by: goddert
« on: March 13, 2012, 10:08:39 pm »

Hello,

I have some problems with a probable bug in the skin templates (xml). The bug occurs using comments in xml.
Putting comments before markup (not inside!) changes the behaviour of the tags in the visualization.
Until now I found one example with the tag videostreamlabel and another with the tag videodatalabel. Putting a comment before the former tag the comment changes its alignment in the visualization. Putting a comment before the latter one makes vanish completely the data which should be shown.

Included you find a working example and a not working example to compare the effect.
(Tip: delete first comment and see the effect then delete the second comment and see the second effect)

It would be nice if someone could verify this.

Thanks

Example (not working - comments at wrong place)
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<xml>
    <pvd_skin_movie>
        <skinname>PVD Midnight bug</skinname>
        <version>0.9.0.0</version>
        <author>goddert</author>
        <description>Color skin</description>
        <preview>pvd_movie_midnight.png</preview>
        <!-- section with filepath, (quality, duration, size, mediatype, medialabel, medialocation), videostreamdata, audiostreamdata, subtitle and feature rows -->
<section>
<!-- row with videostreamdata column -->
<row>
<!-- column with videostreamdata expandable section -->
<column>
<!-- expandable section with videostreamdata rows -->
<expandsection>
<!-- row with videostreamlabel and videodatalabel columns -->
<row>
<!-- don't comment here; corrupts alignment of label -->
<column>
<videostreamlabel></videostreamlabel>
</column>
<!-- don't comment here; makes vanish data -->
<column>
<videodatalabel></videodatalabel>
</column>
</row>
<row>
<column>
<fieldlabel field="videocodec"></fieldlabel>
<videocodec/>
</column>
</row>
</expandsection>
</column>
</row>
</section>
    </pvd_skin_movie>
</xml>

Example (working - no comments at wrong place)
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<xml>
    <pvd_skin_movie>
        <skinname>PVD Midnight nobug</skinname>
        <version>0.9.0.0</version>
        <author>goddert</author>
        <description>Color skin</description>
        <preview>pvd_movie_midnight.png</preview>
        <!-- section with filepath, (quality, duration, size, mediatype, medialabel, medialocation), videostreamdata, audiostreamdata, subtitle and feature rows -->
<section>
<!-- row with videostreamdata column -->
<row>
<!-- column with videostreamdata expandable section -->
<column>
<!-- expandable section with videostreamdata rows -->
<expandsection>
<!-- row with videostreamlabel and videodatalabel columns -->
<row>
<column>
<videostreamlabel></videostreamlabel>
</column>
<column>
<videodatalabel></videodatalabel>
</column>
</row>
<row>
<column>
<fieldlabel field="videocodec"></fieldlabel>
<videocodec/>
</column>
</row>
</expandsection>
</column>
</row>
</section>
    </pvd_skin_movie>
</xml>