Changed CdfContentGenerator.java resolved problem with template.
Changed XcdfRenderer.java resolved problem with template.