Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9752 closed defect (worksforme)

Loading of JOSM cryptic preset debug/error message

Reported by: lists@… Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: Cc:

Description

During loading of JOSM, I get this error message, obviously something not right in a home-made preset, but I can't identify what is wrong, so I don't know what to search for, the file is more than 6000 lines, so without a more understandable error message it is like searching for a needle in a haystack

(would be an improvement if debugging messages for presets and map paints gave a line number for the error)

Attachments (1)

JOSM Error.png (68.2 KB ) - added by lists@… 10 years ago.
JOSM error message

Download all attachments as: .zip

Change History (4)

by lists@…, 10 years ago

Attachment: JOSM Error.png added

JOSM error message

comment:1 by Don-vip, 10 years ago

Resolution: worksforme
Status: newclosed

There's a "&B" somewhere in the XML file. You probably want to write "&B". See http://en.m.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references for details.

comment:2 by Aun Johnsen <lists@…>, 10 years ago

If the error message had given me a line number I would have found it by myself, "&B" didn't say me much by itself, but had I gotten the line number than I would have realised the error very easily. I had other (though more searchable) errors as well, such as keyword without =

I don't think adding line number to error messages would be too difficult to code - should be put on a todo list (some errors handle it already)

comment:3 by Don-vip, 10 years ago

It is more difficult than you think as parsing errors are raised by Java's parser and we have no control on error messages contents. Entities are an important notion in HTML/XML. Everyone writing XML should know about them.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.