aboutsummaryrefslogtreecommitdiff
path: root/moaSig/common/src/main/resources
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-02-19 10:21:44 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-02-19 10:21:44 +0100
commit33e3851a1a625e643ece64cacc8247640bd0c470 (patch)
treea28ea122531a49a60c3b26c33d819ee2502edf69 /moaSig/common/src/main/resources
parent0a694ef6ca0831053c8c89ba593e462770f76b7e (diff)
downloadmoa-sig-33e3851a1a625e643ece64cacc8247640bd0c470.tar.gz
moa-sig-33e3851a1a625e643ece64cacc8247640bd0c470.tar.bz2
moa-sig-33e3851a1a625e643ece64cacc8247640bd0c470.zip
fix possible NullPointerException
Diffstat (limited to 'moaSig/common/src/main/resources')
-rw-r--r--moaSig/common/src/main/resources/resources/schemas/MOA-SPSS-3.1.2.xsd6
1 files changed, 2 insertions, 4 deletions
diff --git a/moaSig/common/src/main/resources/resources/schemas/MOA-SPSS-3.1.2.xsd b/moaSig/common/src/main/resources/resources/schemas/MOA-SPSS-3.1.2.xsd
index f8ad010..69834b2 100644
--- a/moaSig/common/src/main/resources/resources/schemas/MOA-SPSS-3.1.2.xsd
+++ b/moaSig/common/src/main/resources/resources/schemas/MOA-SPSS-3.1.2.xsd
@@ -331,17 +331,15 @@
<xsd:element name="CertificateCheck" type="CheckResultType"/>
<xsd:element name="FormCheckResult" type="FormResultType" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="ExtendedCertificateCheck" type="ExtendedCertificateCheckResultType" minOccurs="0" maxOccurs="1"/>
- <xsd:element name="SignatureProperties" type="PDFSignatureProperties" minOccurs="0" maxOccurs="1" />
+ <xsd:element name="SignatureProperties" type="PDFSignatureProperties" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
-
<xsd:complexType name="PDFSignatureProperties">
<xsd:sequence>
<xsd:element name="SignatureCoversFullPDF" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
<xsd:element name="SignatureByteRange" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
-
<!--########## Verify XML Signature ### -->
<!--### Verify XML Signature Request ### -->
<xsd:element name="VerifyXMLSignatureRequest" type="VerifyXMLSignatureRequestType"/>
@@ -601,7 +599,7 @@
<xsd:restriction base="AnyChildrenType">
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element name="FailedReference" type="xsd:positiveInteger" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="FailedReference" type="xsd:positiveInteger" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:restriction>
</xsd:complexContent>