Re: Why XML to comunicate Distributed Components?



ram@xxxxxxxxxxxxxxxxxx (Stefan Ram) writes:
Robert Martin <unclebob@xxxxxxxxxxxxxxxx> writes:
There are better formats out there. Yaml, JSon, etc.

Possibly, the simplest expressive format is S-expressions.

The nice thing about s-expressions is that you can treat them as
data in Java and code in Lisp or Scheme. Plus they are far more
consistent and concise than XML.

But they do not have a commonly accepted unique specification
independent of LISP. I deem them a little bit too simple, because
I would like to have attributes (not an attribute emulation with
list). XML has attributes, but I want attributes to be as
structured as elements.

What are you looking for that can't be handled with keywords?

So, I have decided to specify a variant of S-expression with
unlimited attributes:

http://www.purl.org/stefan_ram/pub/unotal_en

Interesting. I like it better than XML after only two minutes.

Regards,

Patrick

------------------------------------------------------------------------
S P Engineering, Inc. | Large scale, mission-critical, distributed OO
| systems design and implementation.
pjm@xxxxxxx | (C++, Java, Common Lisp, Jini, middleware, SOA)
.



Relevant Pages

  • Re: Future of LISP. Alternative to XML. Web 3.0?
    ... using s-expressions instead of XML, nobody is going to use it, ... because it's cheaper to keep the existing XML software and continue ... XML-MAIDEN format or to HTML format and next displayed via standard ... or a CanonML or LISP browser. ...
    (comp.lang.lisp)
  • Re: Future of LISP. Alternative to XML. Web 3.0?
    ... I didn't realize it meant literally the cr character within the ... instead of XML representation for queries and responses. ... using s-expressions instead of XML, nobody is going to use it, ... Do *any* of those LISP projects have a server I ...
    (comp.lang.lisp)
  • Re: Do people dislike parentheses or the conceptual mismatch with trees?
    ... The more I have to wonder _why_ XML was ever even born let alone got so ... Because it wasn't Lisp. ... and s-expressions and were able to appreciate the benefits that would come ... version of HTML. ...
    (comp.lang.lisp)
  • Re: Understanding # and function variables
    ... The lisp system interprets s-expressions and pretends they're ... If you want Java analogies, imagine making a class Symbol while ...
    (comp.lang.lisp)
  • Re: Java and LISP
    ... So don't complain if your attribute starts looking like S-expressions. ... Now you too can do LISP in your Java source! ... Watch those closing curly braces, brackets, paren's, quotes, angle brackets, ...! ...
    (comp.lang.java.programmer)