At 09:42 AM 02/15/2001 -0600, Gavin Landon wrote:
>Can someone tell me where I can find a list of all invalid characters for
>See the error I get.
>Now click on the link that shows the xml that is being generated:
>I can find no probelm with the XML, but MSXML blows up.
I don't think the problem is with the XML being generated, but with the XML
source tree -- particularly the value of the DESCRIPTION attribute to the
source tree's CONTENT element. If you follow the second link above, it
...have been developed by Behavioral Scientists and Ph.D.?s in...
where the character at the point of the question mark is the one that's in
error. Since this is an attribute value, I wouldn't be surprised if the
character in question turns out to be a quotation mark, which would be
taken as a premature ending of the attribute value, or (if there's a typo)
something like a < character.
There's not really any such thing as an "illegal character"; it depends on
the encoding you're using. Most likely, you've got to pre-process the raw
data to ensure that there aren't any embedded markup-significant
characters, and if there are any, to replace them with their
entity-reference equivalents (e.g. ' for an apostrophe).
(Btw, in case you didn't know, you're using the old,
no-longer-supported-even-by-Microsoft version of the "XSL language." The
tipoff is the namespace URI associated with the xsl: prefix in your
stylesheet, "http://www.w3.org/TR/WD-xsl"; the correct URI is
John E. Simpson | "Is it weird in here, or is it just
http://www.flixml.org | me?" -- Steven Wright
XML Q&A: www.xml.com |