- From: fwsmail35 <fwsmail35@aol.com>
- Date: Fri, 04 Jan 2008 15:08:17 +0100
- To: ve3ll@cogeco.ca
- CC: www-amaya@w3.org
> although most people use elements like > <p id="fred"> can spaces be valid such as > <p id = "ethel"> > if this is legit then i must go back and do a bit of redesign on > my link checker ... only found the quirk cuz one of my pages > had a space and the link worked ok .... my checker flagged > as a problem but is it .... the spec is vague on this and all > examples have no spacing .... puzzled boy in Great White North > john -- > Hi John, This notation is allowed, and because it is purely syntactic, the XML specification ( http://www.w3.org/TR/REC-xml/ ) is able to be really clear about it. Here are the regular expressions you are interested in (for the notation used, see http://www.w3.org/TR/REC-xml/#sec-notation ) : [40] STag ::= '<' Name (S Attribute)* S? '>' [41] Attribute ::= Name Eq AttValue [25] Eq ::= S? '=' S? [3] S ::= (#x20 | #x9 | #xD | #xA)+ -- Frederic WANG http://www.maths-informatique-jeux.com/international/
Received on Friday, 4 January 2008 14:06:24 UTC