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

RE: Error at element constructor...

Subject: RE: Error at element constructor...
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 12 Mar 2007 12:18:39 -0000
RE:  Error at element constructor...
> xmlEstructurado is a String object initialized with "", I 
> forgot to put one code line in my first post, the code is 
> this (again):
>                 String xmlEstructurado = "";

The JAXP spec says "use this value as a writeable URI (probably a file
name)." which leaves a lot of discretion to the implementation, but it
certainly doesn't attach any particular meaning to using "" in this context.
Saxon is taking it as a relative filename relative to your current
directory, and that's failing for obvious reasons. 

Michael Kay

PS Another illustration of a common problem

THE FIRST LAW OF DEBUGGING: if you can't find the bug after two minutes,
it's because you're looking in the wrong place.

CORROLLARY: if you post the problem to a forum, you will snip the very code
that contains the bug.

The best answer to this is to cut the problem down to a minimum
self-contained repro that illustrates the problem, and then post the whole
of the repro. This also greatly increases the chance that people will help
you in your debugging, because it's much easier to find bugs if you can run
the code, rather than just stare at it.

Current Thread


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.
First Name
Last Name
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.