You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Curro, Joseph" <Jo...@time0.com> on 2000/01/26 20:58:14 UTC

RE: White space is required between the version and the encoding decl aration.

I was able to solve this problem by removing the XML declaration from the
XML files I wanted to include.

Joe

-----Original Message-----
From: Curro, Joseph [mailto:Joseph.Curro@time0.com]
Sent: Wednesday, January 26, 2000 1:39 PM
To: Cocoon Users (E-mail)
Subject: White space is required between the version and the encoding
decl aration.


I am getting the above error whenever I try to include external entities, as
follows.  I am using Cocoon 1.6.1-dev.  When I remove the external entities,
the problem goes away.

Any ideas?

Thanks.

Joe

---

<?xml version="1.0"?>
<!DOCTYPE page [
	<!ENTITY globalnav SYSTEM "c:/searchproto/common/globalnav.xml">
	<!ENTITY copyright SYSTEM "c:/searchproto/common/copyright.xml">
]>
<?xml-stylesheet href="login.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>

<page>
	&globalnav;
	&copyright;
	<content>Deleted for brevity.</content>
</page>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org