[
Lists Home |
Date Index |
Thread Index
]
I'm with Niels.
This has been tried several times in several places with
the usual reply being "so what is so special about a
pointy bracket". ("Don't Shock The Monkey"). It can
be done but why do it?
There are several good object-oriented programming
languages that support lean parsing. Why put a
fat parsing language into the mix with all of the
overhead of dozens of ancillary specifications?
It seems like a good way to confuse people and
systems.
XML: the pine tree of syntax-unified systems.
len
From: Simon St.Laurent [mailto:simonstl@simonstl.com]
On Sat, 2002-03-02 at 10:22, Niels Peter Strandberg wrote:
> I want XML in Java!
While poking around on some other projects this morning, I found:
http://java.sun.com/j2se/1.4/docs/api/java/beans/XMLEncoder.html
It seems to be running the opposite direction from what Niels wants, but
it's interesting in its own way. I'm not used to seeing "void" in
markup.
-------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.0" class="java.beans.XMLDecoder">
<object class="javax.swing.JFrame">
<void property="name">
<string>frame1</string>
</void>
|