Re: The string "--" is not permitted within comments

2003-02-12 Thread Jeanfrancois Arcand
Sorry, you are right. That's the dtd file I am reffering to 
(web-app_2_3.dtd). Sorry for the confusion.Still, I strongly 
recommend you try Xerces 2.3 :-). If you look how long it tooks to 
reproduce the problem (OK  I'm was slow on that one :-) ), I'm not sure 
removing the 80 characters in all the DTD will help.

-- Jeanfrancois

Jesus M. Salvo Jr. wrote:


Didn't know there was a 2.2.2 and there is also a bug in 2.3.0 
that may actually affect me ( but not Tomcat ).

Anyway ... thanks for that ... but I am a little bit confused:

You mentioned below that the file that Xerces is complaining about is 
struts-config.xml, but in the URL you mentioned, you mentioned there 
that the problem is with a DTD that contains more than 80 characters 
in one line.

strust-config.xml is not a DTD ( or were you referring to 
strust-config_1_0.dtd? ) and does not seem to have any lines with more 
than 80 characters.
Or were you referring to web-app_2_3.dtd that comes with struts.jar?

Am I missing something?





Jeanfrancois Arcand wrote:

Xerces 2.2.1 is broken :-) 2.2.2 also :-)  ... with Tomcat.

See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 for the 
real story.

The file that produce the error is struts-config.xml, but you cannot 
predict on which file it will crach.

Xerces 2.3.0 works fine for me. You should give it a try (XML Schema 
validation is faster).

-- Jeanfrancois



Jesus M. Salvo Jr. wrote:


I know this question has been asked before here:
http://marc.theaimsgroup.com/?l=tomcat-user&m=103649805401229&w=2

So I posted a question to the Xerces mailing list trying to confirm 
on which release it was fixed, but I got no response:
http://marc.theaimsgroup.com/?l=xerces-j-user&m=104425379902979&w=2

I really need to use Xerces 2.2.1 because of the bug fixes for 
schema and namespaces.
My question is, does anyone know which XML filein Tomcat ( 4.1.18 ) 
that Xerces is complaining about?
At least I can then just fix the XML file.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: The string "--" is not permitted within comments

2003-02-12 Thread Jesus M. Salvo Jr.

Didn't know there was a 2.2.2 and there is also a bug in 2.3.0 that 
may actually affect me ( but not Tomcat ).

Anyway ... thanks for that ... but I am a little bit confused:

You mentioned below that the file that Xerces is complaining about is 
struts-config.xml, but in the URL you mentioned, you mentioned there 
that the problem is with a DTD that contains more than 80 characters in 
one line.

strust-config.xml is not a DTD ( or were you referring to 
strust-config_1_0.dtd? ) and does not seem to have any lines with more 
than 80 characters.
Or were you referring to web-app_2_3.dtd that comes with struts.jar?

Am I missing something?





Jeanfrancois Arcand wrote:

Xerces 2.2.1 is broken :-) 2.2.2 also :-)  ... with Tomcat.

See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 for the 
real story.

The file that produce the error is struts-config.xml, but you cannot 
predict on which file it will crach.

Xerces 2.3.0 works fine for me. You should give it a try (XML Schema 
validation is faster).

-- Jeanfrancois



Jesus M. Salvo Jr. wrote:


I know this question has been asked before here:
http://marc.theaimsgroup.com/?l=tomcat-user&m=103649805401229&w=2

So I posted a question to the Xerces mailing list trying to confirm 
on which release it was fixed, but I got no response:
http://marc.theaimsgroup.com/?l=xerces-j-user&m=104425379902979&w=2

I really need to use Xerces 2.2.1 because of the bug fixes for schema 
and namespaces.
My question is, does anyone know which XML filein Tomcat ( 4.1.18 ) 
that Xerces is complaining about?
At least I can then just fix the XML file.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Jesus M. Salvo Jr.
Mobile Internet Group Pty Ltd
(formerly Softgame International Pty Ltd)
M: +61 409 126699
T: +61 2 94604777
F: +61 2 94603677

PGP Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0BA5348



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: The string "--" is not permitted within comments

2003-02-12 Thread Jeanfrancois Arcand
Xerces 2.2.1 is broken :-) 2.2.2 also :-)  ... with Tomcat.

See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 for the real 
story.

The file that produce the error is struts-config.xml, but you cannot 
predict on which file it will crach.

Xerces 2.3.0 works fine for me. You should give it a try (XML Schema 
validation is faster).

-- Jeanfrancois



Jesus M. Salvo Jr. wrote:


I know this question has been asked before here:
http://marc.theaimsgroup.com/?l=tomcat-user&m=103649805401229&w=2

So I posted a question to the Xerces mailing list trying to confirm on 
which release it was fixed, but I got no response:
http://marc.theaimsgroup.com/?l=xerces-j-user&m=104425379902979&w=2

