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


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). Instead of:

namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0";

[ a:annotation [ "glip glop glorp" ]

We have this:

namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0";

a:annotation { "glip glop glorp" }

So that:

- it looks less like XDuce and more like an XQuery element constructor,
without the element keyword
- it looks more like the rest of RNC, is less verbose
- any namespace-qualified name without an element keyword could be
considered a foreign element in RNC

My apologies for introducing the idea so late, but, well, I had to get it
off my chest.

Mike






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


Powered by eList eXpress LLC