Subject: RE: java.net.MalformedURLException: no protocol
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 12 Jan 2004 23:11:58 -0000
|
> i am trying to use a style sheet using xalan apis i get the
> following exception . Any pointers???
It looks to me as if you have supplied the text of a stylesheet to an
interface that was expecting a URI.
Michael Kay
>
>
> java.net.MalformedURLException: no protocol: <xsl:stylesheet
> xmlns:xsl="http://w ww.w3.org/1999/XSL/Transform"
> xmlns:java="http://xml.apache.org/xalan/java"
> xmlns:xalan="http://xml.apache.org/xalan"
> xmlns:counter="xalan://com.xxx.xml.XSLTCounter"
> xmlns:format="xalan://com.xxx.xml.XSLTFormatter"
> extension-element-prefixes="counter format java"
> version="1.0"> <xsl:output method="text" indent="yes"/>
> <xsl:strip-space elements="*"/>
>
> at java.net.URL.<init>(URL.java(Compiled Code))
> at java.net.URL.<init>(URL.java(Inlined Compiled Code))
> at java.net.URL.<init>(URL.java(Compiled Code))
> at
> org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
> urce)
> at
> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at
> org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> at
> org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transf
> ormerFactoryImpl.java:831)
> at
> org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Tran
> sformerFactoryImpl.java:702)
>
> TIA
> Jay Marada
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|