This project has moved. For the latest updates, please go here.
1
Vote

Sherperas - problem with templates generation

description

Hi,

I attached mini DECOR file.

I think that 2 bugs exists (but i am not sure):
1) PropertyTemplateBinder line 261:
 // Add to the repo
                    context.Project.Templates.Insert(context.Project.Templates.IndexOf(classTemplate) + 2, childTemplate);
                    foreach (NullArtifactTemplate nat in context.Project.Templates.FindAll(o => o is NullArtifactTemplate))
                        nat.ReplacementFor = null;
Why +2? not +1?

2)decor.xslt <xsl:template match="include"> line 159:
I think that value-of should call marc:PascalCaseName like this:
          <xsl:attribute name="ref">
            <xsl:value-of select="marc:PascalCaseName($refName)"/>
          </xsl:attribute>

file attachments

comments