mlhim-specs-dev team mailing list archive
-
mlhim-specs-dev team
-
Mailing list archive
-
Message #00688
[Branch ~cdd-dev/cdd/trunk] Rev 234: Changed xml version to from 1.1 to 1.0 and added headers.
------------------------------------------------------------
revno: 234
committer: Eduardo C. P. Ribeiro <eduardo.cesar@xxxxxxx>
branch nick: cdd
timestamp: Tue 2012-08-28 16:04:37 -0300
message:
Changed xml version to from 1.1 to 1.0 and added headers.
modified:
src/1.0/cdg_main.py
--
lp:cdd
https://code.launchpad.net/~cdd-dev/cdd/trunk
Your team MLHIM Specifications 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/1.0/cdg_main.py'
--- src/1.0/cdg_main.py 2012-08-27 23:33:24 +0000
+++ src/1.0/cdg_main.py 2012-08-28 19:04:37 +0000
@@ -460,11 +460,14 @@
f = open(path+'/'+schema,'w')
- f.write("""<?xml version="1.1" encoding="UTF-8"?>
+ f.write("""<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:mlhim2="http://www.mlhim.org/xmls/mlhim2/2_3_1" elementFormDefault="qualified"
- targetNamespace="http://www.mlhim.org/xmls/mlhim2/2_3_1">
+ xmlns:mlhim2="http://www.mlhim.org/xmls/mlhim2/2_3_1"
+ elementFormDefault="qualified"
+ targetNamespace="http://www.mlhim.org/xmls/mlhim2/2_3_1"
+ xmlns:data-view="http://www.w3.org/2003/g/data-view#"
+ data-view:transformation="http://www.mlhim.org/ccd/ccd_md_view.xsl">
<xs:annotation>
<xs:appinfo source="http://www.mlhim.org" xml:lang="{language}">