[cddlm] CDL: non-namespaced stuff

Steve Loughran steve_loughran at hpl.hp.com
Mon May 9 09:02:55 CDT 2005


The CDL XSD is currrently rejecting this doc as the stuff that is not in 
the CDL namespace is not in the namespace ##other, it is in the 
'undefined' namespace.


<?xml version="1.0"?>
<cdl:cdl xmlns:cdl="http://www.gridforum.org/2004/12/CDDLM/XML-CDL/1.0"
   xmlns:xs="http://www.w3.org/2001/XMLSchema"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   >
   <cdl:configuration>

     <cdl:documentation>
       This is our web server
     </cdl:documentation>

     <webapps name="webapp-base">
       <app>security</app>
       <app>logging</app>
     </webapps>

     <webapps2 extends="webapp-base">
       <app>testing</app>
     </webapps2>

     <server name="server">
       <port>8080</port>
       <security>true</security>
       <webapps />
     </server>

     <server name="tomcat" extends="server">
       <basedir>
       </basedir>
     </server>

  </cdl:configuration>
   <cdl:system>
     <deployment extends="tomcat" />
   </cdl:system>
</cdl:cdl>

If I add
	xmlns="urn:webapps"
at the beginning, all is well. But otherwise, Xerces is rejecting the 
no-namespaced elements as not being viewed as in the namespace set ##other.

I dont know what to do about this. Does anyone have any ideas.





More information about the cddlm-wg mailing list