RE: [SVGMobile12] viewBox attribute

Hi Anne, 

> From: Anne van Kesteren [mailto:annevk@opera.com] 

> May I ask where "whitespace" is defined? And do I understand 
> it correctly that all of the following (values) are valid:
> 
>   * "20, 54, 34 32"
>   * "20
> 54, 588,43"
> 
> ... and the following are not:
> 
>   * " 32, 23, 23 54" (leading space)
>   * "23, 23, 32, 12," (trailing comma)
>   " "23 23 23 23 " (trailing space)
>   "
> 23 23 23 23" (leading newline)
> 
> ... is that really what is intended?

The following EBNF has been added to the spec to define the syntax of
the viewBox attribute:

      viewbox ::=
		wsp* viewboxSpec wsp*
	viewboxSpec ::=
		number comma-wsp number comma-wsp number comma-wsp
number
		| "none"
	number ::=
		sign? integer-constant
		| sign? floating-point-constant
	comma-wsp ::=
		(wsp+ comma? wsp*) | (comma wsp*)
	comma ::=
		","
	integer-constant ::=
		digit-sequence
	floating-point-constant ::=
		fractional-constant exponent?
		| digit-sequence exponent
	fractional-constant ::=
		digit-sequence? "." digit-sequence
		| digit-sequence "."
	exponent ::=
		( "e" | "E" ) sign? digit-sequence
	sign ::=
		"+" | "-"
	digit-sequence ::=
		digit
		| digit digit-sequence
	digit ::=
		"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" |
"9"
	wsp ::=
		(#x20 | #x9 | #xD | #xA)

Please let us know within 2 weeks if this does not address your concern.

Regards,
Scott Hayman
On behalf of the SVG WG



---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Received on Thursday, 22 June 2006 13:19:31 UTC