Hi Keith, or simply do nothing, as Castor's internal DTDResolver will pick up any of these files mentioned from the CLASSPATH, as long as you are using the correct URIs. There's actually an XML HOW-TO document that goes about this issue/topic in great detail.
Werner > --- Ursprüngliche Nachricht --- > Von: Keith Visco <[EMAIL PROTECTED]> > An: [email protected] > Betreff: Re: [castor-user] [XML] Binding file schema issue > Datum: Thu, 13 Apr 2006 00:32:11 -0500 > > Patty, > > Download a copy of binding.xsd and change the schemaLocation to point to > your > local copy. You definately don't want to depend on an external server to > be up > and running in order to use your binding file. > > The same goes for mapping files and any runtime dependencies. > > --Keith > > Ralf Joachim wrote: > > Hi Patty, > > > > at 6-April-2006 we released 1.0 of castor and also updated the whole > > website but I am not aware of any influence this should have on your > > application. Having said that I double checked if anything had > > previously been available under > > http://www.castor.org/SourceGenerator/Binding and unfortionatly didn't > > find anything. If you like to refer to binding.xsd you better use > > http://www.castor.org/binding.xsd > > > > Hope you can find the problem soon > > Ralf > > > > > > Stephen Bash schrieb: > > > >> Patty- > >> > >> I just checked, and there isn't a resource at > >> castor.org/SourceGenerator/Binding (though I can't say it never > >> existed), so my guess is something else in your local configuration > >> changed. You might try assigning a namespace prefix to the current > >> default namespace to see if the error message changes (I'm not sure if > >> the error is null:java-class is expected or if it is > >> defaultNS:java-class is expected). One possibility is that either > >> namespace processing or validation got toggled based on some settings > >> file used for something else, and either of those might cause > >> problems. > >> > >> Sorry I can't be more specific, but I'm not entirely sure what could > >> have changed... > >> > >> Stephen > >> > >> > >> On 4/12/06, Parker, Patricia (Contr) <[EMAIL PROTECTED]> wrote: > >> > >>> > >>> > >>> Hi, > >>> > >>> I have been using the following binding XML for several weeks with no > >>> trouble... > >>> > >>> <binding > >>> xmlns="http://www.castor.org/SourceGenerator/Binding" > >>> > >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > >>> > >>> xsi:schemaLocation="http://www.castor.org/SourceGenerator/Binding > >>> binding.xsd" > >>> defaultBindingType="element"> > >>> > >>> <elementBinding name="/MyElement"> > >>> <java-class name="MyJavaClass"> > >>> <extends>com.package.ExtendThisClass</extends> > >>> </java-class> > >>> </elementBinding> > >>> </binding> > >>> > >>> Yesterday (11-Apr-2006) I started getting the following parsing error: > >>> > >>> Invalid content was found starting with element 'java-class'. One of > >>> '{"":java-class, "":interface, "":member}' is expected > >>> > >>> I have not modified the binding.xsd that came with Castor. Has > >>> something > >>> changed with www.castor.org/SourceGenerator/Binding? > >>> > >>> I am using Castor 0.9.9.1. Unfortunately, I am constrained by my > >>> deployment > >>> environment to running Java 1.3, so I cannot upgrade to Castor 1.0. > >>> > >>> Thanks for your help! > >>> > >>> Patty > > > > > > ------------------------------------------------- > > If you wish to unsubscribe from this list, please send an empty message > > to the following address: > > > > [EMAIL PROTECTED] > > ------------------------------------------------- > > > > > > > ------------------------------------------------- > If you wish to unsubscribe from this list, please > send an empty message to the following address: > > [EMAIL PROTECTED] > ------------------------------------------------- > -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

