[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] java.net.MalformedURLException: no protocol


Subject: [xsl] java.net.MalformedURLException: no protocol
From: Jay Marada <jmarada@xxxxxxxxxxx>
Date: Mon, 12 Jan 2004 12:45:47 -0800

i am trying to use a style sheet using xalan apis i get the following
exception . Any pointers???


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



Current Thread