[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl:include - net.sf.saxon.trans.DynamicError: In
A legal URI cannot contain a space: it must be encoded as %20. Unfortunately different bits of software are very inconsistent in how strictly they interpret the URI syntax rules. It's safest therefore to stick strictly to the rules. One bit of software that is regrettably lax is the JAXP StreamSource class. If you use the constructor that accepts a File (e.g. new StreamSource(new File("c:\\My Documents\\temp.xml"))), then it does a really bad job of filename-to-URI translation. This is often the cause of bad URIs getting into the system. It's better to use new StreamSource(new File(...).toURI().toString()). Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Santosh N [mailto:ss1722@xxxxxxxxx] > Sent: 07 June 2005 02:43 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: xsl:include - net.sf.saxon.trans.DynamicError: > Invalid URI > > Hi All, > > I am getting the below error while trying to include a xsl file, my > guess is space in "Web Content" folder causing the problem. Any idea > about this? > > Error at xsl:include on line 150 of > file:/X:/NYC_DISTRIBUTION_ALPINE/Alpine/web/oasys/Web > Content/xml/OrdersTable.xsl: > XTSE0165: net.sf.saxon.trans.DynamicError: Invalid URI {Pager.xsl} > - base > {file:/X:/NYC_DISTRIBUTION_ALPI...}: Illegal character in path at > index 53: > file:/X:/NYC_DISTRIBUTION_ALPINE/Alpine/web/oasys/Web > Content/xml/OrdersTable.xsl > > Thanks > Santosh > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|