mlhim-specs-dev team mailing list archive
-
mlhim-specs-dev team
-
Mailing list archive
-
Message #00761
[Branch ~cdd-dev/cdd/trunk] Rev 280: Altered generation of CCDs to be more similar of xls2ccd.
------------------------------------------------------------
revno: 280
committer: Eduardo C. P. Ribeiro <eduardo.cesar@xxxxxxx>
branch nick: devel
timestamp: Fri 2012-10-19 11:04:48 -0300
message:
Altered generation of CCDs to be more similar of xls2ccd.
modified:
src/2.0/cdd.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/2.0/cdd.py'
--- src/2.0/cdd.py 2012-10-14 06:21:54 +0000
+++ src/2.0/cdd.py 2012-10-19 14:04:48 +0000
@@ -2253,7 +2253,6 @@
f = open(path+'/'+schema,'w')
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/xmlns/mlhim2/2_4_0"
elementFormDefault="qualified"
@@ -2262,11 +2261,9 @@
data-view:transformation="http://www.mlhim.org/ccd/ccd_md_view.xsl">
<xs:annotation>
- <xs:appinfo source="http://www.mlhim.org" xml:lang="{language}">
- This is a {title} Concept Constraint Definition schema file (CCD).
+ <xs:appinfo>
- <rdf:RDF
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc= "http://purl.org/dc/elements/1.1/">
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc= "http://purl.org/dc/elements/1.1/">
<rdf:Description rdf:about="http://www.hkcr.net/ccd/{ccd_id}">
<dc:title>{title}</dc:title>
@@ -2285,9 +2282,7 @@
<dc:format>{resource_format}</dc:format>
<dc:language>{language}</dc:language>
</rdf:Description>
-
- </rdf:RDF>
-
+ </rdf:RDF>
</xs:appinfo>
</xs:annotation>