[jdom-interest] Wish-list

Brad Cox bcox at virtualschool.edu
Thu May 10 04:12:42 PDT 2012

This is based on experience using both, not a deep analysis. More with XML
than JSON to date. This work was in the context of building XACML compilers
that use the W3C DOM tree as their expression tree. And inspired by recent
W3C mailing list  discussions on standardizing a JSON syntax for XACML.

They seem to be  viewing JSON as I do, as a useful subset of XML, with lack
of namespaces and attributes the main differences I can think of at the
moment. Lack of attributes not a problem for XACML; it hardly uses them,
just element values.

The notion is to add a JSON parser in front that builds the same XML (J)DOM
tree you build now, plus a output path that converts the tree to JSON on
demand. The proposed extension is appealing because it would allow the same
XACML compiler to accept standard XACML and/or standard JSON, and to
trivially convert between the representations.

On Wed, May 9, 2012 at 10:24 PM, Rolf Lear <jdom at tuis.net> wrote:

> I would *love* to hear how you expect JDOM (XML-based) and JSON to 'hang
> out' in the same place .... ;-)

Cell: 703-594-1883
Blog: http://bradjcox.blogspot.com
Web: http://virtualschool.edu
Manassas VA 20111
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.jdom.org/pipermail/jdom-interest/attachments/20120510/3853016e/attachment.html>

More information about the jdom-interest mailing list