Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6-rc-1
-
Fix Version/s: 1.6.4, 1.7-beta-1
-
Component/s: XML Processing
-
Labels:None
-
Number of attachments :
Description
XmlTemplateEngine$GspPrinter#boolean printSpecialNode(Node) contains qn.getPrefix().equals("gsp") in a condition.
So http://groovy.codehaus.org/2005/gsp will not be processed if another prefix than gsp is used.
Issue Links
| This issue is related to: | ||||
| GROOVY-952 | XmlTemplateEngine must preserve valid XML files |
|
|
|
I changed the code to accept the uri as well. It would be nicer to have just the uri but for legacy reasons I have left that check in too. JavaDoc and tests have also been improved.