1 Reply Latest reply on Nov 1, 2012 8:15 AM by John Landells

    working with xhtml files in a blpackage

      Hi,

       

      I have a customer who is trying to create a framework for deploying files / config files within BladeLogic.

       

      They have the component template defined with a load of config files, and then a directory with excludes specified so that the config files aren't overwritten by the files.

       

      They load these parameterised config files into BladeLogic as a BlPackage, and deploy it.

       

      this works fine for .properties and .xml files, but they are having trouble with xhtml files that start with:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE eiqExplorer [

      <!ELEMENT eiqExplorer (class+)>

      <!ELEMENT class (classname, params)>

      <!ATTLIST class

                master (false | true) #REQUIRED

      >

      <!ELEMENT classname (#PCDATA)>

      <!ELEMENT param (#PCDATA)>

      <!ATTLIST param type (String | int | float | double | short | char | long | this) #REQUIRED>

      <!ELEMENT params (param+)>

      ]>

      <eiqExplorer>

                <class master="true">

                <classname>com.fame.energyiq.persistence.energyserver.CustomEnergyServerDatabase</classname>

                          <params>

      ...

       

      The <!DOCTYPE stuff is important for the file, but the xml file grammar just sees it as a comment.

       

      Is there an easy way to do this? (preferably without breaking the model we have of a template)

       

      Mark.