Re: XLink 1.1 WD: Optional type attribute

/ Christian Biesinger <cbiesinger@web.de> was heard to say:
| Hi,
| The XLink 1.1 WD (http://www.w3.org/TR/2005/WD-xlink11-20050707/)
| specifies that the type attribute is optional (if the type is simple):
| "An XML element conforms to XLink if:
| [...]
|     2.
|        it does not have a type attribute from the XLink namespace and
| it adheres to the conformance constraints imposed by the XLink simple
| element type, as prescribed in this specification."
|
| However, not all places in the specification seem to say that:
| Consider http://www.w3.org/TR/2005/WD-xlink11-20050707/#link-types
| "Constraint: type Value
|
| The value of the type attribute must be supplied. [...]"
|
| The example in 5.2 is also a bit confusing:
| "The XLink element for simple links is any element with an attribute
| in the XLink namespace called type with a value of "simple". The
| simple equivalent of the above extended link would be as follows:
|
| <studentlink xlink:href="...">Pat Jones</studentlink>
| "
|
| Contrary to what the prose implies, the example has no type attribute.
|
| I think the 5.2 section should also mention somewhere that the type
| attribute is optional if href is specified.
|
| thanks,
| -biesi
| (please CC me on replies, I'm not subscribed to this list)

Thank you for your comment. The Core WG has accepted your comments and
the changes you propose will be reflected in the next draft. Please
let us know if this resolution is satisfactory.

                                        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, 18 January 2006 21:13:03 UTC