Hello. Same problem here...
-----Ursprüngliche Nachricht----- Von: Stefano Bianchi [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. August 2004 15:21 An: Jetspeed Users List Betreff: Re: org.xml.sax.SAXParseException: Content is not allowed in prolog. (and xreg files) Thank you (and sorry), this is the correct "cut & paste": <?xml version="1.0" encoding="UTF-8"?> <registry> <portlet-entry name="http://jakarta.apache.org/jetspeed/channels/jetspeed.rss" hidden="false" type="ref" parent="RSS" application="false"> <meta-info> <title>Jetspeed</title> <description>Jetspeed is a multi-device portal system with simple syndication capabilities</description> </meta-info> <classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname> <url cachedOnURL="true">http://jakarta.apache.org/jetspeed/channels/jetspeed.rss< /url> </portlet-entry> <portlet-entry name="http://jakarta.apache.org/jetspeed/channels/turbine.rss" hidden="false" type="ref" parent="RSS" application="false"> <meta-info> <title>Turbine</title> <description>Turbine is a java web application development framework</description> </meta-info> <classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname> <url cachedOnURL="true">http://jakarta.apache.org/jetspeed/channels/turbine.rss</ url> </portlet-entry> </registry> Really, everything seems right to me...Any further suggestion? Stefano ----- Original Message ----- From: "Scott T. Weaver" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Monday, August 02, 2004 3:07 PM Subject: Re: org.xml.sax.SAXParseException: Content is not allowed in prolog. (and xreg files) > Hi Stefano, > > Unless you typed the first line wrong, this is your problem: > > ?xml version="1.0" encoding="UTF-8"?> > > you are missing a "<" at the beginning of the line. > > HTH > > Stefano Bianchi wrote: > > >Dear ALL, > >I posted a similar mail on May 2004 but I got no answer. > > > >I'm using Jetspeed 1.4-b3 and in jetspeed.log I got the following error on > >TOMCAT startup: > > > >[02 ago 2004 14:18:03 ERROR] - RegistryService: Could not create fragment: > >C:\Worksafe\SitoInLinea\jakarta-tomcat-4.1.24\webapps\jetspeed\WEB-INF\conf \ > >feed_apache.xreg > >org.xml.sax.SAXParseException: Content is not allowed in prolog. > > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > > at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:338) > > at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:270) > > at > >org.apache.jetspeed.services.registry.CastorRegistryService.createFragment( C > >astorRegistryService.java:634) > > at org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:202) > > at org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:145) > > at org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:110) > > > >even if I can not see anything wrong in feed_apache.xreg (it should be the > >original one): > > > >?xml version="1.0" encoding="UTF-8"?> > ><registry> > > <portlet-entry > > name="http://jakarta.apache.org/jetspeed/channels/jetspeed.rss" > > hidden="false" type="ref" parent="RSS" application="false"> > > <meta-info> > > <title>Jetspeed</title> > > <description>Jetspeed is a multi-device portal system with > > simple syndication capabilities</description> > > </meta-info> > > > ><classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname> > > <url > >cachedOnURL="true">http://jakarta.apache.org/jetspeed/channels/jetspeed.rss < > >/url> > > </portlet-entry> > > <portlet-entry > > name="http://jakarta.apache.org/jetspeed/channels/turbine.rss" > > hidden="false" type="ref" parent="RSS" application="false"> > > <meta-info> > > <title>Turbine</title> > > <description>Turbine is a java web application development > >framework</description> > > </meta-info> > > > ><classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname> > > <url > >cachedOnURL="true">http://jakarta.apache.org/jetspeed/channels/turbine.rss< / > >url> > > </portlet-entry> > ></registry> > > > >Any hint from xml experts? > >Thank you (sorry for having not found an answer in the meantime!) > >Stefano > > > >Ing. Stefano Bianchi > >Softeco Sismat S.p.A. > >Via De Marini, 1 - WTC Tower > >16149 Genoa (ITALY) > >e-mail: [EMAIL PROTECTED] > >tel: +39 010 60.26.368 > >fax: +39 010 60.26.350 > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > -- > ****************************************** > * Scott T. Weaver * > * <[EMAIL PROTECTED]> * > * <http://www.einnovation.com> * > * -------------------------------------- * > * Apache Jetspeed Enterprise Portal * > * Apache Pluto Portlet Container * > * * > * OpenEditPro, Website Content Mangement * > * <http://www.openeditpro.com> * > ****************************************** > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]