OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: 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
------------------------------------------------------------------------



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC