[ 
https://issues.apache.org/jira/browse/SHINDIG-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014424#comment-13014424
 ] 

Paul Lindner commented on SHINDIG-1390:
---------------------------------------

still needed?


> Enum should be used to refer to Html tag names and attributes
> -------------------------------------------------------------
>
>                 Key: SHINDIG-1390
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1390
>             Project: Shindig
>          Issue Type: Task
>          Components: Java
>            Reporter: Kuntal Loya
>            Priority: Minor
>
> E.g In ProxyingVisitor, the tag names and attributes are specified in a list 
> as strings. They should instead be referred to as some Enum.
> Pointer from Chirag - 
> The Caja UrlPolicy document has a nice list of HTML attributes that can be 
> rewritten.
> http://code.google.com/p/google-caja/wiki/UrlPolicy
> Pointer from Jasvir -
> In addition to Chirag's pointer, programmatically, if you're looking for html 
> attributes that take URIs, the attributes returned by 
> com.google.caja.lang.html.HtmlSchema that take a uri have .getType() === 
> HTML.Attribute.Type.URI.
> The default list is derived from the w3c spec and I'd rather avoid recreating 
> the list ad hoc. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to