cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26512] - The xml/xsl is validating against the DTD even though it is disabled
Date Thu, 29 Jan 2004 10:16:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26512>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26512

The xml/xsl is validating against the DTD even though it is disabled





------- Additional Comments From tomasz.bech@bull.com.pl  2004-01-29 10:15 -------
I found the real problem.
It only apprears when doctype is in the xsl document imported by xsl:import.
File A:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE CONTRREPORT [ <!ENTITY nbsp  "&#160;"> ]>

<xsl:stylesheet version="1.0"
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:i18n="http://apache.org/cocoon/i18n/2.0"
		xmlns:cinclude="http://apache.org/cocoon/include/1.0"
    xmlns:i2="http://www.bull.com.pl/i2">					

	<xsl:import href="FileB.xsl"/>
...
</xsl:strylesheet>

File B:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE CONTRREPORT [ <!ENTITY nbsp  "&#160;"> ]>

<xsl:stylesheet version="1.0"
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:i18n="http://apache.org/cocoon/i18n/2.0"
		xmlns:cinclude="http://apache.org/cocoon/include/1.0"
    xmlns:i2="http://www.bull.com.pl/i2">					

...
</xsl:strylesheet>

And the error is generated for FileB. If FileB used directly no error.
So it is probably the bug of parser not the cocoon configuration.

Mime
View raw message