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

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 UTC