IllegalArgumentException not thrown when wrong syntax value is set for javax.xml.catalog.files

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: xml
    • 9
    • b112

      The following code
      CatalogFeatures features = CatalogFeatures.builder()
                      .with(CatalogFeatures.Feature.FILES, files)
                      .build();
      is expected to throw IllegalArgumentException for bad syntax values for files. The bad syntax includes null, "file:a/b\c", "", "file:/../../.."

            Assignee:
            Joe Wang
            Reporter:
            Prabushankar Chinnasamy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: