[ https://issues.apache.org/jira/browse/SHINDIG-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Lindner resolved SHINDIG-1241. ----------------------------------- Resolution: Fixed Fix Version/s: 1.1-BETA6 applied > Invalid style elements in custom templates cause opensocial-templates to break > ------------------------------------------------------------------------------ > > Key: SHINDIG-1241 > URL: https://issues.apache.org/jira/browse/SHINDIG-1241 > Project: Shindig > Issue Type: Bug > Components: Javascript > Affects Versions: 1.1-BETA5 > Reporter: Paul Lindner > Fix For: 1.1-BETA6 > > > If you have a opensocial template library like this: > <?xml version="1.0" encoding="UTF-8"?> > <Templates xmlns:ext-li="http://www.linkedin.com/ext-li"> > <Namespace prefix="ext-li" url="http://www.linkedin.com/ext-li"/> > <Style> > large-font: { > font-size: 20px; > } > </Style> > <JavaScript> > function global(a) { > a.innerHTML += 'global'; > } > </JavaScript> > .... > And the style is invalid, then you will end up with DOM error 12 due to > invalid CSS. > In the case above there is an extra colon between the selector and the style > 'large-font : ....' > We should catch this condition, log it, and soldier on.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.