I think we need to put it back. And we need to regularize these types (and support them at runtime too).

On 2007-10-15, at 15:40 EDT, Henry Minsky wrote:

I inadvertantly removed this type when I flushed lzx.rnc,  because I
thought nobody used it external to that file; we could put
it back in for compatibility, or change the callers to use 'number' or
'sizeExpression'. A type of sizeExpression makes the compiler emit
code to handle the special case of an attribute with a percentage like
"75%".



On 10/15/07, Henry Minsky <[EMAIL PROTECTED]> wrote:
There used to be a RNG schema 'type' we declared in lzx.rnc named
"size" which mapped to expression type

sRNGtoLPSTypeMap.put("size", SIZE_EXPRESSION_TYPE);

On 10/15/07, Benjamin Shine <[EMAIL PROTECTED]> wrote:
Tucker,
Was type="size" ever a legal thing to say?
Seems odd to me -- should we change all the incubator things to be
type="Number"?
How could they have worked for years with type="size"?


Begin forwarded message:

From: "Robert Yeager (JIRA)" <[EMAIL PROTECTED]>
Date: October 15, 2007 11:49:21 AM PDT
To: [EMAIL PROTECTED]
Subject: [JIRA] Created: (LPP-4901) roundrect component does not
compile in trunk build 6836

Issue (View Online)

Key: LPP-4901
Issue Type:   Bug
Status:   New
Priority:   --
Assignee: Benjamin Shine
Reporter: Robert Yeager
Operations

 View all
 View comments
 View history

roundrect component does not compile in trunk build 6836
Updated: 15/Oct/07 11:48 AM   Created: 15/Oct/07 11:48 AM
Project:OpenLaszlo
Components: Components - Incubator
Affects Versions: Trunk

 Description
Using trunk build 6836, when I try to compile the roundrect
incubator component I receive this compilation error:

incubator/roundrect.lzx:40:35: In class roundrect type 'size',
declared for attribute 'inset' is not a known data type.

The problem is with the attribute type definitions, which are set
to type="size". If I change all attribute types from "size" to
"number" in roundrect, the file compiles.

Since other incubator components also have attributes defined with
type="size", those are probably affected as well.


This message was automatically generated by Atlassian JIRA
Enterprise Edition, Version: 3.6.5-161 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's
administrators.





--
Henry Minsky
Software Architect
[EMAIL PROTECTED]



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to