I simply display an XML file containing the following tag
<area>1</area>
This gives me (in the browser window) the error message (not in the usual
Cocoon error layout, but black on white):
-----
XML parsing error
fatal parsing error: the document is not in the correct file format in
line 16, column 13
<area>1</area>
^
-----
Noteworthy behaviour:
I do not get an error for
<area> </area>
<area></area>
<area/>
and the error is case-insesitive (<Area/>1<Area> makes an error).
The sitemap fragment is as simple as it can get:
<!-- Get single file -->
<map:match pattern="**.xml">
<map:generate src="docs/publication/live/{1}.xml"/>
<map:serialize type="xml" />
</map:match>
Also using xalan / xerces from the command-line produces no error, so this
seems to be a cocoonish behaviour
My system:
CVS Head from July 1 2002, Linux PIII, tomcat 4.1-dev (2002/01/17)
Any help is highly appreciated!
Martin
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>