aboutsummaryrefslogtreecommitdiff
path: root/moaSig/handbook/clients/referencedData/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'moaSig/handbook/clients/referencedData/src/main')
-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
12 files changed, 116 insertions, 0 deletions
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
+CxMVVGVjaG5payB1bmQgU3RhbmRhcmRzM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ShzptgZCF5Y/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>