DO NOT REPLY [Bug 32225] New: - [PATCH] prefixed attibutes for fo: namespace

2004-11-13 Thread bugzilla
/show_bug.cgi?id=32225 [PATCH] prefixed attibutes for fo: namespace Summary: [PATCH] prefixed attibutes for fo: namespace Product: Fop Version: 0.20.5 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority

Re: namespace-prefixes

2004-03-05 Thread Simon Pepping
in the recent past. It took me a little while, but I now remember again why I did not want to use the XMLReaderFactory. I do not understand how I can guarantee that I get an XMLReader that is capable of validation. In SAXParserFactory I can configure the factory to look for a validating and namespace-aware

Re: namespace-prefixes

2004-03-05 Thread Elliotte Rusty Harold
for a validating and namespace-aware parser. In XMLReaderFactory, it may produce an XMLReader which throws an exception when I want to set the validating feature on it. This is a new one for me, and I can see how you might think SAXParserFactory guarantees validation by looking at the API docs

Re: namespace-prefixes

2004-03-05 Thread Elliotte Rusty Harold
By the way, if you're curious you can look at the code for SAXParserFactory (and its default concrete subclass in Java 1.4) in the Apache Crimson CVS (which is ungodly slow today, not sure why). It's easy to see that it never returns any parser other than Crimson, regardless of what features

Re: namespace-prefixes

2004-03-04 Thread Peter B. West
Glen Mazza wrote: --- Peter B. West [EMAIL PROTECTED] wrote: ... That is, I would turn allow the namespace-prefixes feature to remain in its default 'false' state, but make sure the parser is namespace aware. I don't know that there is any reason for us to collect prefixes

Re: namespace-prefixes

