http://cocoon.zones.apache.org/daisy/cocooninaction/14.html is the URL of the tutorial that I am trying to follow.

The file that is part of the tutorial does not have CDATA in it and I assume that the author has tested it That is why I suspect that there must be another setting required to make this work properly. I am reluctant to start correcting a tutorial when I am just starting out using Cocoon.

I have gone backto working with another tutorial until this gets resolved.

Ron

Upayavira wrote:

Ron Wheeler wrote:

The /build-cocoon-targets.xml/ <http://cocoon.zones.apache.org/daisy/cocooninaction/17.html> file halts with an error at line 325 when I try to run it


I get  the same error mesage

C:\eclipse\workspace\Cocoon Tutorial\build-testecho.xml:4: The processing instru
ction target matching "[xX][mM][lL]" is not allowed.

when I execute a small test file consisting of:

<project>
<echo>This is a test</echo>
<echo file="test.out">
       <?xml version="1.0"?>
</echo>
</project>


What has to be done to make echo ignore the contents of what is being echoed.


Er, wrap it in CDATA tags?

<![CDATA[<?xml version="1.0"?>
]]>

Make sure nothing comes before <?. Must be first char in file.

Dunno if that would do it. But then, I'm not sure if I really understand what you're trying to do, as I don't know the tutorial you're talking about :-(

Upayavira

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to