Invenzzia »

IMPORTANT ANNOUNCEMENT

Due to the uncertain status of the Flyspray project, lack of new releases and moving the code repository to Github, we decided to shutdown this issue tracker by the end of January 2011. From that date, the bugs should be reported directly in Github project repositories.

List of repositories:

Open Power Template 2.x family

PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!

Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
Tasklist

FS#144 - opt:parent

Attached to Project: Open Power Template
Opened by Dariusz (daro) - Monday, 21 December 2009, 02:53 GMT-8
Last edited by Zyx (Zyx) - Wednesday, 23 December 2009, 00:43 GMT-8
Task Type Bug Report
Category Instructions
Status Closed
Assigned To Zyx (Zyx)
Operating System OS-independent
Severity Medium
Priority Normal
Reported Version 2.0.3
Due in Version 2.0.4
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Parent template:
<?xml version="1.0" ?>
<opt:root>
<opt:prolog />
<opt:dtd template="xhtml11" />
<html opt:use="html">
<opt:attribute name="lang" value="pl" />
</html>

</opt:root>

Child extend the parent:
<?xml version="1.0" ?>
<opt:extend file="layout.tpl">
<opt:snippet name="html">
<opt:parent />
</opt:snippet>
</opt:extend>

And I have exception:
Invalid use of "opt:attribute". The parent must be "printable tag".

When I remove <opt:snippet> in child template then exception gone.
This task depends upon

Closed by  Zyx (Zyx)
Wednesday, 23 December 2009, 00:43 GMT-8
Reason for closing:  Fixed
Additional comments about closing:  Fixed in rev. 272

Loading...