I really need to use Xerces 2.2.1 because of the bug fixes for schema 
and namespaces.
My question is, does anyone know which XML filein Tomcat ( 4.1.18 ) 
that Xerces is complaining about?
At least I can then just fix the XML file.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




The string "--" is not permitted within comments

2003-02-12 Thread Jesus M. Salvo Jr.

I know this question has been asked before here:
http://marc.theaimsgroup.com/?l=tomcat-user&m=103649805401229&w=2

So I posted a question to the Xerces mailing list trying to confirm on 
which release it was fixed, but I got no response:
http://marc.theaimsgroup.com/?l=xerces-j-user&m=104425379902979&w=2

I really need to use Xerces 2.2.1 because of the bug fixes for schema 
and namespaces.
My question is, does anyone know which XML filein Tomcat ( 4.1.18 ) that 
Xerces is complaining about?
At least I can then just fix the XML file.

--
Jesus M. Salvo Jr.
Mobile Internet Group Pty Ltd
(formerly Softgame International Pty Ltd)
M: +61 409 126699
T: +61 2 94604777
F: +61 2 94603677

PGP Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0BA5348



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Can't solve SAXParseException: The string "--" is not permitted within comments

2002-11-05 Thread Jacob Kjome

Hi Nix,

The best I can do is point you to the following:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13241
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282

Jake

At 07:06 AM 11/5/2002 +0100, you wrote:

Jacob Kjome wrote:

Yep, known issue.  Try using the previous version of Xerces-2.x.x.  The 
newest one doesn't seem to play well with Digester.


I've read in the mail archives that this bug can be solved using a different
version of Xerces. I've replaced
"jakarta-tomcat-4.1.12/common/endorsed/xercesImpl.jar" with:

xercesImpl.jar (included with Tomcat 4.1.14)
xercesImpl.jar (Xerces 2.0.0)
xercesImpl.jar (Xerces 2.2.0)
xerces.jar (included with Tomcat 4.0.6 = Xerces 1.4.4)

but I always get the same error. I'm sure this is the only xerces library
installed in my system (it's not included in JDK1.3.1).


So, which one to use? 2.1.x? And is that a Xerces issue or Tomcat issue? 
Which one should be upgraded?

Nix.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


Re: Can't solve SAXParseException: The string "--" is not permitted within comments

2002-11-04 Thread Manuel González Castro
>Try 2.1.0This is the only version that works properly.
>
>-- Jeanfrancois

I've just tried Xerces 2.1.0 and I get the same error :(
I'm going crazy with this...

Manuel


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Can't solve SAXParseException: The string "--" is not permitted within comments

2002-11-04 Thread Manuel González Castro
>Yep, known issue.  Try using the previous version of Xerces-2.x.x.  The
>newest one doesn't seem to play well with Digester.

That's what I did: I replaced the original xercesImpl.jar (version 2.0.1)
with the Xerces 2.0.0 xercesImpl.jar, but I get the same error.

This has been discussed before, suggesting the Xerces included with Tomcat
4.1.14, but it doesn't work for me. As I've said, I've tried:

>>xercesImpl.jar (included with Tomcat 4.1.14)
>>xercesImpl.jar (Xerces 2.0.0)
>>xercesImpl.jar (Xerces 2.2.0)
>>xerces.jar (included with Tomcat 4.0.6 = Xerces 1.4.4)

Manuel



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Can't solve SAXParseException: The string "--" is not permitted within comments

2002-11-04 Thread Jacob Kjome

Yep, known issue.  Try using the previous version of Xerces-2.x.x.  The 
newest one doesn't seem to play well with Digester.

Jake

At 02:36 PM 11/4/2002 +0100, you wrote:
Hi,

I'm trying to connect Tomcat-4.1.12 with Apache 2.0.43 (mod_jk), my JDK is
1.3.1_02 (latest stable version on my platform SGI IRIX 6.5). Everything is
installed and configured (it's been really hard on IRIX), I think I'm very
close to the end, but I still have a problem:

When I start Tomcat, catalina.out shows this error:

[ERROR] Digester - -Parse Fatal Error at line 93 column 9: The string "--"
is not permitted within comments. 
Catalina.start: org.xml.sax.SAXException: Stopping after fatal error: The
string "--" is not permitted within comments.
org.xml.sax.SAXException: Stopping after fatal error: The string "--" is not
permitted within comments.
 at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1245,
Compiled Code)
 at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:570, Compiled Code)
 at
org.apache.xerces.framework.XMLDocumentScanner.scanComment(XMLDocumentScanne
r.java:1894, Compiled Code)
 at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1121, Compiled Code)
 at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381, Compiled Code)
 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098,
Compiled Code)
 at org.apache.commons.digester.Digester.parse(Digester.java:1495, Compiled
Code)

I've read in the mail archives that this bug can be solved using a different
version of Xerces. I've replaced
"jakarta-tomcat-4.1.12/common/endorsed/xercesImpl.jar" with:

xercesImpl.jar (included with Tomcat 4.1.14)
xercesImpl.jar (Xerces 2.0.0)
xercesImpl.jar (Xerces 2.2.0)
xerces.jar (included with Tomcat 4.0.6 = Xerces 1.4.4)

