🐞 Ng lint produces to Multiple XML content in single file
- [ x] new
- [x ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [x ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Is this a regression? Yes
Angular 5 Was not having this issue. Once we moved to Angular 7 we are facing this issue.
Description
when we use ng lint for checkstyle it produces multiple xml content. This result in parsing failure of the xml.
🔬 Minimal Reproduction
when i run this
ng lint --format checkstyle > result-checkstyle.xml;
the result file contains :
<?xml version="1.0" encoding="utf-8"?><checkstyle version="4.3"><file name="../shoppingcart-ang7/shoppingcart/src/app/app.component.ts"><error line="208" column="160" severity="error" message="trailing whitespace" source="failure.tslint.no-trailing-whitespace" /></file></checkstyle>
<?xml version="1.0" encoding="utf-8"?><checkstyle version="4.3"></checkstyle>
This result in xml parsing error.
🐞 Ng lint produces to Multiple XML content in single file
Is this a regression? Yes
Angular 5 Was not having this issue. Once we moved to Angular 7 we are facing this issue.
Description
when we use ng lint for checkstyle it produces multiple xml content. This result in parsing failure of the xml.
🔬 Minimal Reproduction
when i run this
ng lint --format checkstyle > result-checkstyle.xml;
the result file contains :
This result in xml parsing error.