← Back to team overview

cdd-dev team mailing list archive

[Branch ~cdd-dev/cdd/trunk] Rev 294: Added sawsdl and sawsdlrdf namespace

 

------------------------------------------------------------
revno: 294
committer: Eduardo Ribeiro <xcesar@xxxxxxxxx>
branch nick: devel
timestamp: Sun 2013-01-06 03:38:46 -0200
message:
  Added sawsdl and sawsdlrdf namespace
modified:
  src/2.0/cdd.py


--
lp:cdd
https://code.launchpad.net/~cdd-dev/cdd/trunk

Your team CDD Developers is subscribed to branch lp:cdd.
To unsubscribe from this branch go to https://code.launchpad.net/~cdd-dev/cdd/trunk/+edit-subscription
=== modified file 'src/2.0/cdd.py'
--- src/2.0/cdd.py	2012-12-28 19:35:52 +0000
+++ src/2.0/cdd.py	2013-01-06 05:38:46 +0000
@@ -2308,13 +2308,15 @@
         xsd_file = open(path+'/'+schema,'w')
 
 
-        # Header of the ccd
+######### Header of the ccd #############################################
         xsd_file.write("""<?xml version="1.0" encoding="UTF-8"?>
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
 	   xmlns:mlhim2="http://www.mlhim.org/xmlns/mlhim2/{version}"; 
 	   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 
-	   xmlns:owl=" http://www.w3.org/2002/07/owl#";
-	   xmlns:dc= "http://purl.org/dc/elements/1.1/";
+	   xmlns:owl="http://www.w3.org/2002/07/owl#";
+	   xmlns:dc="http://purl.org/dc/elements/1.1/";	   
+	   xmlns:sawsdl="http://www.w3.org/ns/sawsdl";
+	   xmlns:sawsdlrdf="http://www.w3.org/ns/sawsdl#";
 	   id="mlhim2-{ccd_id}"
 	   elementFormDefault="qualified"
 	   targetNamespace="http://www.mlhim.org/xmlns/mlhim2/{version}";