diff --git a/edec-codelist-tools/pom.xml b/edec-codelist-tools/pom.xml index 855d951..ef9c79a 100644 --- a/edec-codelist-tools/pom.xml +++ b/edec-codelist-tools/pom.xml @@ -88,7 +88,7 @@ com.helger.peppol peppol-commons-parent-pom - 9.1.1-SNAPSHOT + 9.1.1 pom import diff --git a/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/DocTypeRow.java b/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/DocTypeRow.java index d91d57f..bd9ada9 100644 --- a/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/DocTypeRow.java +++ b/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/DocTypeRow.java @@ -131,7 +131,7 @@ public void checkConsistency () if (!PeppolIdentifierFactory.INSTANCE.isDocumentTypeIdentifierSchemeValid (m_sScheme)) throw new IllegalStateException ("Scheme does not match Peppol requirements"); - if (!PeppolIdentifierFactory.INSTANCE.isDocumentTypeIdentifierValueValid (m_sValue)) + if (!PeppolIdentifierFactory.INSTANCE.isDocumentTypeIdentifierValueValid (m_sScheme, m_sValue)) throw new IllegalStateException ("Value does not match Peppol requirements"); final IPeppolDocumentTypeIdentifierParts aParts = PeppolDocumentTypeIdentifierParts.extractFromString (m_sValue); if (aParts == null) diff --git a/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/ProcessRow.java b/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/ProcessRow.java index 36f8872..1ae63d3 100644 --- a/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/ProcessRow.java +++ b/edec-codelist-tools/src/main/java/eu/peppol/codelist/model/ProcessRow.java @@ -83,7 +83,7 @@ public void checkConsistency () if (!PeppolIdentifierFactory.INSTANCE.isProcessIdentifierSchemeValid (m_sScheme)) throw new IllegalStateException ("Scheme does not match Peppol requirements"); - if (!PeppolIdentifierFactory.INSTANCE.isProcessIdentifierValueValid (m_sValue)) + if (!PeppolIdentifierFactory.INSTANCE.isProcessIdentifierValueValid (m_sScheme, m_sValue)) throw new IllegalStateException ("Value does not match Peppol requirements"); }