Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 261070
Collapse All | Expand All

(-)src/org/eclipse/wst/wsdl/validation/internal/wsdl11/WSDLDocument.java (-31 lines)
Lines 960-970 Link Here
960
      {
960
      {
961
        msg.addPart(parsePart(tempEl, def));
961
        msg.addPart(parsePart(tempEl, def));
962
      }
962
      }
963
      else
964
      {
965
        // XML Validation will catch this
966
        DOMUtils.throwWSDLException(tempEl);
967
      }
968
963
969
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
964
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
970
    }
965
    }
Lines 1035-1045 Link Here
1035
      {
1030
      {
1036
        part.setDocumentationElement(tempEl);
1031
        part.setDocumentationElement(tempEl);
1037
      }
1032
      }
1038
      else
1039
      {
1040
        // XML Validation will catch this
1041
        DOMUtils.throwWSDLException(tempEl);
1042
      }
1043
1033
1044
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
1034
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
1045
    }
1035
    }
Lines 1253-1264 Link Here
1253
      {
1243
      {
1254
        faults.add(parseFault(tempEl, def));
1244
        faults.add(parseFault(tempEl, def));
1255
      }
1245
      }
1256
      else
1257
      {
1258
        // invalid element in the operation
1259
        // XML check will catch this
1260
        DOMUtils.throwWSDLException(tempEl);
1261
      }
1262
1246
1263
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
1247
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
1264
    }
1248
    }
Lines 1711-1721 Link Here
1711
      {
1695
      {
1712
        input.setDocumentationElement(tempEl);
1696
        input.setDocumentationElement(tempEl);
1713
      }
1697
      }
1714
      else
1715
      {
1716
        // XML Validation will catch this
1717
        DOMUtils.throwWSDLException(tempEl);
1718
      }
1719
1698
1720
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
1699
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
1721
    }
1700
    }
Lines 1776-1786 Link Here
1776
      {
1755
      {
1777
        output.setDocumentationElement(tempEl);
1756
        output.setDocumentationElement(tempEl);
1778
      }
1757
      }
1779
      else
1780
      {
1781
        // XML Validation will catch this
1782
        DOMUtils.throwWSDLException(tempEl);
1783
      }
1784
1758
1785
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
1759
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
1786
    }
1760
    }
Lines 1841-1851 Link Here
1841
      {
1815
      {
1842
        fault.setDocumentationElement(tempEl);
1816
        fault.setDocumentationElement(tempEl);
1843
      }
1817
      }
1844
      else
1845
      {
1846
        // XML Validation will catch this
1847
        DOMUtils.throwWSDLException(tempEl);
1848
      }
1849
1818
1850
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
1819
      tempEl = DOMUtils.getNextSiblingElement(tempEl);
1851
    }
1820
    }

Return to bug 261070