W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2008

[Bug 5747] [FS] Expansion of castable throws errors

From: <bugzilla@wiggum.w3.org>
Date: Sat, 05 Jul 2008 08:53:11 +0000
To: public-qt-comments@w3.org
Message-Id: <E1KF3W3-0001or-My@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5747





--- Comment #3 from Michael Dyck <jmdyck@ibiblio.org>  2008-07-05 08:53:10 ---
For 4.12.4 Castable, I think the Dynamic Evaluation rules should be:

    dynEnv |- Expr => Value
    Value can be cast to SingleType
    ----------------------
    dynEnv |- Expr castable as SingleType => true

    dynEnv |- Expr => Value
    not( Value can be cast to SingleType )
    ----------------------
    dynEnv |- Expr castable as SingleType => false

where the auxiliary judgment "Value can be cast to SingleType" is defined by
the following rules:

    --------------
    () can be cast to AtomicType?

    Value can be cast to AtomicType
    --------------
    Value can be cast to AtomicType?

    fn:data(Value) = AtomicValue1
    AtomicValue1 cast value to type AtomicType => AtomicValue2
    --------------
    Value can be cast to AtomicType


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Saturday, 5 July 2008 08:53:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 5 July 2008 08:53:47 GMT