The XML Spec (http://www.w3.org/TR/REC-xml) yields the following under 
2.3 Common Syntactic Constructs (specifically, the "literals" subsection):

AttValue    ::=    '"' ([^<&"] | Reference)* '"' |  "'" ([^<&'] | 
Reference)* "'"

Notice that " and ' are both acceptable.

Peter

Michal Leinweber wrote:

> Why jabberd uses single quotes for attribute values in XML packets ????
> 
> In XML specification there is only double-quotes possible .... :
> 
>       AttValue    ::=    '"' ([^<&"] | Reference)* '"'  
> 
> Why? Why?
> 
>       McLEI
> 
> 
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
> 
> .
> 
> 



_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to