[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: java.net.MalformedURLException: no protocol

Subject: RE: java.net.MalformedURLException: no protocol
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 12 Jan 2004 23:11:58 -0000
java.net.malformedurlexception no protocol
> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.