Started on: 2016-12-29
last update: 2016-12-29
Summary:
The current processing of XML tags that accept boolean values does not allow a long expression to be split over multiple lines. This makes files more difficult to maintain.
Area:
The skin engine.
Description:
This morning I wanted to code the following in a skin file that I have been modifying:
Well, I did code it. The problem is that it does not work. To get it to work, I had to code it like this:
which is more difficult to maintain, as a significant part of the line is off the right-hand side of the screen (so it is not possible to see the line in its entirety).
Proposal
For XML tags where the value is a boolean, accept and ignore insignifcant blanks and end-of-line characters (CRLF or whatever).
last update: 2016-12-29
Summary:
The current processing of XML tags that accept boolean values does not allow a long expression to be split over multiple lines. This makes files more difficult to maintain.
Area:
The skin engine.
Description:
This morning I wanted to code the following in a skin file that I have been modifying:
Code:
<visible>window.isvisible(6)
|window.isvisible(600)
|window.isvisible(601)
|window.isvisible(603)
|window.isvisible(762)
|window.isvisible(763)</visible>
Well, I did code it. The problem is that it does not work. To get it to work, I had to code it like this:
Code:
<visible>window.isvisible(6)|window.isvisible(600)|window.isvisible(601)|window.isvisible(603)|window.isvisible(762)|window.isvisible(763)</visible>
which is more difficult to maintain, as a significant part of the line is off the right-hand side of the screen (so it is not possible to see the line in its entirety).
Proposal
For XML tags where the value is a boolean, accept and ignore insignifcant blanks and end-of-line characters (CRLF or whatever).