> I get this error: Namespace prefix xsi for type on MandatoryKeyword
> is not defined

You're right. The problem using DTD is that namespace declarations are done 
using FIXED attributes. Therefore the DTD part 
 <!ATTLIST inspire_common:MandatoryKeyword
   xmlns:inspire_common CDATA #FIXED 
"http://inspire.ec.europa.eu/schemas/common/1.0";
 >

Should be:
 <!ATTLIST inspire_common:MandatoryKeyword
   xmlns:inspire_common CDATA #FIXED 
"http://inspire.ec.europa.eu/schemas/common/1.0";
   xmlns:xsi CDATA #FIXED "http://www.w3.org/2001/XMLSchemainstance";
 >

Because for element inspire_common:Keyword the xsi:type attribute is declared 
it should probably also be done for the inspire_common:MandatoryKeyword.

So I would consider this being an incomplete document type definition. Fixing 
this should be simple.

HTH
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to