- From: Norman Walsh <Norman.Walsh@Sun.COM>
- Date: Wed, 13 Apr 2005 16:20:04 -0400
- To: public-xml-core-wg@w3.org
- Message-id: <87fyxuo2dn.fsf@nwalsh.com>
/ John Cowan <jcowan@reutershealth.com> was heard to say: | namespace xlink = "http://www.w3.org/1999/xlink" | | simple.type = attribute xlink:type {"simple"} | href.att = attribute xlink:href {xsd:anyURI} | role.att = attribute xlink:role {xsd:anyURI} | arcrole.att = attribute xlink:arcrole {xsd:anyURI} | title.att = attribute xlink:title {text} | show.att = attribute xlink:show {"new"|"replace"|"embed"|"other"|"none"} | actuate.att = attribute xlink:actuate {"onLoad"|"onRequest"|"other"|"none"} | label.att = attribute xlink:label {xsd:NMTOKEN} | from.att = attribute xlink:from {xsd:NMTOKEN} | to.att = attribute xlink:to {xsd:NMTOKEN} | | simple = element * { | (simple.type | href.att | (simple.type, href.att)), | anyAttr*, role.att?, arcrole.att?, title.att?, | show.att?, actuate.att?, | (anyElem | text)* | } | | extended = element * { | attribute xlink:type {"extended"}, | anyAttr*, role.att?, title.att?, | (title | resource | locator | arc | anyElem | text)* | } | | title = element * { | attribute xlink:type {"title"}, anyAttr*, | (anyElem | text)* | } | | resource = element * { | attribute xlink:type {"resource"}, anyAttr*, | role.att?, title.att?, label.att?, | (anyElem | text)* | } | | locator = element * { | attribute xlink:type {"locator"}, anyAttr*, | href.att, role.att?, title.att?, label.att?, | (title | anyElem | text)* | } | | arc = element * { | attribute xlink:type {"arc"}, anyAttr*, | arcrole.att?, title.att?, from.att?, to.att?, | show.att?, actuate.att?, | (title | anyElem | text)* | } | | start = element * { anyAttr*, (simple | extended | anyElem)* } | | anyElem = element * {anyAttr*, (anyElem | text)*} I believe anyElem has to allow simple|extended, otherwise after you get into the "anyElem" branch, you can never get back out. anyElem = element * {anyAttr*, (anyElem | simple | extended | text)*} Be seeing you, norm -- Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc. NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
Received on Wednesday, 13 April 2005 20:20:14 UTC