XML missing interferes with rederning
on opening the above link, there is a message
"This XML file does not appear to have any style information associated
with it. The document tree is shown below."
and it is displayed in XML text format.
Frankly, it is not html content so I don't really know how else should
be displayed, but the error message makes me think that something should
be done about it.
Re: XML missing interferes with rederning
V S Rawat wrote:[color=blue]
> on opening the above link, there is a message
> "This XML file does not appear to have any style information associated
> with it. The document tree is shown below."
> and it is displayed in XML text format.
> Frankly, it is not html content so I don't really know how else should
> be displayed, but the error message makes me think that something should
> be done about it.
> any help.[/color]
The only one who could do anything about it, is the site
owner/developer, by assigning a stylesheet to it.
However, I suspect that particular file probably wasn't designed to be
read directly in a browser, but, rather, read in by another script, or
application, to include the *data* from that file, in another
Hmm, as a matter of fact, that appears to be *exactly* the case. Go to
"Hi5 Developer Center
All the latest news on *developing applications that interface* with Hi5."
So, the data that you access through that sub domain, *api*.hi5.com, is
not intended for *end-users*, but rather, *developers*, who would take
the data and then format it in whatever style they choose.
The message, though, is clear enough, that there is *no* style
information associated with the XML file. Its not an "error", but a
FF does the only thing it can do, short of just displaying XML the
source. It shows you the tree, which, IMO, is easier, or 'prettier', to
read than if you view the source, at least in this case. However, if
your preference is to see the source, then CTRL+U will do so.
While I don't know the history behind it, I don't believe that *raw* XML
was ever *intended* to be presented directly to the end-user, without
some sort of pre-processing, with an associated style sheet, script, or
Hmm, ok, here is the, now completed, RFE for 'pretty print' displaying
of XML documents lacking style information, which pretty much backs up
what I've said, above:
Bug 64945 (xmlview) – Better Default layout for "vanilla" XML documents