#10305 closed defect (wontfix)
XML validator not properly working
Reported by: | skyper | Owned by: | stoecker |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Trac | Version: | |
Keywords: | xml warning change | Cc: |
Description
Trying to upload these changes without the two in the header resulted in a strange warning.
Warning: Invalid wiki page: XML validation for preset failed: attributes construct error, line 100, column 35
A warning would have been nice for this change where nothing did show up and I forgot the text block ending }}}
.
Attachments (0)
Change History (3)
follow-up: 2 comment:1 by , 11 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
follow-up: 3 comment:2 by , 11 years ago
Replying to stoecker:
Sorry, but wiki syntax comes first and XML later. So when wiki is broken it doesn't even come to XML checking.
Wait a minute. I am talking about two issues:
- I opened the ticket cause I got above warning when trying to commit a valid change. The two changes on top of the accepted commit are only cosmetic changes.
- I did not get a warning about problematic change when I did forget to close the text box. The wiki page was fixed before my next commit.
There seems to be some problem with the validation of either wiki or xml syntax or even both.
comment:3 by , 11 years ago
- I opened the ticket cause I got above warning when trying to commit a valid change. The two changes on top of the accepted commit are only cosmetic changes.
How could you commit it then? XML validation is an error which prevents submission. I assume there was another issue as well which you probably silently fixed.
- I did not get a warning about problematic change when I did forget to close the text box. The wiki page was fixed before my next commit.
As said, This cannot be checked. Without proper Wiki syntax it is not detected as XML and Trac does not forbid to have improper wiki syntax.
Sorry, but wiki syntax comes first and XML later. So when wiki is broken it doesn't even come to XML checking.