Skip to search.
sml-dev

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
Anybody for writing what XML should have been?   Message List  
Reply Message #4859 of 5159 |
RE: [sml-dev] Anybody for writing what XML should have been?

At 10:27 PM 7/27/2001 -0400, Michael Champion wrote:
[...]Some XML-like simplified markup language will suffer the
classic chicken and egg problem (if there were tools and applications, people
would be interested; without people being interested, nobody will develop
tools and applications). [...]

Hi Michael.  Glad to see you're still hanging around.  I think the people on this list, hanging around like you, comprise the interested group we need.  Any new technology would have to spread by the word of mouth through these people, through contagious excitement.  If we can get this group to solidify on something and to be excited about that something, I think we stand a chance.

>[...] it would be interesting to see your proposal![...]

I fear it won't be so interesting.  I've thought some more about what it is we'd need to accomplish and decided that I really don't know, so I have no clue whether this proposal does the trick.

If we decide that we need a good serialization language, well, then we would probably end up with something close to YAML.  If we decide we need a good way to mark up human verbage, well, then we would probably end up with something like Paul's PXML.  If we decided that we need a language that does a little something for everybody, well, then we would probably end up with XML.

I think our success hinges critically on us picking a problem or a set of problems to solve and then finding a darn good solution.

But I'll give you the proposal anyway.  The proposal is to tweak MinML to fix a few things that bug me.  It therefore solves the problem of Joe Lapp feeling bugged.

I wrote an information model and a BNF, but I won't bother you with them.  Here are the most significant tweaks to MinML:

(1) Element names are modelled on domain/host names.  There is no separate mechanism for namespaces.  My syntax lists the most specific component name first, as in "date.someplace.com", so that the most meaningful name occurs first and is easiest to spot.

(2) I provide a mechanism for abbreviating namespaces.  I think this little example will convey the whole idea:

<.domain>product.tailsforhumans.com</>
<.alias>$prod = product.tailsforhumans.com</>

<_>The following two elements have the same name</>

<description.$prod>Bona fide pig's tail</>
<description.product.tailsforhumans.com>Bona fide cat's tail</>

I was allowing aliases to appear only at the end up a name, and I wasn't allowing aliases to be defined in terms of other aliases.  But I was allowing this:

<.alias>$desc = description.product.tailsforhumans.com</>

<$desc>Bona fide Tim B-L tail</>

(3) As you just saw, the end tag need not contain the element name, but I do make it optional.

(4) There is no requirement that a single root element contain everything.

(5) There are no XML character references.  Only the '>' needs to be escaped, and it is escaped as '>>'.  We could always support C-like character references such as '\n' and '\xA'.

(6) The information model guarantees that "<x></>" always means null and not empty string.

That's basically it.  I don't know what to make of character encodings.  That seems like such a mess too.  I want a language that people who aren't experts in character encodings can implement from scratch.

I think we should start up a conversation about what the problems are that we care to solve.  For example, the above proposal probably isn't very good for marking up human verbage since it doesn't support anything like mixed content.  Is it legitimate for us to identify the problems according to what ails us about XML?

Hey, glad to be back in the fray again.  Thanks for the welcome back!

~Joe

Sun Jul 29, 2001 12:29 am

joe@...
Send Email Send Email

Message #4859 of 5159 |
Expand Messages Author Sort by Date

Hello guys and gals. Long time no chat about SMLs. I have severed my political ties with the XML world in pursuit of a life of creative self-expression....
Joe Lapp
joe@... Send Email
Jul 28, 2001
12:13 am

... Hi Joe! Good to hear from you. ... Sure, it's not like there's a lot of traffic on this list these days :~) Interesting timing ... I'm having a "why oh why...
Michael Champion
mchamp@... Send Email
Jul 28, 2001
2:28 am

... Boohoo! *wink* ... IMHO, the problem with XML isn't its syntax... it's the bandwagon. XML this, XML that. It has to make you think... if XML is so good,...
Clark C . Evans
cce@... Send Email
Jul 28, 2001
4:24 am

... On a related note, if this isn't what you're saying, there's a lot more to get right than just the technology. But at least we have a chance starting...
Joe Lapp
joe@... Send Email
Jul 29, 2001
12:25 am

... Hi Michael. Glad to see you're still hanging around. I think the people on this list, hanging around like you, comprise the interested group we need....
Joe Lapp
joe@... Send Email
Jul 29, 2001
12:22 am

... Correction: Only '<' is escaped, and it is done as '<<'. Sorry! ~Joe...
Joe Lapp
joe@... Send Email
Jul 29, 2001
12:33 am

... I think this is a pretty fair assessment. For those who have disregarded YAML, it has gone through a fairly serious revision lately, mostly due to the...
Clark C . Evans
cce@... Send Email
Jul 29, 2001
5:02 am

... See: http://www.tbradford.org/FutureOfXML.txt http://www.tbradford.org/clean-namespaces.txt For some of my thoughts. In the past week, I've heard somebody...
Tom Bradford
bradford@... Send Email
Jul 28, 2001
2:43 am

Hello Joe. ... I'd really like to hear your proposal! ... It's been simplifed quite a bit lately... you may want to take a look at the newish draft Oren posted...
Clark C . Evans
cce@... Send Email
Jul 28, 2001
3:42 am

... From: Joe Lapp <joe@...> ... PXML subset of XML : http://www.pault.com/pault/pxml ... users who don't have access to a manual (or who don't...
Paul Tchistopolskii
pault12@... Send Email
Jul 28, 2001
5:30 am

Welcome back, Joe. Done with vesting, eh?;-p I still like XML, but have bad feelings about where it is going. XML's relationship with W3C is both a blessing...
Don Park
donpark@... Send Email
Jul 28, 2001
6:57 am

... [Good ones]. ... [Good directions] ... SML-DEV has fallen very quiet lately, hasn't it? :-) ... Well, in this case YAML should be just for you, as it was ...
Oren Ben-Kiki
orenbk@... Send Email
Jul 29, 2001
6:28 am

It seems to me that there are three distinct kinds of jobs that have been smushed together into XML. Sometimes such merging of functionality results in...
Mark S. Miller
markm@... Send Email
Jul 29, 2001
2:41 pm

... In the XML world, I think the analog of ANTLR is XSLT/XPath where "syntax directed translation" pattern becomes "structure directed translation", since...
Clark C . Evans
cce@... Send Email
Jul 29, 2001
4:14 pm

... In "RDF Applications with Prolog", http://www.xml.com/pub/a/2001/07/25/prologrdf.html?page=1 , they show the next layer: "knowledge directed translation",...
Sjoerd Visscher
sjoerd@... Send Email
Jul 29, 2001
10:21 pm

... Nice separation. I see the application domains for (1) and (3), and I guess (2) has its place (Lisp still being alive and kicking) although it is probably...
Oren Ben-Kiki
orenbk@... Send Email
Jul 29, 2001
3:37 pm

... Don't think of #2 as a niche. Think of it as a universal parse-tree reprentation. When you don't need a specialized surface syntax, you can easily design...
Mark S. Miller
markm@... Send Email
Jul 29, 2001
4:09 pm

... From: "Mark S. Miller" <markm@...> To: <sml-dev@yahoogroups.com> Sent: Sunday, July 29, 2001 10:41 AM Subject: [sml-dev] Re: Anybody for writing...
Michael Champion
mchamp@... Send Email
Jul 29, 2001
4:14 pm

http://www.tameable.com...
roster@... Send Email Aug 2, 2001
4:23 pm

... that is incompatible with XML, I think it would be wise for us to start by tackling the niches in which XML does poorly.< ... chicken and egg problem (if...
gizmotron@... Send Email Aug 13, 2001
8:38 pm

sml-dev group, I've just discovered the semanticWeb group. I'm going to look into RDF and how it might or might not work with MTML. Best regards, Mark Brownell...
gizmotron@... Send Email Aug 17, 2001
4:59 pm

... OK, so I added RDF/Dublin Core portaling to my on-line creation. Vn 2.0.6 of the sub-browser is up and running. You can download the freeware application...
gizmotron@... Send Email Aug 20, 2001
3:04 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help