[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 http://www.saxonica.com/ 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.
|
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
|