Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WINDUP-997: spring-mvc.xml as invalid by 'XML File is not valid' rule #935

Merged
merged 1 commit into from May 20, 2016

Conversation

jsight
Copy link
Member

@jsight jsight commented May 18, 2016

sourceFile.setGenerateSourceReport(true);

ClassificationService classificationService = new ClassificationService(event.getGraphContext());
ClassificationModel model =classificationService.attachClassification(context, sourceFile, XmlFileModel.NOT_VALID_XML,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space :)

@OndraZizka
Copy link
Contributor

We have the Unparsable files report, does this count with it? I know that if it doesn't, the original did not either, but once on it, we should add it to the unparsables.
The way to mark it so is to add set the parseError property.

@jsight
Copy link
Member Author

jsight commented May 19, 2016

I don't think we have generally treated a xsd validation error as "unparsable". In many cases these files are actually valid and working within their context, which isn't really the same as unparsable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants