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

Reply via email to