Yes, just a blank line before the line indicated in the parsing exception. I found this trying to move the line number, hoping to find the -- that shouldn't be there. Putting blanks at the beginning of the file moved the error line from 307 to 308:
SEVERE: Parse Fatal Error at line 307 column 39: The string "--" is not permitted within comments. org.xml.sax.SAXParseException: The string "--" is not permitted within comments. to SEVERE: Parse Fatal Error at line 308 column 39: The string "--" is not permitted within comments. org.xml.sax.SAXParseException: The string "--" is not permitted within comments. So I went to line 306, added a /n and tried again. I was just trying to locate the problem. And it vanished. On Friday 04 October 2002 03:55 am, Henri Gomez wrote: > Steve Downey wrote: > > On Thursday 03 October 2002 12:14 pm, Henri Gomez wrote: > >>Steve Downey wrote: > >>>Actually, with the recent release of commons-logging, we should be able > >>>to get rid of the explicit LogKit and Log4J. They're there so as to get > >>> a complete build of commons-logging. Tomcat 5 itself doesn't use either > >>> directly. > >>> > >>>Xerces is a different issue. There was a bug that was preventing Tomcat > >>>from migrating to the latest version. Unfortunately, I no longer > >>> remember the details. Anyone know why we're using 2.1.0 instead of > >>> 2.2.0? > >> > >> From what I experienced with Xerces j 2.2.0 it seems it does > >>much more validity check and for instance found a '--' somewhere > >>in comments (1 EUR to the first who find where). > >> > >>Previous version of Xerces or crimson didn't got that problem. > >> > >>if we could see which xml/dtd/tld is reported buggy, which > >>will able to see if it's a bug or a features (ie a more strict > >>check of xml rules) > > > > OK, from the 'this shouldn't work department', this patch 'fixes' the > > problem: Index: ./jsr152/src/share/dtd/web-jsptaglibrary_1_2.dtd > > =================================================================== > > RCS file: > > /home/cvspublic/jakarta-servletapi-5/jsr152/src/share/dtd/web-jsptaglibra > >ry_1_2.dtd,v retrieving revision 1.1.1.1 > > diff -u -r1.1.1.1 web-jsptaglibrary_1_2.dtd > > --- ./jsr152/src/share/dtd/web-jsptaglibrary_1_2.dtd 13 Aug 2002 > > 16:20:58 -0000 1.1.1.1 > > +++ ./jsr152/src/share/dtd/web-jsptaglibrary_1_2.dtd 3 Oct 2002 > > 20:42:30 -0000 > > @@ -304,6 +304,7 @@ > > java.lang.String is default. > > > > declare Whether the variable is declared or not. > > + > > True is the default. > > > > scope The scope of the scripting varaible > > > > > > > > Something quite strange is going on. > > You just add an empty line in this dtd and it works now ? > > I was thinking it could be with ------ in some dtd, ie > ---- line in web-app_2_3.dtd : > > <!-- > Copyright 2000-2001 Sun Microsystems, Inc. 901 San Antonio Road, > Palo Alto, CA 94303, U.S.A. All rights reserved. > > This product or document is protected by copyright and distributed > under licenses restricting its use, copying, distribution, and > decompilation. No part of this product or documentation may be > reproduced in any form by any means without prior written authorization > of Sun and its licensors, if any. > > Third party software, including font technology, is copyrighted and > licensed from Sun suppliers. > > Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java > Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise > JavaBeans, > are trademarks or registered trademarks of Sun Microsystems, Inc in the > U.S. and other countries. > > All SPARC trademarks are used under license and are trademarks > or registered trademarks of SPARC International, Inc. > in the U.S. and other countries. Products bearing SPARC > trademarks are based upon an architecture developed by Sun Microsystems, > Inc. > > PostScript is a registered trademark of Adobe Systems, Inc. > > Federal Acquisitions: Commercial Software - Government Users Subject to > Standard License Terms and Conditions. > > DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED > CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY > IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR > PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT > TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY > INVALID. > > _________________________________________________________________________ > > Copyright 2000-2001 Sun Microsystems, Inc., > 901 San Antonio Road, Palo Alto, CA 94303, Etats-Unis. > Tous droits re'serve's. > > > Ce produit ou document est prote'ge' par un copyright et distribue' avec > des licences qui en restreignent l'utilisation, la copie, la distribution, > et la de'compilation. Aucune partie de ce produit ou de sa documentation > associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen > que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses > bailleurs de licence, s'il y en a. > > Le logiciel de'tenu par des tiers, et qui comprend la technologie > relative aux polices de caracte`res, est prote'ge' par un copyright > et licencie' par des fournisseurs de Sun. > > Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java > Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise > JavaBeans, > sont des marques de fabrique ou des marques de'pose'es de Sun > Microsystems, Inc. aux Etats-Unis et dans d'autres pays. > > Toutes les marques SPARC sont utilise'es sous licence et sont > des marques de fabrique ou des marques de'pose'es de SPARC > International, Inc. aux Etats-Unis et dans > d'autres pays. Les produits portant les marques SPARC sont > base's sur une architecture de'veloppe'e par Sun Microsystems, Inc. > > Postcript est une marque enregistre'e d'Adobe Systems Inc. > > LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS, > DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES, > DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT > TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE > A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON. > --> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>