but I always get the same error. I'm sure this is the only xerces library
installed in my system (it's not included in JDK1.3.1).

Which Xerces version shoud I use?
Is there any other workarround to this problem?

Thanks a lot for your help,

Manuel



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>



Can't solve SAXParseException: The string "--" is not permitted within comments

2002-11-04 Thread Manuel González Castro
Hi,

I'm trying to connect Tomcat-4.1.12 with Apache 2.0.43 (mod_jk), my JDK is
1.3.1_02 (latest stable version on my platform SGI IRIX 6.5). Everything is
installed and configured (it's been really hard on IRIX), I think I'm very
close to the end, but I still have a problem:

When I start Tomcat, catalina.out shows this error:

[ERROR] Digester - -Parse Fatal Error at line 93 column 9: The string "--"
is not permitted within comments. 
Catalina.start: org.xml.sax.SAXException: Stopping after fatal error: The
string "--" is not permitted within comments.
org.xml.sax.SAXException: Stopping after fatal error: The string "--" is not
permitted within comments.
 at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1245,
Compiled Code)
 at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:570, Compiled Code)
 at
org.apache.xerces.framework.XMLDocumentScanner.scanComment(XMLDocumentScanne
r.java:1894, Compiled Code)
 at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1121, Compiled Code)
 at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381, Compiled Code)
 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098,
Compiled Code)
 at org.apache.commons.digester.Digester.parse(Digester.java:1495, Compiled
Code)

I've read in the mail archives that this bug can be solved using a different
version of Xerces. I've replaced
"jakarta-tomcat-4.1.12/common/endorsed/xercesImpl.jar" with:

xercesImpl.jar (included with Tomcat 4.1.14)
xercesImpl.jar (Xerces 2.0.0)
xercesImpl.jar (Xerces 2.2.0)
xerces.jar (included with Tomcat 4.0.6 = Xerces 1.4.4)

but I always get the same error. I'm sure this is the only xerces library
installed in my system (it's not included in JDK1.3.1).

Which Xerces version shoud I use?
Is there any other workarround to this problem?

Thanks a lot for your help,

Manuel



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




SEVERE: Parse Fatal Error at line 70 column 9: The string "--" is not permitted within comments.

2002-09-20 Thread Fathi Ben Nasr


Hello,

I have upgraded from tomcat 4.0.3 on redhat 7.3 and 4.0.4 on mandrake
8.2 to 4.1.10 on both mandrake and redhat using rpms from
jakarta.apache.org

I have reviewed all config files (those under /etc and those under
/var/tomcat4/conf) and adapted them to my systems but  when I try to
start tomcat, I get a delay and then a lot of messages on catalina.out.

Have also checked the mailing list archive before asking but didn't
found a solution.
I am using j2sdk-1.4.0_01-fcs from www.sun.com

Here after  my catalina.out. Can someone help me please ?
Sep 19, 2002 12:25:23 PM org.apache.commons.digester.Digester fatalError

SEVERE: Parse Fatal Error at line 70 column 9: The string "--" is not
permitted within comments.
org.xml.sax.SAXParseException: The string "--" is not permitted within
comments.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.scanComment(Unknown Source)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanComment(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown

Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.digester.Digester.parse(Digester.java:1495)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)

at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.start: org.xml.sax.SAXParseException: The string "--" is not
permitted within comments.
org.xml.sax.SAXParseException: The string "--" is not permitted within
comments.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.digester.Digester.parse(Digester.java:1495)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)

at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

TIA.
Fathi Ben Nasr

(See attached file: smime.p7s)


smime.p7s
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Re: org.xml.SAXParseException: The String"--"is not permitted within comments. Tomcat 4 Startup Problem

2002-02-25 Thread Markus Spath

hi,

Chuck Amadi wrote

> 
> Thus i have checked out all my comment entries . Where do you think i 
> have made the mistake as i can't rin the startup Now!
> 
> 
> 
> 


.^
you didn't close the comment properly


>   reloadable = "true">
>pathname="webapps/bbnpwardens/WEB-INF/bbnparealm.xml" />
>


markus




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




org.xml.SAXParseException: The String"--"is not permitted within comments. Tomcat 4 Startup Problem

2002-02-25 Thread Chuck Amadi

Hi there im now getting this error on startup.bat.

within comments
org.xml.SAXParseException: The String"--"is not permitted within 
comments.

1) Thus i have set up a basic servlet authentication. that has compiled 
within Netbeans IDE.
2) Added  a resource protection declaration to the deployment descriptor 
(web.xml)
3) Made addtion to  tag Thus used the Basic athentication 
method for the dilaog box etc.
4) Created a Simple memory realm file ( bbnparealm.xml)
 
Thus i have checked out all my comment entries . Where do you think i 
have made the mistake as i can't rin the startup Now!










Cheers ChuckmAmadi
Systems Programmer




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>