aboutsummaryrefslogtreecommitdiff
path: root/spss/handbook/clients/referencedData/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'spss/handbook/clients/referencedData/src/main')
-rw-r--r--spss/handbook/clients/referencedData/src/main/resources/Text.b641
-rw-r--r--spss/handbook/clients/referencedData/src/main/resources/Text.txt1
-rw-r--r--spss/handbook/clients/referencedData/src/main/resources/XMLDocument.Para.xsl19
-rw-r--r--spss/handbook/clients/referencedData/src/main/resources/XMLDocument.signed.xml27
-rw-r--r--spss/handbook/clients/referencedData/src/main/resources/XMLDocument.withResolvableSchemaHint.xml6
-rw-r--r--spss/handbook/clients/referencedData/src/main/resources/XMLDocument.withSchemaHint.xml6
-rw-r--r--spss/handbook/clients/referencedData/src/main/resources/XMLDocument.xml6
-rw-r--r--spss/handbook/clients/referencedData/src/main/resources/XMLDocument.xsd15
-rw-r--r--spss/handbook/clients/referencedData/src/main/resources/XMLDocument.xsl18
-rw-r--r--spss/handbook/clients/referencedData/src/main/resources/XMLDocumentRef.xsl4
-rw-r--r--spss/handbook/clients/referencedData/src/main/webapp/WEB-INF/web.xml10
11 files changed, 113 insertions, 0 deletions
diff --git a/spss/handbook/clients/referencedData/src/main/resources/Text.b64 b/spss/handbook/clients/referencedData/src/main/resources/Text.b64
new file mode 100644
index 000000000..0f4636b9a
--- /dev/null
+++ b/spss/handbook/clients/referencedData/src/main/resources/Text.b64
@@ -0,0 +1 @@
+RGllc2UgRGF0ZW4gd2FyZW4gYmFzZTY0IGtvZGllcnQu \ No newline at end of file
diff --git a/spss/handbook/clients/referencedData/src/main/resources/Text.txt b/spss/handbook/clients/referencedData/src/main/resources/Text.txt
new file mode 100644
index 000000000..3a75c06b3
--- /dev/null
+++ b/spss/handbook/clients/referencedData/src/main/resources/Text.txt
@@ -0,0 +1 @@
+Diese Daten sind reiner Text. \ No newline at end of file
diff --git a/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.Para.xsl b/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.Para.xsl
new file mode 100644
index 000000000..11d6dd6f9
--- /dev/null
+++ b/spss/handbook/clients/referencedData/src/main/resources/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/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.signed.xml b/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.signed.xml
new file mode 100644
index 000000000..897b3c896
--- /dev/null
+++ b/spss/handbook/clients/referencedData/src/main/resources/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/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.withResolvableSchemaHint.xml b/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.withResolvableSchemaHint.xml
new file mode 100644
index 000000000..4f1124637
--- /dev/null
+++ b/spss/handbook/clients/referencedData/src/main/resources/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/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.withSchemaHint.xml b/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.withSchemaHint.xml
new file mode 100644
index 000000000..82f65d99e
--- /dev/null
+++ b/spss/handbook/clients/referencedData/src/main/resources/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/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.xml b/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.xml
new file mode 100644
index 000000000..1c48dce36
--- /dev/null
+++ b/spss/handbook/clients/referencedData/src/main/resources/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/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.xsd b/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.xsd
new file mode 100644
index 000000000..a2930f1da
--- /dev/null
+++ b/spss/handbook/clients/referencedData/src/main/resources/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/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.xsl b/spss/handbook/clients/referencedData/src/main/resources/XMLDocument.xsl
new file mode 100644
index 000000000..85755c2e6
--- /dev/null
+++ b/spss/handbook/clients/referencedData/src/main/resources/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/spss/handbook/clients/referencedData/src/main/resources/XMLDocumentRef.xsl b/spss/handbook/clients/referencedData/src/main/resources/XMLDocumentRef.xsl
new file mode 100644
index 000000000..c385f9d1f
--- /dev/null
+++ b/spss/handbook/clients/referencedData/src/main/resources/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>
diff --git a/spss/handbook/clients/referencedData/src/main/webapp/WEB-INF/web.xml b/spss/handbook/clients/referencedData/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 000000000..002520ba5
--- /dev/null
+++ b/spss/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>