Skip to content
Permalink
Browse files

Bedre restrictions på NorskPostnummer og Landkode

  • Loading branch information...
runeflobakk committed Apr 14, 2014
1 parent 4a9204c commit 0849d59b0ff4f7f6d8c064c4edcaf0a8f7b65ce0
Showing with 4 additions and 2 deletions.
  1. +4 −2 xsd/sdp-melding.xsd
@@ -260,7 +260,9 @@


<xsd:simpleType name="NorskPostnummer">
<xsd:restriction base="xsd:string" />
<xsd:restriction base="xsd:string">
<xsd:pattern value="\d{4}" />
</xsd:restriction>
</xsd:simpleType>


@@ -293,7 +295,7 @@
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="2" />
<xsd:pattern value="[a-zA-Z]{2}"></xsd:pattern>
</xsd:restriction>
</xsd:simpleType>

0 comments on commit 0849d59

Please sign in to comment.
You can’t perform that action at this time.