[Bug 15399] New: [XP3.0] Conflict between EQName syntax and JSON

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15399

           Summary: [XP3.0] Conflict between EQName syntax and JSON
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath 3.0
        AssignedTo: jonathan.robie@gmail.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


For an XPath/XQuery release after 3.0, there is discussion about supporting
maps, and one of the proposals is to support maps using a JSON-like syntax. For
example a map constructor might take the form

{ "colour":white,
  "size":large,
  "weight":heavy
}


The current syntax for EQNames, for example "foo":bar, will create usability
problems if we do this, as it will be necessary to use spaces around the colon
for disambiguation.

This bug report suggests that in the interests of keeping our options open, we
should use a different syntax for EQNames. EQNames are intended primarily for
use in software-generated code, and their readability is not of paramount
importance.

We should reconsider the original proposal to use a backtick (`foo`:bar) .

-- 
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 Tuesday, 3 January 2012 10:00:49 UTC