Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ. As of October 27th, please open all new issues in the Red Hat Customer Portal .
James Strachan added a comment - 01/Feb/10 10:03 AM - edited
BTW one idea I had was, once we had a scala combinator parser; it'd be easy to add a parser for open & close tags. Once we had that, we could maybe implement 'custom tags using XML markup'.
e.g. we could let folks do stuff like this - but without requiring XML syntax (though using a purely XML based template engine would make stuff like this loads easier to implement...)
i.e. for every open/close tag we could look to see if its namespace starts with "scala:" and if so, transform it into a method call + open block or close block etc
Its not a huge biggie - but some folks might like to hide 'tags' behind XML markup tags which are a little less brittle when folks mess with templates in tools etc
James Strachan added a comment - 01/Feb/10 10:03 AM - edited BTW one idea I had was, once we had a scala combinator parser; it'd be easy to add a parser for open & close tags. Once we had that, we could maybe implement 'custom tags using XML markup'.
e.g. we could let folks do stuff like this - but without requiring XML syntax (though using a purely XML based template engine would make stuff like this loads easier to implement...)
i.e. for every open/close tag we could look to see if its namespace starts with "scala:" and if so, transform it into a method call + open block or close block etc
Its not a huge biggie - but some folks might like to hide 'tags' behind XML markup tags which are a little less brittle when folks mess with templates in tools etc
e.g. we could let folks do stuff like this - but without requiring XML syntax (though using a purely XML based template engine would make stuff like this loads easier to implement...)
which would just be syntax sugar for
i.e. for every open/close tag we could look to see if its namespace starts with "scala:" and if so, transform it into a method call + open block or close block etc
Its not a huge biggie - but some folks might like to hide 'tags' behind XML markup tags which are a little less brittle when folks mess with templates in tools etc