cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tinu <t...@email.ch>
Subject [BUG?] Strange behaviour with <area/> tag
Date Thu, 11 Jul 2002 19:41:05 GMT

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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message