From 28dff3780f9074f585bd626e2f06c94124ef4910 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Fri, 11 Aug 2017 09:57:55 +0200 Subject: Clean up xsl files * Remove trailing spaces * Use 4 spaces for indentation everywhere See discussion at https://lists.freedesktop.org/archives/libreoffice/2017-September/078433.html Change-Id: I0bb9a0b9b0502cdf0870529cea37ee9c4d1ffdf4 Reviewed-on: https://gerrit.libreoffice.org/41009 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- officecfg/util/alllang.xsl | 314 ++++++++++++++++++++--------------------- officecfg/util/data_val.xsl | 286 ++++++++++++++++++------------------- officecfg/util/resource.xsl | 8 +- officecfg/util/sanity.xsl | 8 +- officecfg/util/schema_trim.xsl | 84 +++++------ officecfg/util/schema_val.xsl | 172 +++++++++++----------- 6 files changed, 436 insertions(+), 436 deletions(-) mode change 100755 => 100644 officecfg/util/sanity.xsl (limited to 'officecfg/util') diff --git a/officecfg/util/alllang.xsl b/officecfg/util/alllang.xsl index f5d9ae103fc5..b9b2d1983551 100644 --- a/officecfg/util/alllang.xsl +++ b/officecfg/util/alllang.xsl @@ -17,12 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - + @@ -46,106 +46,106 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + - - - - + + + + - - - - + + + + - + - - - - - - - - + + + + + + + + - - - + + + - + - + - - - - - + + + + + - - - + + + - - - - + + + + - ERROR: The schema element for a + ERROR: The schema element for a should not have a node-type. - - - - + + + + @@ -182,11 +182,11 @@ - - - - - + + + + + @@ -200,7 +200,7 @@ - + @@ -211,7 +211,7 @@ - + @@ -221,21 +221,21 @@ - - + + - - - + + + - - - - - - - + + + + + + + @@ -250,19 +250,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -271,16 +271,16 @@ - - + + - - + + - - + + @@ -288,57 +288,57 @@ - - - + + + - + - - + + - + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - /.xcs - - - + + + + + + + + + + + + + + + + + + + + + + + /.xcs + + + @@ -391,12 +391,12 @@ - - - - - + + + + + - - - - - + + + + + diff --git a/officecfg/util/data_val.xsl b/officecfg/util/data_val.xsl index a6726c1772a2..abe7eb30090c 100644 --- a/officecfg/util/data_val.xsl +++ b/officecfg/util/data_val.xsl @@ -18,13 +18,13 @@ --> - + + xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:oor="http://openoffice.org/2001/registry" + xmlns:install="http://openoffice.org/2004/installation"> @@ -40,48 +40,48 @@ - + - + - - - - - - - + + + + + + + - - - - - - - - - - ERROR: Template '', - referenced from node '' + + + + + + + + + + ERROR: Template '', + referenced from node '' does not exist in schema! - + - - - + + + - - - - + + + + @@ -92,95 +92,95 @@ - + - + - - - - - - - - - ERROR: Node '' does not exist in schema! - + + + + + + + + + ERROR: Node '' does not exist in schema! + - - - - - - - - + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - + - - - - - - + + + + + + - - ERROR: Property '' does not exist in schema ! - + + ERROR: Property '' does not exist in schema ! + - - ERROR: Property '' has unexpected operation '' ! - + + ERROR: Property '' has unexpected operation '' ! + - - - + + + - + - + @@ -200,94 +200,94 @@ ERROR: Property '' has values with matching xml:lang attribute and inconsistent install:module attributes. - + - - - - + + + + ERROR: Node '' is within an extensible node! - + - - - - - + + + + + - - ERROR: Property '' does not exist in schema! - - + + ERROR: Property '' does not exist in schema! + + - - ERROR: Property '' does not have a type! - - - - ERROR: Property '' has unexpected operation ''! - + + ERROR: Property '' does not have a type! + + + + ERROR: Property '' has unexpected operation ''! + - + - + - + - + - ERROR: Duplicate node/prop ''! - - + ERROR: Duplicate node/prop ''! + + - + - - + + ERROR: Nested modules are not supported. Found module '' within module ''! - - - + + + - + - - - / - - + + + / + + - + - - - - /.xcs - - - + + + + /.xcs + + + diff --git a/officecfg/util/resource.xsl b/officecfg/util/resource.xsl index d3b44ae679d3..a0119b146cf7 100644 --- a/officecfg/util/resource.xsl +++ b/officecfg/util/resource.xsl @@ -18,10 +18,10 @@ --> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:oor="http://openoffice.org/2001/registry" + version="1.0"> diff --git a/officecfg/util/sanity.xsl b/officecfg/util/sanity.xsl old mode 100755 new mode 100644 index ea923ed8af86..a02ba25c2972 --- a/officecfg/util/sanity.xsl +++ b/officecfg/util/sanity.xsl @@ -17,10 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:oor="http://openoffice.org/2001/registry" + version="1.0"> diff --git a/officecfg/util/schema_trim.xsl b/officecfg/util/schema_trim.xsl index 4ebac1c5b733..f67d89194a51 100644 --- a/officecfg/util/schema_trim.xsl +++ b/officecfg/util/schema_trim.xsl @@ -18,62 +18,62 @@ --> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:oor="http://openoffice.org/2001/registry" + version="1.0"> - - + + - - - - - + + + + + - + + --> + --> - + - - + + - - - - - - + + + + + + - + - + - - - - - + + + + + @@ -120,12 +120,12 @@ - - - - - + + + + + - - - - - + + + + + diff --git a/officecfg/util/schema_val.xsl b/officecfg/util/schema_val.xsl index 4161808af2d2..38478ea8bb50 100644 --- a/officecfg/util/schema_val.xsl +++ b/officecfg/util/schema_val.xsl @@ -18,10 +18,10 @@ --> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:oor="http://openoffice.org/2001/registry" + version="1.0"> @@ -32,108 +32,108 @@ - - - - + + + + - - - + + + - - ERROR: multiple template types for sets are NOT supported! - + + ERROR: multiple template types for sets are NOT supported! + - - ERROR: extensible sets are currently NOT supported! - + + ERROR: extensible sets are currently NOT supported! + - - - ERROR: extensible groups with children are currently NOT supported! - - - + + + ERROR: extensible groups with children are currently NOT supported! + + + - - ERROR: Info elements (desc/label) are currently not localized. Remove xml:lang attributes! - + + ERROR: Info elements (desc/label) are currently not localized. Remove xml:lang attributes! + - + - - ERROR: Duplicate node name ''! - - + + ERROR: Duplicate node name ''! + + - - - ERROR: Properties of type 'oor:any' MUST NOT have a value! - - - + + + ERROR: Properties of type 'oor:any' MUST NOT have a value! + + + - - ERROR: xsi:nil is not allowed in schemas ! - + + ERROR: xsi:nil is not allowed in schemas ! + - - - - - - - - ERROR: node-type '' not found! - - - - ERROR: node-type '' not found! - - - + + + + + + + + ERROR: node-type '' not found! + + + + ERROR: node-type '' not found! + + + - - . - - ERROR: Component name '' does not match with file name! - - - + + . + + ERROR: Component name '' does not match with file name! + + + - - - .xcs - - - - - - - - - - - - - - - - - - **Error: unable to locate document '' - - - + + + .xcs + + + + + + + + + + + + + + + + + + **Error: unable to locate document '' + + + -- cgit