Yes ... we also have this problem in our XSP pages - it adds source code to generated .java pages to include namespace declaration attributes in every element we produce using XSP. Our configuration is: Cocoon 1.8.3, Saxon 6.2.2. Does anybody other have these problems with SAXON as XSLT transformer ? Have anyone found the solution for this problem ? Thanks Peter > -----Original Message----- > From: Steven Punte [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 21, 2001 9:02 PM > To: [EMAIL PROTECTED] > Subject: HELP: Too many namespace attributes with Saxon > > > When using Saxon, each and every node is specified with > detailed namespace information. For example: > > Xalan: > > <page> > .... > </page> > > > Saxon: > > <page > xmlns:xml http://www.w3.org/XML/1998/namespace > xmlns:xsp http://www.apache.org/1999/XSP/Core > > .... > </page> > > > While this is perhaps "more correct", it quickly > and needlessly pushes me over the 64K byte JVM > limitation. > > Does anyone know a way of suppressing this behavior? > > Thanks: > > Steve Punte > > > > > FRAGMETN OUTPUT JAVA FILE USING XALAN > > xspCurrentNode = > document.createElement("page"); > xspParentNode.appendChild(xspCurrentNode); > > > SAME FRAGMENT OUTPUT JAVA FILE USING SAXON > > xspCurrentNode = > document.createElement("page"); > xspParentNode.appendChild(xspCurrentNode); > > ((Element) xspCurrentNode).setAttribute( > "xmlns:xml", > "http://www.w3.org/XML/1998/namespace" > ); > > ((Element) xspCurrentNode).setAttribute( > "xmlns:xsp", > "http://www.apache.org/1999/XSP/Core" > ); > > > > > > _______________________________________________________ > Send a cool gift with your E-Card > http://www.bluemountain.com/giftcenter/ > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>