ISSUE-2150 ('required' attribute): Clarify 'required' attribute [Last Call: SVG 1.2 Tiny ]

ISSUE-2150 ('required' attribute): Clarify 'required' attribute [Last Call: SVG 1.2 Tiny ]

http://www.w3.org/Graphics/SVG/WG/track/issues/2150

Raised by: Doug Schepers
On product: Last Call: SVG 1.2 Tiny 

Cyril Concolato
<http://lists.w3.org/Archives/Public/www-svg/2008Oct/0110.html>:
[[
* Section A.8.12 TraitAccess
The specification says:
"For 'required' attributes, there are two cases:
    * i) The document is in error, if this attribute was not present at the time of loading.
    * ii) When using the uDOM API, the specified lacuna value (in parenthesis) must be used."
Could you explain what the first bullet means ?
What is a 'required' attribute? The lacuna value is used when an attribute is not specified. Why would the document be in error ?
Could you also explain what is the relationship between exceptions thrown in a script, and the state (error or not) of the script node (and of the document).

]]

Received on Monday, 13 October 2008 17:47:06 UTC