W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2012

[Bug 17776] New: WD-FileAPI-20120712 has a dynamic attribute FileReader#result

From: <bugzilla@jessica.w3.org>
Date: Sat, 14 Jul 2012 03:38:39 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-17776-2486@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17776

           Summary: WD-FileAPI-20120712 has a dynamic attribute
                    FileReader#result
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
        AssignedTo: ian@hixie.ch
        ReportedBy: g.psy.va+w3org@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


As you see in http://www.w3.org/TR/2012/WD-FileAPI-20120712/,

interface FileReader: EventTarget {
  readonly attribute (DOMString or ArrayBuffer)? result;
};

The "result" attribute is a union type defined in WebIDL.
This IDL might be valid, but how do statically-typed languages like Java
represent it?

I think HTML specs should not use union member types because there are
webidl-to-statically-typed-language-definition tools.

Regards,
---------
gfx

-- 
Configure bugmail: https://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, 14 July 2012 03:38:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 14 July 2012 03:38:41 GMT