Skip to content

Commit

Permalink
Reindent all XSD files for consistency
Browse files Browse the repository at this point in the history
This make it easier to compare the files across versions, as well as
improves readability.

The update was done using

  for x in $(find . -name '*.xsd'); do
    xmllint --format "$x" > "$x.new" && mv "$x.new" "$x"
  done

on Debian GNU/Linux, but any system with xmllint available will do.
  • Loading branch information
petterreinholdtsen committed May 12, 2019
1 parent c100faa commit 780ee66
Show file tree
Hide file tree
Showing 86 changed files with 29,397 additions and 31,411 deletions.
10 changes: 3 additions & 7 deletions ADDML/latest/addml.xsd
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xs:schema xmlns:addml="http://www.arkivverket.no/standarder/addml"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.arkivverket.no/standarder/addml" elementFormDefault="qualified"
version="8.3">
<xs:schema xmlns:addml="http://www.arkivverket.no/standarder/addml" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.arkivverket.no/standarder/addml" elementFormDefault="qualified" version="8.3">
<xs:annotation>
<xs:documentation xml:lang="en">
Changes made in versions up to 8.2 are not documented in this document.
Expand Down Expand Up @@ -136,7 +133,7 @@
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="typeReference" type="xs:string"/>
</xs:complexType>
</xs:complexType>
</xs:element>
<xs:element name="recordDefinitionFieldValue" type="xs:string"/>
<xs:element name="incomplete">
Expand Down Expand Up @@ -485,7 +482,6 @@
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>

<xs:element name="dataObjects">
<xs:complexType>
<xs:sequence>
Expand Down Expand Up @@ -550,4 +546,4 @@
<xs:element name="headerLevel" type="xs:integer"/>
<xs:element name="recordSeparator" type="xs:string"/>
<xs:element name="value" type="xs:string"/>
</xs:schema>
</xs:schema>
Loading

0 comments on commit 780ee66

Please sign in to comment.