Return-Path: <sentto-7609854-277-1094050816-chris=w3.org@returns.groups.yahoo.com>
X-Original-To: clilley@homer.w3.org
Delivered-To: clilley@homer.w3.org
Received: from lisa.w3.org (lisa.w3.org [128.30.52.41])
	by homer.w3.org (Postfix) with ESMTP id ECB274EF60
	for <clilley@homer.w3.org>; Wed,  1 Sep 2004 11:00:47 -0400 (EDT)
Received: from n55.grp.scd.yahoo.com ([66.218.67.67])
	by lisa.w3.org with smtp (Exim 4.34)
	id 1C2WbP-0007AF-6g
	for chris@w3.org; Wed, 01 Sep 2004 15:00:47 +0000
Received: from [66.218.66.30] by n55.grp.scd.yahoo.com with NNFMP; 01 Sep 2004 15:00:16 -0000
X-Yahoo-Newman-Property: groups-email
X-Sender: andrewgirow@yahoo.com
X-Apparently-To: SVG-Mobile@yahoogroups.com
Received: (qmail 73870 invoked from network); 1 Sep 2004 15:00:16 -0000
Received: from unknown (66.218.66.218)
  by m24.grp.scd.yahoo.com with QMQP; 1 Sep 2004 15:00:16 -0000
Received: from unknown (HELO n2.grp.scd.yahoo.com) (66.218.66.75)
  by mta3.grp.scd.yahoo.com with SMTP; 1 Sep 2004 15:00:15 -0000
Received: from [66.218.67.134] by n2.grp.scd.yahoo.com with NNFMP; 01 Sep 2004 15:00:05 -0000
To: SVG-Mobile@yahoogroups.com
Message-ID: <ch4o5k+3438@eGroups.com>
User-Agent: eGroups-EW/0.82
X-Mailer: Yahoo Groups Message Poster
X-eGroups-Remote-IP: 66.218.66.75
From: "andrewgirow" <andrewgirow@yahoo.com>
X-Originating-IP: 207.232.8.4
X-Yahoo-Profile: andrewgirow
MIME-Version: 1.0
Mailing-List: list SVG-Mobile@yahoogroups.com; contact SVG-Mobile-owner@yahoogroups.com
Delivered-To: mailing list SVG-Mobile@yahoogroups.com
Precedence: bulk
List-Unsubscribe: <mailto:SVG-Mobile-unsubscribe@yahoogroups.com>
Date: Wed, 01 Sep 2004 15:00:04 -0000
Subject: [SVG-Mobile] SVG Tiny 1.2 DOM Feedback and Questions
Reply-To: SVG-Mobile@yahoogroups.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: none (lisa.w3.org: domain of sentto-7609854-277-1094050816-chris=w3.org@returns.groups.yahoo.com does not designate permitted sender hosts)
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on homer.w3.org
X-Spam-Level: 
X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham 
	version=2.64
X-UIDL: dAT"!K~D!!\lK!!omD"!

While checking/ implementing SVG Tiny 1.2 DOM
 I got several questions:

1. THE COLOR TRAITS
In the A.2.6 Attribute and Property Access is written "Trait is the=20
typed value (e.g., a number, not just a string) that gets assigned=20
through an XML attribute"

The set trait for color uses two functions instead of one:=20

setRGBColorTrait [null | SVGRGBColor]
setTrait(none | currentColor | inherit)

I see here a problem for application programmers who are not experts=20
in SVG. Why there are two functions for the same type?=20

The get trait for color uses just one function: getRGBColorTrait.
So, there is no way to know that the given PathElement, for example,=20
uses the `currentColor' of the parent GroupElement.=20

The get trait also does not allow to know that the PathElement fill=20
attribute is inherited from the parent GroupElement.=20

If the getRGBColorTrait returns null. What it is suppose to mean:=20
none, currentColor or inherit?

The set and get traits must be consistent. If the program sets the=20
fill attribute to `currentColor' it must be a way later on to check=20
if this attribute equals to the `currentColor'.=20=20
As I understand the whole idea behind traits is to provide strongly=20
typed access to SVG attributes. In a case of color we have two types=20
instead of one!

2. SVGSVGElement

In the SVGSVGElement there is a new attribute that could not be found=20
in the previous versions of SVG DOM.=20

attribute float currentRotate; // raises (DOMException) on setting

The question is how this parameter applied to the current=20
transformation matrix?
Does it go after the currentTranslate of before? What are the order=20
of operations now for the current transform? Do we need this at all?=20
I mean that there is no explanation why it is in the DOM now.

3. Fixed Points vs Float Points=20
Most mobile devices on the market use CLDC Java that does not have=20
floating point numbers. What do you think about to have also the same=20
SVG Tiny 1.2 DOM API with fixed-point numbers?=20


That's all for now I will keep checking=85.;)
Andrew Girow
www.tinyline.com







------------------------ Yahoo! Groups Sponsor --------------------~-->=20
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k0XrlB/TM
--------------------------------------------------------------------~->=20

=20
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/SVG-Mobile/

<*> To unsubscribe from this group, send an email to:
    SVG-Mobile-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
=20


