Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 93637 invoked by uid 500); 3 Dec 2001 23:38:21 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 93626 invoked from network); 3 Dec 2001 23:38:20 -0000 From: "Christopher Watson" To: Subject: RE: Cocoon 2.0 release, IE5.5, XML NAMESPACE Date: Mon, 3 Dec 2001 23:35:03 -0000 Message-ID: <000501c17c53$22ba0270$de24989e@wotcha> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <000701c17a94$7cca3660$01010101@wotcha> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Dear All I've fixed my own problem, but only by changing source and rebuilding cocoon, namely file org.apache.cocoon.components.language.markup.xsp.java.xsp.xsl lines 131 ... changed line 133 added filtering out of "xmlns:xml" namespace in addition to the one mentioned in the comment, thus - this.contentHandler.startPrefixMapping( "", "" ); ALSO changed line 148 (the endPrefixMapping call) to follow suite !!! Now I can once more use that lovely IE5.5 pretty-printing to see what my xsp's are doing ;> BUT ... Have I just fixed a bug? Or is the bug in IE5.5? Any Answers ? -----Original Message----- From: Christopher Watson [mailto:cwatson@taraserv.demon.co.uk] Sent: 01 December 2001 16:05 To: Cocoon-Users (E-mail) Subject: Cocoon 2.0 release, IE5.5, XML NAMESPACE Dear Group I've just started looking at Release 2.0 Looking at the output of xsp pages, they now include the namespace for xml, i.e. xmlns:xml="http://www.w3.org/XML/1998/namespace" This results in the following behaviour in IE5.5 ... The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. ---------------------------------------------------------------------------- ---- The namespace prefix is not allowed to start with the reserved string "xml". Line 2, Position 7 after in the sitemap and try http://localhost:8080/cocoon/xsp-plain-xml/simple A few questions ... Is IE5.5 right to say <> ? Does IE6 or another browser allow xml with this namespace decl to be displayed in a tree structure ? Is there a way of supressing this namespace decl in release 2.0 ? Any thanks gratefully received Christopher --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: