Yes,

So I fed the scheams through some validations and there are several validation errors reported that prevent my codegen from working correctly. So I have hacks to include an import of the xml.xsd schema to fix these. I was about to open a jira(s) to not only include these validation errors but all validation errors reported for all the schema's

Sachin

David Jencks wrote:
What does this jelly code do? If it updates older plans to the newer schemas, should we work a bit to make the upgrading code in SchemaConversionUtils more accessible to outside tools?

thanks
david jencks

On Oct 10, 2005, at 8:26 AM, [EMAIL PROTECTED] wrote:

Author: sppatel
Date: Mon Oct 10 08:26:43 2005
New Revision: 312666

URL: http://svn.apache.org/viewcvs?rev=312666&view=rev
Log:
fix for schema validation errors

Modified:
geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/project.properties

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml?rev=312666&r1=312665&r2=312666&view=diff ============================================================================== --- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml (original) +++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml Mon Oct 10 08:26:43 2005
@@ -53,7 +53,10 @@
<replaceregexp file="${schema}" match="schemaLocation=&quot;(.*/)(.*xsd)" replace="schemaLocation=&quot;\2" byline="true"/> <j:if test="${schema.getName().equals('geronimo-connector-1.0.xsd')}"> <replaceregexp file="${schema}" match="(xs:import.*/>)" replace="\1${patch}"/>
-      </j:if>
+      </j:if>
+ <j:if test="${schema.getName().equals('geronimo-security-1.0.xsd')}"> + <replaceregexp file="${schema}" match='(version="1.0">)' replace="\1${patch2}"/>
+      </j:if>
     </j:forEach>
   </goal>


Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/project.properties URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/project.properties?rev=312666&r1=312665&r2=312666&view=diff ============================================================================== --- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/project.properties (original) +++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/project.properties Mon Oct 10 08:26:43 2005
@@ -1,2 +1,3 @@
 maven.jar.manifest=META-INF/MANIFEST.MF
-patch=<xs:import namespace="http://www.w3.org/XML/1998/namespace"; schemaLocation="xml.xsd"/>
\ No newline at end of file
+patch=<xs:import namespace="http://www.w3.org/XML/1998/namespace"; schemaLocation="xml.xsd"/> +patch2=<xsd:import namespace="http://www.w3.org/XML/1998/namespace"; schemaLocation="xml.xsd"/>
\ No newline at end of file




Reply via email to