[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: [relax-ng] Default content for attributes in the compact syntax
Eric, I ran into this, too. The compact syntax requires the braces and text token because of an ambiguity when using name classes. See http://lists.oasis-open.org/archives/relax-ng/200205/msg00039.html. Mike > -----Original Message----- > From: Eric van der Vlist [mailto:vdv@dyomedea.com] > Sent: Wednesday, June 12, 2002 6:14 AM > To: relax-ng@lists.oasis-open.org > Subject: [relax-ng] Default content for attributes in the compact syntax > > > Sorry if this has already been covered, but I have noticed that there is > no default child content pattern for attribute in the compact syntax. > > In other words, > > <attribute name="foo"/> is legal and transformed during the > simplification process into > <attribute><name>foo</name><text/></attribute> while in the compact > syntax, "attribute foo {}" is invalid. > > I guess that this is needed to insure syntactical coherence in the > compact syntax, but is it normal|wishable to introduce differences > between the two syntaxes and doesn't it affect round triping? > > Thanks > > Eric > -- > See you in San Diego. > http://conferences.oreillynet.com/os2002/ > ------------------------------------------------------------------------ > Eric van der Vlist http://xmlfr.org http://dyomedea.com > http://xsltunit.org http://4xt.org http://examplotron.org > ------------------------------------------------------------------------ > > > ---------------------------------------------------------------- > 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