[Microid] MicroID draft problem

Eran Sandler eran at yedda.com
Tue Mar 18 02:28:05 EDT 2008


I also thought about underscore but it doesn't look good.


Essentially we do need a concatenation, that's why we used + (among
other things) so perhaps we should use the period.


Eran



Peter Saint-Andre wrote:

> jer wrote:
>   
>> Ick, Stpeter, others, thoughts?
>>
>> On Mar 10, 2008, at 11:36 AM, Otto wrote:
>>
>>     
>>> Trying to use a microID in an XHTML 1.1 document. W3C Validator
>>> doesn't like it because it says:
>>>
>>> character "+" is not allowed in the value of attribute "class"
>>>
>>> The code in question is basically along these lines:
>>> <span class="microid-mailto 
>>> +http:sha1:23e9670868f6d2b16fe1f6b3db80c" ...
>>>
>>> Any thoughts? Something I'm missing? Didn't know who else to ask about
>>> the topic. Is the current spec of microID incompatible with some later
>>> XHTML versions when using the "class" method?
>>>
>>> -Otto
>>>       
>
> Well, further research reveals that the 'class' attribute has a datatype
> of NMTOKENS, i.e., a space-separated list of NMTOKEN productions, which
> are defined in XML 1.0 as follows:
>
>    Letter | Digit  | '.' | '-' | '_' | ':' | CombiningChar | Extender
>
> The last two don't help us (they are things like umlauts and such), so
> that means we're limited to letters, digits, periods, hyphens,
> underscores, and colons. We're already using hyphens and colons are
> separators, so I think we need to change from + to period or underscore.
> So in this example that would be:
>
> 1. microid-mailto.http:sha1:23e9670868f6d2b16fe1f6b3db80c
>
> or
>
> 2. microid-mailto_http:sha1:23e9670868f6d2b16fe1f6b3db80c
>
> I don't have a strong preference between the two. The period feels more
> like concatenation to me, but that's perhaps purely visual.
>
> Peter
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Microid mailing list
> Microid at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/microid
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/microid/attachments/20080318/c363c340/attachment.htm 


More information about the Microid mailing list