Good morning Sankalita,
you have an erroneous ';' in the first line of your <binding> element.
Simply remove that one, and you should be fine. Any XML editor should
highlight such problems by definition.
Werner
Sankalita wrote:
> Hi,
>
> I've been trying to create a binding file to resolve class name
> generator conflicts for castor. I'm ending up with the following
> error:
>
> Element type "binding" must be followed by either attribute
> specifications, ">" or "/>".{File:
> file:///C:/Work/RSE/Eclipse_workspace/Plexil2JPF/binding.xml; line: 1;
> column: 63}
> org.exolab.castor.xml.MarshalException: Element type "binding" must be
> followed by either attribute specifications, ">" or "/>".{File:
> file:///C:/Work/RSE/Eclipse_workspace/Plexil2JPF/binding.xml; line: 1;
> column: 63}
>
> I'm new to castor and binding files. Am I missing something very basic?
>
> Thanks,
>
>
> Here's the binding file content:
> <binding xmlns="http://www.castor.org/SourceGenerator/Binding";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> defaultBinding="element">
>
>
> <elementBinding name="/Name">
> <java-class name="Name"/>
> </elementBinding>
>
> <elementBinding name="/ArrayElement/Name">
> <java-class name="ArrayElementName"/>
> </elementBinding>
>
> <elementBinding name="/DeclareVariable/InitialValue">
> <java-class name="DeclareVariableInitialValue"/>
> </elementBinding>
>
> <elementBinding name="/DeclareArray/InitialValue">
> <java-class name="DeclareArrayInitialValue"/>
> </elementBinding>
>
> </binding>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email