Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Fri, 31 Oct 2003
What is integrated XML support anyway?
Kimbro Staken is wishing for XML support baked directly into a programming language. His criteria are:
[15:06] |
[computers/programming/xml] |
# |
TB |
F |
G |
4 Comments |
- Seamless XML support. Never having to explicitly parse an XML document
- XPath as a native language construct
- Dynamic conversion between text and parsed representations of the XML.
- XPath manipulation for XML modifications
eliminate the distinction between the string representation and the object representation of XML documents.Their approach generates classes for each of the elements in an XML Grammer (DTD or Schema) and allows for object literals that look syntactically like XML. XOBE also allows XPath expressions for querying the resulting object hierarchies. Erik Meijer and Wolfram Schulte's OOPSLA 2003 submission: Unifying Tables, Objects, and Documents takes a different approach. Meijer and Schulte show how to extend C# (it could just as easily be Java) to deal with relational and XML data. They set forth a number of design principles for their experimental language, but two of the most important are:
- Denotable values should be (easily) expressible
- Expressible values should be denotable
Phillip Eby wrote about a bunch of his ideas for querying across different data backends (for use in PEAK). Honestly, the notes were so extensive that I haven't followed much of it. The thread starts here and continues in other posts to the mailing list. There seems to be some similar ideas or desires to what you're writing about here.
To me it seems too ambitious -- I'd rather see some more robust querying mechanisms in Python that were domain-specific before trying to unify it all across disparate domains.
Posted by Ian Bicking at Fri Oct 31 16:52:11 2003
To me it seems too ambitious -- I'd rather see some more robust querying mechanisms in Python that were domain-specific before trying to unify it all across disparate domains.
Posted by Ian Bicking at Fri Oct 31 16:52:11 2003
FWIW the Groovy language for the JVM follows some similar patterns to Xen in allowing markup to be used in the language and supporting XPath-like navigation expressions on java/groovy objects
Posted by James Strachan at Mon Nov 3 02:56:30 2003
Posted by James Strachan at Mon Nov 3 02:56:30 2003
Take a look at ecmascript4xml - native support of XML in JavaScript.
http://dev2dev.bea.com/products/wlworkshop/articles/JSchneider_XML.jsp
Posted by Mike Dierken at Wed Feb 4 21:30:16 2004
http://dev2dev.bea.com/products/wlworkshop/articles/JSchneider_XML.jsp
Posted by Mike Dierken at Wed Feb 4 21:30:16 2004
We have been developing the Scala programming language for quite a while now, which integrates seamlessly with Java and C# and moreover has those XML literals everybody seems to be asking for since a long time. Check out http://scala.epfl.ch and in particular http://scala.epfl.ch/intro/xml.html
!
Posted by Burak Emir at Wed Nov 2 04:45:25 2005
!
Posted by Burak Emir at Wed Nov 2 04:45:25 2005
You can subscribe to an RSS feed of the comments for this blog:
Add a comment here:
You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
<a href>
, <em>
, <i>
, <b>
, <blockquote>
, <br/>
, <p>
, <code>
, <pre>
, <cite>
, <sub>
and <sup>
.You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk