You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 2002/11/28 22:42:21 UTC

HEAD won't build..

from cvs HEAD as of this moment:

./build.sh dist
        :
validating **/sitemap.xmap ...
Error at URL "file:/home/coar/xml-forrest/src/resources/conf/sitemap.xmap", line number 85, column number 39: element "sourcetype" not allowed in this context
Error at URL "file:/home/coar/xml-forrest/src/resources/conf/sitemap.xmap", line number 88, column number 36: element "sourcetype" not allowed in this context
Error at URL "file:/home/coar/xml-forrest/src/resources/conf/sitemap.xmap", line number 155, column number 77: element "parameter" from namespace "http://apache.org/cocoon/sitemap/1.0" not allowed in this context

BUILD FAILED
file:/home/coar/xml-forrest/build.xml:316: Validation failed, messages should have been provided.

Re: HEAD won't build..

Posted by David Crossley <cr...@indexgeo.com.au>.
Jeff Turner wrote:
> Steven Noels wrote:
> > Rodent of Unusual Size wrote:
> > 
> > >from cvs HEAD as of this moment:
> > >
> > >./build.sh dist
> > >        :
> > >validating **/sitemap.xmap ...
<snip/>
> > 
> > ACK, this is due to the newly applied patch by Bruno, adding 
> > grammar-aware processing to Forrest, which we now can use to easily add 
> > other document types to be transparently added.
> > 
> > This required changes to the sitemap which are not reflected yet in the 
> > sitemap grammar. Until this is patched in Cocoon, I assume we better 
> > switch off sitemap validation, or apply the existing patch to our local 
> > copy of the grammar.
> 
> I think patching the grammar is the only option, or else every project
> would have to modify their forrest.properties to switch off sitemap
> validation.
> 
> I'll do so now and we can update to whatever Cocoon uses later.
> 
> --Jeff
> 
> > David, what do you think?

Sorry, i have not be able to keep up with Forrest and Cocoon
recently. This was a tricky one, as the grammar patch went to
the cocoon-dev mailing list at the same time as the sitemap
change went into Forrest CVS.

Fixed now - Forrest is now in sync will the latest sitemap
grammar from Cocoon.

P.S. It is a bad day - Jeff and i almost collided with changes
to CVS. Do not panic, all is well.
--David


Re: HEAD won't build..

Posted by Jeff Turner <je...@apache.org>.
On Thu, Nov 28, 2002 at 10:54:23PM +0100, Steven Noels wrote:
> Rodent of Unusual Size wrote:
> 
> >from cvs HEAD as of this moment:
> >
> >./build.sh dist
> >        :
> >validating **/sitemap.xmap ...
> >Error at URL 
> >"file:/home/coar/xml-forrest/src/resources/conf/sitemap.xmap", line number 
> >85, column number 39: element "sourcetype" not allowed in this context
> >Error at URL 
> >"file:/home/coar/xml-forrest/src/resources/conf/sitemap.xmap", line number 
> >88, column number 36: element "sourcetype" not allowed in this context
> >Error at URL 
> >"file:/home/coar/xml-forrest/src/resources/conf/sitemap.xmap", line number 
> >155, column number 77: element "parameter" from namespace 
> >"http://apache.org/cocoon/sitemap/1.0" not allowed in this context
> >
> >BUILD FAILED
> >file:/home/coar/xml-forrest/build.xml:316: Validation failed, messages 
> >should have been provided.
> 
> ACK, this is due to the newly applied patch by Bruno, adding 
> grammar-aware processing to Forrest, which we now can use to easily add 
> other document types to be transparently added.
> 
> This required changes to the sitemap which are not reflected yet in the 
> sitemap grammar. Until this is patched in Cocoon, I assume we better 
> switch off sitemap validation, or apply the existing patch to our local 
> copy of the grammar.

I think patching the grammar is the only option, or else every project
would have to modify their forrest.properties to switch off sitemap
validation.

I'll do so now and we can update to whatever Cocoon uses later.

--Jeff

> David, what do you think?
> 
> </Steven>
> -- 
> Steven Noels                            http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> Read my weblog at              http://radio.weblogs.com/0103539/
> stevenn at outerthought.org                stevenn at apache.org
> 

Re: HEAD won't build..

Posted by Steven Noels <st...@outerthought.org>.
Rodent of Unusual Size wrote:

> from cvs HEAD as of this moment:
> 
> ./build.sh dist
>         :
> validating **/sitemap.xmap ...
> Error at URL "file:/home/coar/xml-forrest/src/resources/conf/sitemap.xmap", line number 85, column number 39: element "sourcetype" not allowed in this context
> Error at URL "file:/home/coar/xml-forrest/src/resources/conf/sitemap.xmap", line number 88, column number 36: element "sourcetype" not allowed in this context
> Error at URL "file:/home/coar/xml-forrest/src/resources/conf/sitemap.xmap", line number 155, column number 77: element "parameter" from namespace "http://apache.org/cocoon/sitemap/1.0" not allowed in this context
> 
> BUILD FAILED
> file:/home/coar/xml-forrest/build.xml:316: Validation failed, messages should have been provided.

ACK, this is due to the newly applied patch by Bruno, adding 
grammar-aware processing to Forrest, which we now can use to easily add 
other document types to be transparently added.

This required changes to the sitemap which are not reflected yet in the 
sitemap grammar. Until this is patched in Cocoon, I assume we better 
switch off sitemap validation, or apply the existing patch to our local 
copy of the grammar.

David, what do you think?

</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at              http://radio.weblogs.com/0103539/
stevenn at outerthought.org                stevenn at apache.org