XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Too much power? was RE: [xml-dev] 2007 Predictions

noah_mendelsohn@us.ibm.com wrote:

> My reading is that the Rule of Least Power says that both of these are 
> just dandy, presuming that the lists are in both cases represented in some 
> simple declarative format such as XML, JSON, or even structured plain 
> text.  The rule doesn't comment at all on the differences between the 
> shorter and the more detailed list mentioned above, and presumably the 2nd 
> option is more useful to a broader range of users.
> 

Actually JSON is  a tricky border case for the rule of least power. JSOM 
is fine if and only if it's passed to an evalJSON() function that parses 
the JSON as data. It is not OK (i.e. not least power) if it's passed to 
an eval() function that merely evaluates the JSON as JavaScript code.

-- 
Elliotte Rusty Harold  elharo@metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS