Hi,
The file castor.properties is in the Castor.jar file.
Do you extract it to modifiy it, and then remake the jar, ou can we have
it as a part of the project somewhere in the path?
I have this error while testing my appli with Tomcat 4.1.27 (before I
was with : Tomcat 4.0.3).
I use Castor 0.9.5.
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException:
The prefix "xsi" for attribute "xsi:type" is not bound.
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transform
erFactoryImpl.java:813)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transfo
rmerFactoryImpl.java:635)
at
x.z.w.ihm.util.CreationElementsWeb.create(CreationElementsWeb.java:48)
Can this be the same problem ?
Sylvie
___________________
CREDI RA
Sylvie Palluel
[EMAIL PROTECTED]
___________________
> -----Message d'origine-----
> De : Keith Visco [mailto:[EMAIL PROTECTED]
> Envoy� : vendredi 3 octobre 2003 05:10
> � : [EMAIL PROTECTED]
> Objet : Re: [castor-dev] The prefix 'xml' is reserved... when
> running example
>
>
>
>
> Please read the following:
>
> http://www.mail-archive.com/castor-dev%40exolab.org/msg15353.html
>
> --Keith
>
> Henry Cho wrote:
> >
> > I am attempting to compile and run the SourceGenerator example that
> > comes with the XML code generation package. I get the
> following error
> > when I run the test.bat at the point where it calls 'java
> > org.exolab.castor.builder.SourceGenerator'.
> >
> > Exception in thread "main" java.lang.IllegalArgumentException: The
> > prefix 'xml' is reserved (XML 1.0 Specification) and cannot be
> > declared.
> > at
> > org.exolab.castor.xml.Namespaces.addNamespace(Namespaces.java:130)
> > at
> >
> org.exolab.castor.xml.UnmarshalHandler.startPrefixMapping(UnmarshalHan
> > dler.j
> > ava:1953)
> > at
> >
> org.apache.xerces.parsers.AbstractSAXParser.startNamespaceMapp
> ing(AbstractSA
> > XParser.java:1867)
> > ...
> >
> > I am using Castor 0.9.5.2 with JDK 1.4.2 and have tried including
> > Xerces 1.4.4 and Xerces 2.5.0 jars in the classpath with the same
> > result. If anyone could tell
> > me if I need to modify the xsd, xml or test.bat file for
> the example to run
> > I would
> > appreciate it.
> >
> > Henry Cho
> >
> > -----------------------------------------------------------
> > If you wish to unsubscribe from this mailing, send mail to
> > [EMAIL PROTECTED] with a subject of:
> > unsubscribe castor-dev
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>
>
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev