|
next
|
Subject: Finding Errors in the XML File Author: Sang Kim Date: 31 Aug 2007 12:16 PM
|
We'd like to check an XML file to make sure tags are spelled/used properly. For example, we tried a compile but we noticed in one particular file that we had this through a long search:
<Emphasis Style="Superscripts>
This is obviously incorrect, it should have an end " and no "s" at the end of Superscript.
However, I haven't found a way for Stylus Studio to point this out specifically. I clicked on the "Check Well-Formed" button, and it points out vaguely,
file:///c:/Documents and Settings/test.xml:2,15325: FATAL ERROR: A '<' character cannot be used in attribute 'Style', except through <
It tells me it's in the "Style" attribute, but not specifically where. It doesn't highlight it in the code. It provides, 2, 15325, but that doesn't really help. Do you know what's the best way to find such errors in Stylus Studio?
|
|
|