[PATCH 1 of 5 seda] [test] Reindent top level attributes

Sylvain Thenault sylvain.thenault at logilab.fr
Thu Mar 9 17:13:48 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1489072807 -3600
#      Thu Mar 09 16:20:07 2017 +0100
# Node ID cce71e0d563925352392d5ef6e18d03f839792ab
# Parent  5c94d0712e115079025f92c390ff8b127ae6415c
[test] Reindent top level attributes

so it's much easier to read.

diff --git a/test/data/seda_02_export.rng b/test/data/seda_02_export.rng
--- a/test/data/seda_02_export.rng
+++ b/test/data/seda_02_export.rng
@@ -1,7 +1,18 @@
 <?xml version='1.0' encoding='utf-8' standalone='no'?>
-<rng:grammar xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:clmIANACharacterSetCode="urn:un:unece:uncefact:codelist:standard:IANA:CharacterSetCode:2007-05-14" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:10" xmlns:clmDAFFileTypeCode="urn:un:unece:uncefact:codelist:draft:DAF:fileTypeCode:2009-08-18" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:qdt="fr:gouv:culture:archivesdefrance:seda:v1.0:QualifiedDataType:1" xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:standard:IANA:MIMEMediaType:2008-11-12" xmlns:clm60133="urn:un:unece:uncefact:codelist:standard:6:0133:40106" xmlns="fr:gouv:culture:archivesdefrance:seda:v1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="fr:gouv:ae:archive:draft:standard_echange_v0.2">
+<rng:grammar
+    xmlns:clmDAFFileTypeCode="urn:un:unece:uncefact:codelist:draft:DAF:fileTypeCode:2009-08-18"
+    xmlns:clmIANACharacterSetCode="urn:un:unece:uncefact:codelist:standard:IANA:CharacterSetCode:2007-05-14"
+    xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:standard:IANA:MIMEMediaType:2008-11-12"
+    xmlns:clm60133="urn:un:unece:uncefact:codelist:standard:6:0133:40106"
+    xmlns:qdt="fr:gouv:culture:archivesdefrance:seda:v1.0:QualifiedDataType:1"
+    xmlns:rng="http://relaxng.org/ns/structure/1.0"
+    xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:10"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns="fr:gouv:culture:archivesdefrance:seda:v1.0"
+    datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
+    ns="fr:gouv:ae:archive:draft:standard_echange_v0.2">
   <rng:start>
     <rng:element name="ArchiveTransfer">
       <xsd:annotation>
         <xsd:documentation>my profile title &&</xsd:documentation>
       </xsd:annotation>
diff --git a/test/data/seda_02_export.xsd b/test/data/seda_02_export.xsd
--- a/test/data/seda_02_export.xsd
+++ b/test/data/seda_02_export.xsd
@@ -1,7 +1,21 @@
 <?xml version='1.0' encoding='utf-8' standalone='no'?>
-<xsd:schema xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:6" xmlns:qdt="fr:gouv:ae:archive:draft:standard_echange_v0.2:QualifiedDataType:1" xmlns:clm60133="urn:un:unece:uncefact:codelist:standard:6:0133:40106" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:clmIANACharacterSetCode="urn:un:unece:uncefact:codelist:standard:IANA:CharacterSetCode:2007-05-14" xmlns:clmDAFFileTypeCode="urn:un:unece:uncefact:codelist:draft:DAF:fileTypeCode:2009-08-18" xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:standard:IANA:MIMEMediaType:2008-11-12" xmlns="fr:gouv:ae:archive:draft:standard_echange_v0.2" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="fr:gouv:ae:archive:draft:standard_echange_v0.2" version="1.1">
+<xsd:schema
+    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
+    xmlns:clmDAFFileTypeCode="urn:un:unece:uncefact:codelist:draft:DAF:fileTypeCode:2009-08-18"
+    xmlns:clmIANACharacterSetCode="urn:un:unece:uncefact:codelist:standard:IANA:CharacterSetCode:2007-05-14"
+    xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:standard:IANA:MIMEMediaType:2008-11-12"
+    xmlns:clm60133="urn:un:unece:uncefact:codelist:standard:6:0133:40106"
+    xmlns:qdt="fr:gouv:culture:archivesdefrance:seda:v1.0:QualifiedDataType:1"
+    xmlns:rng="http://relaxng.org/ns/structure/1.0"
+    xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:10"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns="fr:gouv:culture:archivesdefrance:seda:v1.0"
+    attributeFormDefault="unqualified"
+    elementFormDefault="qualified"
+    targetNamespace="fr:gouv:ae:archive:draft:standard_echange_v0.2"
+    version="1.1">
   <xsd:element name="ArchiveTransfer">
     <xsd:annotation>
       <xsd:documentation>my profile title &&</xsd:documentation>
     </xsd:annotation>
     <xsd:complexType>


More information about the saem-devel mailing list