Skip to content

Commit e1327ce

Browse files
committed
Unable to embed a results-only view of the validator in iframes
1 parent 0f436a7 commit e1327ce

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

xmlvalidator-web/src/main/java/eu/europa/ec/itb/xml/upload/UploadController.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -417,15 +417,15 @@ public UploadResult<Translations> handleUploadMinimal(@PathVariable("domain") St
417417
@RequestParam(value = "validationType", defaultValue = "") String validationType,
418418
@RequestParam(value = "contentType", defaultValue = "") String contentType,
419419
@RequestParam(value = "contentType-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false, defaultValue = "") String[] externalSchema,
420-
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required= false) MultipartFile[] externalSchemaFiles,
420+
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false) MultipartFile[] externalSchemaFiles,
421421
@RequestParam(value = "uri-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false, defaultValue = "") String[] externalSchemaUri,
422422
@RequestParam(value = "text-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false, defaultValue = "") String[] externalSchemaString,
423423
@RequestParam(value = "contentType-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false, defaultValue = "") String[] externalSch,
424-
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required= false) MultipartFile[] externalSchFiles,
424+
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false) MultipartFile[] externalSchFiles,
425425
@RequestParam(value = "uri-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false, defaultValue = "") String[] externalSchUri,
426426
@RequestParam(value = "text-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false, defaultValue = "") String[] externalSchString,
427427
@RequestParam(value = "contentType-contextFile", required = false, defaultValue = "") String[] contextFileTypes,
428-
@RequestParam(value = "inputFile-contextFile", required= false) MultipartFile[] contextFileFiles,
428+
@RequestParam(value = "inputFile-contextFile", required = false) MultipartFile[] contextFileFiles,
429429
@RequestParam(value = "uri-contextFile", required = false, defaultValue = "") String[] contextFileUris,
430430
@RequestParam(value = "text-contextFile", required = false, defaultValue = "") String[] contextFileStrings,
431431
RedirectAttributes redirectAttributes,
@@ -447,15 +447,15 @@ public ModelAndView handleUploadEmbedded(@PathVariable("domain") String domain,
447447
@RequestParam(value = "validationType", defaultValue = "") String validationType,
448448
@RequestParam(value = "contentType", defaultValue = "") String contentType,
449449
@RequestParam(value = "contentType-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false, defaultValue = "") String[] externalSchema,
450-
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required= false) MultipartFile[] externalSchemaFiles,
450+
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false) MultipartFile[] externalSchemaFiles,
451451
@RequestParam(value = "uri-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false, defaultValue = "") String[] externalSchemaUri,
452452
@RequestParam(value = "text-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false, defaultValue = "") String[] externalSchemaString,
453453
@RequestParam(value = "contentType-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false, defaultValue = "") String[] externalSch,
454-
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required= false, defaultValue = "") MultipartFile[] externalSchFiles,
454+
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false) MultipartFile[] externalSchFiles,
455455
@RequestParam(value = "uri-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false, defaultValue = "") String[] externalSchUri,
456456
@RequestParam(value = "text-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false, defaultValue = "") String[] externalSchString,
457457
@RequestParam(value = "contentType-contextFile", required = false, defaultValue = "") String[] contextFileTypes,
458-
@RequestParam(value = "inputFile-contextFile", required= false) MultipartFile[] contextFileFiles,
458+
@RequestParam(value = "inputFile-contextFile", required = false) MultipartFile[] contextFileFiles,
459459
@RequestParam(value = "uri-contextFile", required = false, defaultValue = "") String[] contextFileUris,
460460
@RequestParam(value = "text-contextFile", required = false, defaultValue = "") String[] contextFileStrings,
461461
RedirectAttributes redirectAttributes,
@@ -480,15 +480,15 @@ public ModelAndView handleUploadMinimalEmbedded(@PathVariable("domain") String d
480480
@RequestParam(value = "validationType", defaultValue = "") String validationType,
481481
@RequestParam(value = "contentType", defaultValue = "") String contentType,
482482
@RequestParam(value = "contentType-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false, defaultValue = "") String[] externalSchema,
483-
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required= false, defaultValue = "") MultipartFile[] externalSchemaFiles,
483+
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required= false) MultipartFile[] externalSchemaFiles,
484484
@RequestParam(value = "uri-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false, defaultValue = "") String[] externalSchemaUri,
485485
@RequestParam(value = "text-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMA, required = false, defaultValue = "") String[] externalSchemaString,
486486
@RequestParam(value = "contentType-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false, defaultValue = "") String[] externalSch,
487-
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required= false) MultipartFile[] externalSchFiles,
487+
@RequestParam(value = "inputFile-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false) MultipartFile[] externalSchFiles,
488488
@RequestParam(value = "uri-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false, defaultValue = "") String[] externalSchUri,
489489
@RequestParam(value = "text-external_"+DomainConfig.ARTIFACT_TYPE_SCHEMATRON, required = false, defaultValue = "") String[] externalSchString,
490490
@RequestParam(value = "contentType-contextFile", required = false, defaultValue = "") String[] contextFileTypes,
491-
@RequestParam(value = "inputFile-contextFile", required= false) MultipartFile[] contextFileFiles,
491+
@RequestParam(value = "inputFile-contextFile", required = false) MultipartFile[] contextFileFiles,
492492
@RequestParam(value = "uri-contextFile", required = false, defaultValue = "") String[] contextFileUris,
493493
@RequestParam(value = "text-contextFile", required = false, defaultValue = "") String[] contextFileStrings,
494494
RedirectAttributes redirectAttributes,

0 commit comments

Comments
 (0)