RE: [relax-ng] Proposal: remove annotations from the compact syntax

From
Eric van der Vlist <>
Date
2002-07-10T07:25:15+00:00
ID
1026285890.1855.32.camel@ibook
Thread
RE: [relax-ng] Proposal: remove annotations from the compact syntax
On Wed, 2002-07-10 at 09:11, Michael Fitzgerald wrote:
> When you say ugly, what do you mean: ugly to look at or ugly to implement or
> use?
> 
> I thought of an alternative, less unattractive syntax for annotations (very
> late, I admit). 

Probably naive, but why not simply include XML snippets?

> namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
> 
> a:annotation { "glip glop glorp" }

would become

 <a:annotation>glip glop glorp</a:annotation>

Might be considered ugly, but at least people are used to this kind of
stuff by now :-)

Eric
-- 
See you in San Diego.
                               http://conferences.oreillynet.com/os2002/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------