I noticed colons aren't supported in the class name for the dot-
notation.  This isn't much of a problem, but I expect it will come up
more often in the future with RDFa adoption.  I don't suppose it would
be "simple" to support this case?


This works fine
  %span{ :about=>"http://example.com/this#";, :class =>
'rdfs:Resource'}

Renders
  <span about='http://example.com/this#' class='rdfs:Resource'>


This works fine
  %span.foo{ :about=>"http://example.com/this#";, :class =>
'rdfs:Resource'}

Renders
  <span about='http://example.com/this#' class='rdfs:Resource foo'>


This
  %span.rdfs:Resource{ :about=>"http://example.com/this#"}

Gives
  Illegal Nesting: Nesting within a tag that already has content is
illegal.


This
  %span.'rdfs:Resource'{ :about=>"http://example.com/this#"}

Gives
  Illegal element: classes and ids must have values. Use %div instead.


=my=


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to