← Prev in month ← Prev in thread

Issue: <element name="foo"/> v <attribute name="foo"/>

From
James Clark <>
Date
2001-07-05T07:12:05+00:00
ID
026501c10521$8b94f7e0$
Thread
Issue: <element name="foo"/> v <attribute name="foo"/>
Currently, RELAX NG allows

  <attribute name="foo"/>

(it matches an attribute named foo with any value), but doesn't allow

  <element name="foo"/>

In XML Schema I believe

  <element name="foo"/>

matches an element named foo with any attributes and any content.  Should we
do the same?  Alternatively should we disallow

  <attribute name="foo"/>

?

James
← Prev in month ← Prev in thread