Hi all,<br><br>I have build a XML validator using JDOM. I am trying to validate Kepler workflows using DTD file (<a href="http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd">http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd</a>) but in most of cases the validator fails when the workflow has parameters, for example 02-LoktaVolterraPrey.xml in getting-started directory. The validator fails because finds an unknown tag in XML file named <b>svg</b>.<br>
<br>For example:<br><br><entity name="02-LotkaVolterraPredatorPrey" class="ptolemy.actor.TypedCompositeActor"><br> <property name="_createdBy" class="ptolemy.kernel.attributes.VersionAttribute" value="7.0.2"><br>
</property><br> <property name="r" class="ptolemy.data.expr.Parameter" value="2"><br> <property name="_hideName" class="ptolemy.kernel.util.SingletonAttribute"><br>
</property><br> <property name="_icon" class="ptolemy.vergil.icon.ValueIcon"><br> </property><br> <property name="_smallIconDescription" class="ptolemy.kernel.util.SingletonConfigurableAttribute"><br>
<configure><br> <span style="color: rgb(255, 0, 0);"> <svg></span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);"> <text x="20" style="font-size:14; font-family:SansSerif; fill:blue" y="20">-P-</text></span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"> </svg></span><br> </configure><br> </property><br> <property name="_editorFactory" class="ptolemy.vergil.toolbox.VisibleParameterEditorFactory"><br>
</property><br> <property name="_location" class="ptolemy.kernel.util.Location" value="410.0, 50.0"><br> </property><br> </property><br> <property name="a" class="ptolemy.data.expr.Parameter" value="0.1"><br>
<property name="_icon" class="ptolemy.vergil.icon.ValueIcon"><br> </property><br> <property name="_smallIconDescription" class="ptolemy.kernel.util.SingletonConfigurableAttribute"><br>
<configure><br> <span style="color: rgb(255, 0, 0);"><svg></span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);"> <text x="20" style="font-size:14; font-family:SansSerif; fill:blue" y="20">-P-</text></span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"> </svg></span><br clear="all">...<br><br>This element (red highlighted) is not defined in DTD file. Can it be avoided? What does this tag mean?<br><br>Thanks for your help.<br>
-- <br>Josep<br>