Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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)

comment:1 Changed 7 years ago by stoecker

Resolution: wontfix
Status: newclosed

Sorry, but wiki syntax comes first and XML later. So when wiki is broken it doesn't even come to XML checking.

comment:2 in reply to:  1 ; Changed 7 years ago by skyper

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:

  1. 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.
  2. 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 in reply to:  2 Changed 7 years ago by stoecker

  1. 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.

  1. 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stoecker.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.