You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Hearty <he...@gmail.com> on 2008/11/24 15:07:44 UTC

Turning off schema validation

I have ftped some xml configuration files from windows to solaris. When I
tried to deploy the war file
which in turn contains these xml files, I am not able to proceed since the
xml file contains ^M character at the end of each lines in xml file. 

Please suggest a way to resolve this issue? I can not use dos2unix command
since the xml file contains some characters TM (for trade mark) which will
be modified to a ascii format and I will not be able to deploy? Is there any
way to turn off the schema/dtd validation for the xml files.
-- 
View this message in context: http://www.nabble.com/Turning-off-schema-validation-tp20661086s134p20661086.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: Turning off schema validation

Posted by Jarek Gawor <jg...@gmail.com>.
What's the exception you see when you try to deploy this app on
Windows? Can you send us the deployment descriptor that's causing the
problem? The ^M (carriage return) characters are usually not a problem
to xml parsers.

Jarek

On Mon, Nov 24, 2008 at 9:07 AM, Hearty <he...@gmail.com> wrote:
>
> I have ftped some xml configuration files from windows to solaris. When I
> tried to deploy the war file
> which in turn contains these xml files, I am not able to proceed since the
> xml file contains ^M character at the end of each lines in xml file.
>
> Please suggest a way to resolve this issue? I can not use dos2unix command
> since the xml file contains some characters TM (for trade mark) which will
> be modified to a ascii format and I will not be able to deploy? Is there any
> way to turn off the schema/dtd validation for the xml files.
> --
> View this message in context: http://www.nabble.com/Turning-off-schema-validation-tp20661086s134p20661086.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>