apazureck / openui5vscodeTypescriptTools

Tools for openui5 to enhance productivity using VS Code
MIT License
22 stars 5 forks source link

invalid "Double attribute" xml error #43

Open lmcarreiro opened 6 years ago

lmcarreiro commented 6 years ago

If I have two different elements on the same line, with the same attribute, the xml parser is identifying an error: "[xmllint] Double attribute 'text'"

Example: <Label text="{i18n>someLabel}" /><Text text="{model>someField}" />

If I put a line break between the two elements, the is no error:

<Label text="{i18n>someLabel}" />
<Text text="{model>someField}" />
apazureck commented 6 years ago

Thanks for reporting, that's a bug. I think I just get the line and check if the label is there twize. I hope to fix that in the next weeks.