aboutsummaryrefslogtreecommitdiff
path: root/moaSig/handbook/clients/referencedData
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-06-07 12:16:36 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-06-07 12:16:36 +0200
commit4d0c73640c083a800060863309129960f44fc281 (patch)
treeacc46d3060114d66907c18a9d0c92761a03172b2 /moaSig/handbook/clients/referencedData
parent44d138de959445a619a92608a2133d9558c2a888 (diff)
downloadmoa-sig-4d0c73640c083a800060863309129960f44fc281.tar.gz
moa-sig-4d0c73640c083a800060863309129960f44fc281.tar.bz2
moa-sig-4d0c73640c083a800060863309129960f44fc281.zip
a lot of changes
Diffstat (limited to 'moaSig/handbook/clients/referencedData')
-rw-r--r--moaSig/handbook/clients/referencedData/.gitignore2
-rw-r--r--moaSig/handbook/clients/referencedData/pom.xml56
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/META-INF/MANIFEST.MF3
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/Text.b641
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/Text.txt1
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/WEB-INF/web.xml10
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.Para.xsl19
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.signed.xml27
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.withResolvableSchemaHint.xml6
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.withSchemaHint.xml6
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xml6
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xsd15
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xsl18
-rw-r--r--moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocumentRef.xsl4
14 files changed, 174 insertions, 0 deletions
diff --git a/moaSig/handbook/clients/referencedData/.gitignore b/moaSig/handbook/clients/referencedData/.gitignore
new file mode 100644
index 0000000..934e0e0
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/.gitignore
@@ -0,0 +1,2 @@
+/bin
+/target
diff --git a/moaSig/handbook/clients/referencedData/pom.xml b/moaSig/handbook/clients/referencedData/pom.xml
new file mode 100644
index 0000000..e9370cd
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/pom.xml
@@ -0,0 +1,56 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>MOA.spss.handbook.clients</groupId>
+ <artifactId>moa-spss-handbook-clients</artifactId>
+ <version>2.0</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>MOA.spss.handbook</groupId>
+ <artifactId>moa-spss-handbook-referencedData</artifactId>
+ <packaging>war</packaging>
+ <name>MOA SP/SS Handbook Referenced Data</name>
+
+ <properties>
+ <repositoryPath>${basedir}/../../../../../repository</repositoryPath>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <warName>referencedData</warName>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ <addMavenDescriptor>false</addMavenDescriptor>
+ </archive>
+ </configuration>
+ </plugin>
+
+<!-- <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>properties-maven-plugin</artifactId>
+ <version>1.0-alpha-2</version>
+ <executions>
+ <execution>
+ <phase>initialize</phase>
+ <goals>
+ <goal>read-project-properties</goal>
+ </goals>
+ <configuration>
+ <files>
+ <file>${basedir}/../../../../../moa-id.properties</file>
+ </files>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin> -->
+ </plugins>
+ </build>
+</project>
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/META-INF/MANIFEST.MF b/moaSig/handbook/clients/referencedData/src/main/webapp/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..5e94951
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/Text.b64 b/moaSig/handbook/clients/referencedData/src/main/webapp/Text.b64
new file mode 100644
index 0000000..0f4636b
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/Text.b64
@@ -0,0 +1 @@
+RGllc2UgRGF0ZW4gd2FyZW4gYmFzZTY0IGtvZGllcnQu \ No newline at end of file
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/Text.txt b/moaSig/handbook/clients/referencedData/src/main/webapp/Text.txt
new file mode 100644
index 0000000..3a75c06
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/Text.txt
@@ -0,0 +1 @@
+Diese Daten sind reiner Text. \ No newline at end of file
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/WEB-INF/web.xml b/moaSig/handbook/clients/referencedData/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..002520b
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app
+ PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+ <display-name>MOA Webservice Client: Referenzierte Web-Daten</display-name>
+ <description>MOA Webservice Client: Referenzierte Web-Daten</description>
+</web-app>
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.Para.xsl b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.Para.xsl
new file mode 100644
index 0000000..11d6dd6
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.Para.xsl
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="urn:document" xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:output encoding="UTF-8" method="xml" indent="yes"/>
+ <xsl:template match="/">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>HTML-Dokument</title>
+ </head>
+ <body>
+ <xsl:apply-templates/>
+ </body>
+ </html>
+ </xsl:template>
+ <xsl:template match="doc:Paragraph">
+ <p>
+ <xsl:value-of select="child::text()"/>
+ </p>
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.signed.xml b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.signed.xml
new file mode 100644
index 0000000..897b3c8
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.signed.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<doc:XMLDocument xmlns:doc="urn:document">
+ <doc:Paragraph>Ich bin der erste Absatz in diesem Dokument.</doc:Paragraph>
+ <doc:Paragraph ParaId="Para2">Und ich bin der zweite Absatz in diesem Dokument.
+Ich habe weiters ein eigenens ID-Attribut bekommen.</doc:Paragraph><dsig:Signature Id="signature-1-1" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/><dsig:Reference Id="reference-1-1" URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>2b83+NbXDFijHzz+sH0T7fM36sA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>30zsZMPn1mR5G5oIGJvTRmCik3WuepfZF6AhLwxgJDMJlPQ8rheBWCaKihzXnHaS</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIID+DCCA2WgAwIBAgIBCTAJBgUrDgMCHQUAMH8xCzAJBgNVBAYTAkFUMSwwKgYD
+VQQKEyNTdGFic3RlbGxlIElLVC1TdHJhdGVnaWUgZGVzIEJ1bmRlczEeMBwGA1UE
+CxMVVGVjaG5payB1bmQgU3RhbmRhcmRzMSIwIAYDVQQDExlUZXN0IENBIC0gU2ln
+bmF0dXJkaWVuc3RlMB4XDTA0MDgwNDA4MjM0OFoXDTA3MDgwNDA4MjM0OFowgZgx
+CzAJBgNVBAYTAkFUMS0wKwYDVQQKEyRTdGFic3N0ZWxsZSBJS1QtU3RyYXRlZ2ll
+IGRlcyBCdW5kZXMxHjAcBgNVBAsTFVRlY2huaWsgdW5kIFN0YW5kYXJkczE6MDgG
+A1UEAxMxVGVzdDogU2lnbmF0dXJkaWVuc3QgYWxsZXIgS3VuZGVuOiBFQ0RTQSAo
+UDE5MnYxKTCB8zCBvAYHKoZIzj0CATCBsAIBATAkBgcqhkjOPQEBAhkA////////
+/////////////v//////////MDQEGP////////////////////7//////////AQY
+ZCEFGeWcgOcPp+mrciQwSf643uzBRrmxBDEEGI2oDrAwkPZ8vyDrQ6GIAPT/Cv2C
+/xASBxkrlf/I2nhjEBHtayTN1XP5d6EeeUgRAhkA////////////////md74NhRr
+ybG00igxAgEBAzIABNHWY9lQOE1zgmpcpjTg2WIg6qgEsGhpXELPinJoMPDVheTv
+2BZPG42YJsNfvWgC06OCARwwggEYMA4GA1UdDwEB/wQEAwIGwDAMBgNVHRMBAf8E
+AjAAMB0GA1UdDgQWBBRHH5EXnrWosCmIa+JyEM5seMxFVzBdBgNVHSAEVjBUMFIG
+DCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0
+IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2VlaWduZXQuMEMGA1UdHwQ8MDowOKA2
+oDSGMmh0dHA6Ly9sYWJzLmNpby5ndi5hdC90ZW1wL2NybHMvc2lnbmF0dXJkaWVu
+c3QuY3JsMBQGByooAAoBAQEECQwHQktBLUlLVDAfBgNVHSMEGDAWgBRAl0P5fWaw
+vf59+uxGcYY9wffZPTAJBgUrDgMCHQUAA4GBAIMKUsnajgfBtpHeDdMdQMLA8fdt
+lluezDOM78WYYSFURP04QZk5iHkShzptgZCF5Y/T4an3dC3SnytL67LJvEoKUyja
+iTMLo7650xRTvAjTaMJ+nly/wTRYJKplOLXKWj3WwfObMHXdsDE8NJmpJSRE7Sw7
++tj+UiTiNNSaXirq</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo></dsig:Signature>
+</doc:XMLDocument> \ No newline at end of file
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.withResolvableSchemaHint.xml b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.withResolvableSchemaHint.xml
new file mode 100644
index 0000000..4f11246
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.withResolvableSchemaHint.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<doc:XMLDocument xmlns:doc="urn:document" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:document http://localhost:8080/referencedData/XMLDocument.xsd">
+ <doc:Paragraph>Ich bin der erste Absatz in diesem Dokument.</doc:Paragraph>
+ <doc:Paragraph ParaId="Para2">Und ich bin der zweite Absatz in diesem Dokument.
+Ich habe weiters ein eigenens ID-Attribut bekommen.</doc:Paragraph>
+</doc:XMLDocument>
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.withSchemaHint.xml b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.withSchemaHint.xml
new file mode 100644
index 0000000..82f65d9
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.withSchemaHint.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<doc:XMLDocument xmlns:doc="urn:document" xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:document urn:XMLDocument.xsd">
+ <doc:Paragraph>Ich bin der erste Absatz in diesem Dokument.</doc:Paragraph>
+ <doc:Paragraph ParaId="Para2">Und ich bin der zweite Absatz in diesem Dokument.
+Ich habe weiters ein eigenens ID-Attribut bekommen.</doc:Paragraph>
+</doc:XMLDocument>
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xml b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xml
new file mode 100644
index 0000000..1c48dce
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<doc:XMLDocument xmlns:doc="urn:document">
+ <doc:Paragraph>Ich bin der erste Absatz in diesem Dokument.</doc:Paragraph>
+ <doc:Paragraph ParaId="Para2">Und ich bin der zweite Absatz in diesem Dokument.
+Ich habe weiters ein eigenens ID-Attribut bekommen.</doc:Paragraph>
+</doc:XMLDocument>
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xsd b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xsd
new file mode 100644
index 0000000..a2930f1
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xsd
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema targetNamespace="urn:document" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:document" elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="XMLDocument">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Paragraph" maxOccurs="unbounded">
+ <xs:complexType mixed="true">
+ <xs:attribute name="ParaId" type="xs:ID" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xsl b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xsl
new file mode 100644
index 0000000..85755c2
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocument.xsl
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="urn:document">
+ <xsl:output encoding="UTF-8" method="xml" indent="yes"/>
+ <xsl:template match="/doc:XMLDocument">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>HTML-Dokument</title>
+ </head>
+ <body>
+ <xsl:for-each select="doc:Paragraph">
+ <p>
+ <xsl:value-of select="child::text()"/>
+ </p>
+ </xsl:for-each>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocumentRef.xsl b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocumentRef.xsl
new file mode 100644
index 0000000..c385f9d
--- /dev/null
+++ b/moaSig/handbook/clients/referencedData/src/main/webapp/XMLDocumentRef.xsl
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:include href="XMLDocument.Para.xsl"/>
+</xsl:stylesheet>