[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: [relax-ng] Predeclare xsd datatypes prefix?
Seems reasonable to predeclare xsd. Yes, it gives a privileged (or default) position to xsd, but what else could go in its place? For now, it's a convenience to users. -Mike > -----Original Message----- > From: James Clark [mailto:jjc@jclark.com] > Sent: Wednesday, May 01, 2002 4:54 AM > To: relax-ng@lists.oasis-open.org > Subject: [relax-ng] Predeclare xsd datatypes prefix? > > > I am wondering whether it would be a good idea to predeclare "xsd", i.e. > assume a declaration of > > datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes" > > A user would be able to override this if they wanted. > > The advantage is convenience: it saves a user having to remember and type > the XSD URI. A small schema is very short and simple to write in the > compact syntax, and having to type this declaration is a > significant extra > effort. I find it hard to remember the namespace URI, and typically have > to look it up, which I find a nuisance. > > The disadvantage is that it is giving a priviliged position to XML Schema > datatypes which RELAX NG itself is careful not to do. A counter > argument to > this is that the compact syntax is already doing an analagous thing by > giving a special syntax to a:documentation. > > I'm in two minds about this one. What do other people think? > > James > > > ---------------------------------------------------------------- > To subscribe or unsubscribe from this elist use the subscription > manager: <http://lists.oasis-open.org/ob/adm.pl> >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC