Israel Lopez
← Writing

Wild goose chases with error messages

Computers can only tell you what it knows, this is relevant when dealing with error messages.  

A typical error message when dealing with XML data is parsing the format. If a computer does not like the XML data it will say something like

There is an error in XML document (1, 1371).

The format says there is an error in (Line, Column). Unfortunately the data the computer was given was all in one line with no spacing. So trying to understand _where_ we had a problem can be a bit difficult.  Since we like to read structured data in “Pretty Print” lines, indents etc,. 

Spending about an hour dealing with what I thought was a problem, really wasn’t was a hard lesson to learn today.  At least it was just an hour.

Search

Loading…