2004-03-04 Thread Elliotte Rusty Harold
(); factory.setNamespaceAware(true); factory.setFeature( http://xml.org/sax/features/namespace-prefixes;, true); return factory.newSAXParser().getXMLReader(); } catch (SAXNotSupportedException se) { throw new FOPException(Error: You need a parser which allows

Re: namespace-prefixes

2004-03-04 Thread Glen Mazza
--- Elliotte Rusty Harold [EMAIL PROTECTED] wrote: What I ask on reading this code is why you're using SAXParserFactory at all? SAXParserFactory is a Sun class they invented to fill a hole in SAX 1.0. It's unnecessary in SAX 2.0. SAX2 apps should use XMLReaderFactory instead, which has

Re: namespace-prefixes

2004-03-04 Thread Elliotte Rusty Harold
At 2:36 PM -0800 3/4/04, Glen Mazza wrote: --- Elliotte Rusty Harold [EMAIL PROTECTED] wrote: What I ask on reading this code is why you're using SAXParserFactory at all? SAXParserFactory is a Sun class they invented to fill a hole in SAX 1.0. It's unnecessary in SAX 2.0. SAX2 apps should

Re: namespace-prefixes

2004-03-04 Thread Peter B. West
Elliotte Rusty Harold wrote: At 12:56 PM +1000 3/4/04, Peter B. West wrote: ... SAXParserFactory factory = SAXParserFactory.newInstance(); factory.setNamespaceAware(true); return factory.newSAXParser().getXMLReader(); ... What I ask on reading this code is why

Re: namespace-prefixes

2004-03-04 Thread Elliotte Rusty Harold
At 10:43 AM +1000 3/5/04, Peter B. West wrote: I think this might be because the HEAD developers were moving to a JAXP implementation, and SAXParserFactory is still in the 1.4 javax.xml.parsers package, which, AIUI, is what one is supposed to use for JAXP-compatible applications. I don't know

Re: namespace-prefixes

2004-03-04 Thread Clay Leeds
On Mar 4, 2004, at 6:53 PM, Elliotte Rusty Harold wrote: At 10:43 AM +1000 3/5/04, Peter B. West wrote: I think this might be because the HEAD developers were moving to a JAXP implementation, and SAXParserFactory is still in the 1.4 javax.xml.parsers package, which, AIUI, is what one is

Re: namespace-prefixes

2004-03-04 Thread Clay Leeds
On Mar 4, 2004, at 6:53 PM, Elliotte Rusty Harold wrote: At 10:43 AM +1000 3/5/04, Peter B. West wrote: I think this might be because the HEAD developers were moving to a JAXP implementation, and SAXParserFactory is still in the 1.4 javax.xml.parsers package, which, AIUI, is what one is

namespace-prefixes

2004-03-03 Thread Peter B. West
( http://xml.org/sax/features/namespace-prefixes;, true); return factory.newSAXParser().getXMLReader(); } catch (SAXNotSupportedException se) { throw new FOPException(Error: You need a parser which allows the + http://xml.org/sax

Re: namespace-prefixes

2004-03-03 Thread Glen Mazza
--- Peter B. West [EMAIL PROTECTED] wrote: In HEAD, ///apps/FOFileHAndler.java contains the following: factory.setFeature( http://xml.org/sax/features/namespace-prefixes;, true); snip/ That is, I would turn allow the namespace-prefixes feature to remain

NameSpace??

2001-10-30 Thread Gerard van Wijk
(; [2001/10/30 11:35:02][1 ][I]: ** Transformer Factory error [2001/10/30 11:35:02][1 ][I]: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: Namespace not supported by SAXParser Does anyone know this error? Gerard

AW: NameSpace??

2001-10-30 Thread Beer, Christian
An: '[EMAIL PROTECTED]' Betreff: NameSpace?? Hello, ClassLoader loader = this.getClass().getClassLoader(); URL url = loader.getResource(cv.xsl); System.out.println(url); TransformerFactory tFactory = TransformerFactory.newInstance(); Transformer transformer = tFactory.newTransformer(new

RE: NameSpace??

2001-10-30 Thread Shkuro, Yuri
, your problem may be completely unrelated. YS -Original Message- From: Gerard van Wijk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 30, 2001 5:41 AM To: '[EMAIL PROTECTED]' Subject: NameSpace?? Hello, ClassLoader loader = this.getClass().getClassLoader(); URL url

Re: Does anyone know of jbuilder conflicts coz of Namespace?

2001-08-14 Thread Paul Furbacher
Thomas, Mary [EMAIL PROTECTED] wrote on Mon Aug 13, 2001: I am trying to figure out why exactly there is this namespace issue. Precisely, what error messages are you getting? It would help greatly if were to describe the problem rather than saying just this namespace issue. I am wondering

Namespace not supported by Parser ??

2001-08-13 Thread Thomas, Mary
); driver.render(); javax.xml.parsers.ParserConfigurationException: Namespace not supported by SAXParser at com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60) at com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.ja va:57

javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser???

2001-08-09 Thread Thomas, Mary
. javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; import org.apache.fop.apps.*; import org.xml.sax.*; import javax.xml.transform.*; import javax.xml.transform.Source; import

Re: javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser???

2001-08-09 Thread Vallikun Kathiresan
Hi Mary: You are Missing the code that sets the namespace feature. After making a call to the create Parser, you need to set features. I have included it below. Vallikun try{ XMLReader xmlreader =createParser(); // set the parser

Re: javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser???

2001-08-09 Thread Jeremias Maerki
. javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser Try using org.apache.fop.apps.TraxInputHandler. It lets you specify the files for the input XML and XSLT and gives you back an XMLReader and InputSource for use with buildFOTree(). That should allow you to skip the buffering you

Unknown namespace prefix fo

2001-07-18 Thread peti ban
I am facing a problem: When I use fop_15 from the server. It is working all right, but the same code doesn't work for fop_14. It gives the error - Unknown namespace prefix fo Even the sample file which is provided with FOP version_14 also doesn't work. My xsl file looks like this. ?xml