RE: Starting point

If I read this right.  No colons are allowed in either element or attributes.
I think this is good.  It would mean we could add to the Design Goals a level of compatibility with XML 1.0 + Namespaces (both syntax and data mode).

The "make more useful" Argument is that there is less confusion about what XML processors a person could use on uXML.   The likelihood of an "Off the shelf" processor working as expected on a uXML document would be much higher than allowing : in names.

-David



-----------------------------------------------------------------------------
David Lee
Lead Engineer
MarkLogic Corporation
dlee@marklogic.com
Phone: +1 650-287-2531
Cell:  +1 812-630-7622
www.marklogic.com

This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation.


> -----Original Message-----
> From: James Clark [mailto:jjc@jclark.com]
> Sent: Tuesday, August 14, 2012 9:49 AM
> To: public-microxml@w3.org
> Subject: Starting point
> 
> The grammar at http://www.w3.org/community/microxml/wiki/Initial_Status
> has been stable for some time now.  Does anybody want to propose
> _removing_ anything from this?  If not, then I propose we start
> considering what, if anything, we want to add to this.  I suggest we
> use a separate thread for each possible addition.
> 
> For reference, here it is again:
> 
> # Documents
> document ::= s element s
> # Elements
> element ::= startTag content endTag
> content ::= (element | dataChar | charRef)*
> startTag ::= '<' name (s+ attribute)* s* '>'
> endTag ::= '</' name s* '>'
> # Attributes
> attribute ::= name s* '=' s* attributeValue
> attributeValue ::= '"' ((dataChar - '"') | charRef)* '"'
>                    | "'" ((dataChar - "'") | charRef)* "'"
> # Data characters
> dataChar ::= char - ('<' | '&' | '>')
> # Character references
> charRef ::= hexCharRef | namedCharRef
> hexCharRef ::= '&#x' [0-9a-fA-F]+ ';'
> namedCharRef ::= '&' charName ';'
> charName ::= 'amp' | 'lt' | 'gt' | 'quot' | 'apos'
> # Names
> name ::= nameStartChar nameChar*
> nameStartChar ::= [A-Z] | [a-z] | "_"
> nameChar ::= nameStartChar | [0-9] | "-" | "."
> # White space
> s ::= #x9 | #xA | #xD | #x20
> # Characters
> char ::= s | ([#x21-#x10FFFF] - forbiddenChar)
> forbiddenChar ::= surrogateChar | #FFFE | #FFFF
> surrogateChar ::= [#xD800-#xDFFF]
> 
> James

Received on Tuesday, 14 August 2012 13:55:00 UTC