That is valid xml. <a /> is a self closing tag, open and close in one tag. </a> by itself wouldn't be valid since there's no corresponding open tag. I thought the only xml invalid is when using the <tag:with> syntax.
On Nov 22, 11:16 am, Tom Locke <[EMAIL PROTECTED]> wrote: > > 1. For some reason, the app runs significantly slower than my non- > > hobo rails applications on my Ubuntu laptop. Is this expected or > > something wrong with my installation? > > Hobo does a lot of reloading / regenerating on every request than > Rails, which does make it noticeably slower. That's only in > development mode though. Also, DRYML is a fair bit slower that erb, > but the performance is acceptable. Optimising DRYML is on the to-do > list. > > > Assigned users: <repeat:users join=", "><a/></repeat><else>None</else> > > That line is correct. <a/> is all that's needed because the content > defaults to the name of the thing in context. > > Note that DRYML is actually not XML compliant. We've opted for > programmer happiness instead. So if your editor is expecting valid > XML, you'll run into problems. > > Actually you can opt for a more xml-link syntax if you really want to, > so e.g. you could change the close tag to </repeat:users> > > Tom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
