[Bug 6731] New: Type of External Variable

View: New views
6 Messages — Rating Filter:   Alert me  

[Bug 6731] New: Type of External Variable

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

           Summary: Type of External Variable
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 1.1
        AssignedTo: jonathan.robie@...
        ReportedBy: jonathan.robie@...
         QAContact: public-qt-comments@...


The current XQuery 1.1 Working Draft discusses the static type inferred for
external variables:

  If a variable declaration includes a type, that type is added to the
  static context as the type of the variable. If a variable
  declaration includes a VarValue or a VarDefaultValue but not an
  explicit type, the type of the variable is inferred from static
  analysis of the expression and is added to the static context.

Doesn't this belong in the Formal Semantics?

We do need to know what the required type of an external variable is. At the
last Face to Face, we decided the following:

- Static type has no dependency on external

- In a dynamic implementation, the static type is either (1) the
  declared type, or (2) item()*

- The original paragraph cited in 2008Oct/0002.html is only true when
  there is no external variable.

- Editorially, bringing the two descriptions of the types of external
  variables closer together, and giving them similar structure, would
  be helpful.

- Wording: 'the variable contains external' - be clear that this is
  syntactic productions.


--
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.


[Bug 6731] Type of External Variable

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Michael Dyck <jmdyck@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdyck@...




--- Comment #1 from Michael Dyck <jmdyck@...>  2009-03-24 18:09:08 ---
Most of this is covered by Michael Kay's proposal (member only):
http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2009Feb/0100.html


--
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.


[Bug 6731] Type of External Variable

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Michael Kay <mike@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@...




--- Comment #2 from Michael Kay <mike@...>  2009-05-18 08:11:34 ---
We believe this bug can be resolved by adopting the proposal posted at

http://lists.w3.org/Archives/Member/w3c-xsl-query/2009May/0036.html


--
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.


[Bug 6731] [XQuery11] Type of External Variable

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Jonathan Robie <jonathan.robie@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
           Keywords|                            |proposalAccepted
         Resolution|                            |FIXED




--
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.


[Bug 6731] [XQuery11] Type of External Variable

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Jim Melton <jim.melton@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #3 from Jim Melton <jim.melton@...>  2009-09-17 19:46:21 ---
I'm re-opening this bug because it was accidentally marked RESOLVED/FIXED
before the WG had formally endorsed the solution. Apologies for the confusion!


--
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.


[Bug 6731] [XQuery11] Type of External Variable

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Jonathan Robie <jonathan.robie@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Jonathan Robie <jonathan.robie@...>  2009-10-27 16:27:24 ---
Closing, per WG decision today. In the current internal WD.


--
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.