Import statement in a comment
A bug in 2.1.2, submitted by Zimmen on 13 November 2010
Announcement
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
Browse
Closed#425: Import statement in a comment
Good one! I’ve fixed this by removing comments from the source XSLT before it’s parsed for include/imports. Seems to do the trick nicely.
https://github.com/nickdunn/debugdevkit/commit/ac4d86756a8cbfe955707668565f41e45e0db0b4
This issue is closed.
Well, this was a nice one!
When, for whatever reason, you put something like:
in the COMMENTS of your xsl utility (for example when you write a usage example), the debugger will find itself in an infinite recursive loop.
Apparently the debugger does a “find stuff with the utilities path in it” and does not care whether it’s in a comment or not.
The loop runs in content.debug.php line 159.