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#43 - opt:prolog doesn't accept attributes

Attached to Project: Open Power Template
Opened by Skruppy (Skrupellos) - Saturday, 10 January 2009, 09:58 GMT-8
Last edited by Zyx (Zyx) - Sunday, 11 January 2009, 03:08 GMT-8
Task Type Bug Report
Category Instructions
Status Closed
Assigned To No-one
Operating System OS-independent
Severity High
Priority Normal
Reported Version 2.0-beta1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Whatever you write in the attributes of opt:prolog or whatever you set prologRequired, the prolog is always the same default prolog.


Example:
<?xml version="1.0" encoding="UTF-8" ?>
<opt:prolog standalone="no" str:version="123" str:test="dont show me" />


Result:
<?xml version="1.0" standalone="yes" ?>


Expected result:
<?xml version="123" standalone="no" ?>
or (I don't know what is better)
<?xml version="123" ?>


Reason:
You read the attributes in Opt_Instruction_Prolog and give them to the Opt_Xml_Prolog constructor but the constructor does nothing with them (he hasn't even a parameter for the attributes).
This task depends upon

Closed by  Zyx (Zyx)
Sunday, 11 January 2009, 03:08 GMT-8
Reason for closing:  Fixed
Additional comments about closing:  Fixed in rev. #42

Loading...