Bug 420689 - Impossible to disable or lower severity on *.xml validation
Summary: Impossible to disable or lower severity on *.xml validation
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 3.5.1   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2013-10-29 19:55 EDT by Joakim Erdfelt CLA
Modified: 2017-09-28 10:46 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Erdfelt CLA 2013-10-29 19:55:13 EDT
Eclipse Jetty project again.

Looks like its impossible, on Eclipse Kepler, to disable or lower the severity level of XSD/XML issues.

Particularly ones that report as ...

cvc-complex-type.2.2: Element 'res-auth' must have no element [children], and the value must be valid.

This throws up hundreds of warnings on test case XMLs that are valid per the servlet spec, but not valid per the same XSD that the spec declares (don't ask, long story).

We don't mind that it validates, but we should be able to lower this specific kind of validation to a simple warning or ignore, instead it seems to be forced at error always.
Comment 1 Nick Sandonato CLA 2013-11-22 15:59:22 EST
I'm switching this over to an enhancement. We have configurable markup validation, but this requires massaging the parser exceptions with user-configurable severities.