Re: XInclude preprocessor - new thread for old topic

2009-06-05 Thread David Crossley
Brian M Dube wrote: > David Crossley wrote: > > Brian M Dube wrote: > > > > > > > > FOR-1172 - enable validation of the internal xml > > > > > > > > FOR-1173 - add demonstration of using xml source documents > > > > without declaring a DTD > > > > > > This looks good. Is the idea to replace the

Re: XInclude preprocessor - new thread for old topic

2009-06-04 Thread Brian M Dube
On Wed, Jun 03, 2009 at 05:49:57PM +1000, David Crossley wrote: > Brian M Dube wrote: > > > > > > FOR-1172 - enable validation of the internal xml > > > > > > FOR-1173 - add demonstration of using xml source documents > > > without declaring a DTD > > > > This looks good. Is the idea to replace

Re: XInclude preprocessor - new thread for old topic

2009-06-03 Thread David Crossley
Brian M Dube wrote: > > > > FOR-1172 - enable validation of the internal xml > > > > FOR-1173 - add demonstration of using xml source documents > > without declaring a DTD > > This looks good. Is the idea to replace the Ant target with pipeline > validation? I don't know. I like the fact that t

Re: XInclude preprocessor - new thread for old topic

2009-06-02 Thread Brian M Dube
On Tue, Jun 02, 2009 at 01:30:26AM +1000, David Crossley wrote: > David Crossley wrote: > > Brian M Dube wrote: > > > > > > There will always be one more place in the DTD to add this > > > support. > > > > Yes, that worried me too when the initial XInclude > > was added to the DTD. > > http://iss

Re: XInclude preprocessor - new thread for old topic

2009-06-02 Thread David Crossley
David Crossley wrote: > > Still need to get XInclude processing done a bit earlier > in the sitemaps. That is done now. See r781260. -David

Re: XInclude preprocessor - new thread for old topic

2009-06-01 Thread David Crossley
David Crossley wrote: > Brian M Dube wrote: > > > > There will always be one more place in the DTD to add this > > support. > > Yes, that worried me too when the initial XInclude > was added to the DTD. > http://issues.apache.org/jira/browse/FOR-1032 > > > I found a very old discussion [1] about

Re: XInclude preprocessor - new thread for old topic

2009-05-29 Thread David Crossley
Brian M Dube wrote: > > There will always be one more place in the DTD to add this > support. Yes, that worried me too when the initial XInclude was added to the DTD. http://issues.apache.org/jira/browse/FOR-1032 > I found a very old discussion [1] about processing XInclude > before validation.

Re: XInclude

2008-08-11 Thread Ross Gardler
David Crossley wrote: XInclude is now added to the document-v20 DTD. See https://issues.apache.org/jira/browse/FOR-1032 Thanks to the newcomers who made this happen (and the old timers who committed the work). This is an important addition to Forrest. Ross

Re: XInclude

2008-08-06 Thread David Crossley
XInclude is now added to the document-v20 DTD. See https://issues.apache.org/jira/browse/FOR-1032 -David

Re: XInclude

2008-08-06 Thread Ross Gardler
Carlos Tejo Alonso wrote: For a very long time we have intending to move to a subset of XHTML 2. But planning and doing are two different things. We need someone with a suitably strong need to solve the problems posed by XDoc to actually do it. Maybe, we should start to think to do it. Could

RE: XInclude

2008-08-06 Thread Carlos Tejo Alonso
> >>> 18. - [code] Migrate to a decent schema language, primarily > >> so that we can > >>> use namespaces in XML docs, allowing things like XInclude, > >> in-line metadata, > >>> in-line SVG, Jelly snippets, or anything else users can > >> make a Transformer > >>> for. → open > >>> > >>> So it

Re: XInclude

2008-07-28 Thread Ross Gardler
David Crossley wrote: Ross Gardler wrote: Gavin wrote: From: Brian M Dube Ross Gardler wrote: Brian M Dube wrote: Gavin wrote: Well this seemed to pass my tests locally, its late I'll look in the morning and either fix it or revert. I committed r678217 to suppress validation on samples-b/x

Re: XInclude

2008-07-27 Thread David Crossley
Ross Gardler wrote: > Gavin wrote: > >> From: Brian M Dube > >> Ross Gardler wrote: > >>> Brian M Dube wrote: > Gavin wrote: > > > Well this seemed to pass my tests locally, its late I'll look in the > > morning > > and either fix it or revert. > > I committed r67821

Re: XInclude

2008-07-22 Thread Ross Gardler
Carlos Tejo Alonso wrote: Hi, 18. - [code] Migrate to a decent schema language, primarily so that we can use namespaces in XML docs, allowing things like XInclude, in-line metadata, in-line SVG, Jelly snippets, or anything else users can make a Transformer for. → open So it seems that is

RE: XInclude

2008-07-22 Thread Carlos Tejo Alonso
Hi, > > 18. - [code] Migrate to a decent schema language, primarily > so that we can > > use namespaces in XML docs, allowing things like XInclude, > in-line metadata, > > in-line SVG, Jelly snippets, or anything else users can > make a Transformer > > for. → open > > > > So it seems that is n

Re: XInclude

2008-07-20 Thread Ross Gardler
Gavin wrote: > >> -Original Message- >> From: Brian M Dube [mailto:[EMAIL PROTECTED] >> Sent: Sunday, 20 July 2008 7:19 AM >> To: dev@forrest.apache.org >> Subject: Re: XInclude >> >> Ross Gardler wrote: >>> Brian M Dube wrote: >

RE: XInclude

2008-07-19 Thread Gavin
> -Original Message- > From: Brian M Dube [mailto:[EMAIL PROTECTED] > Sent: Sunday, 20 July 2008 7:19 AM > To: dev@forrest.apache.org > Subject: Re: XInclude > > Ross Gardler wrote: > > Brian M Dube wrote: > >> Gavin wrote: > >>> Well thi

Re: XInclude

2008-07-19 Thread Brian M Dube
Ross Gardler wrote: Brian M Dube wrote: Gavin wrote: Well this seemed to pass my tests locally, its late I'll look in the morning and either fix it or revert. I committed r678217 to suppress validation on samples-b/xinclude.xml. -1 Obscuring a bad commit is not good practice. We should re

Re: XInclude

2008-07-19 Thread Ross Gardler
Brian M Dube wrote: Gavin wrote: Well this seemed to pass my tests locally, its late I'll look in the morning and either fix it or revert. I committed r678217 to suppress validation on samples-b/xinclude.xml. -1 Obscuring a bad commit is not good practice. We should revert the offending c

Re: xinclude

2006-09-11 Thread Ross Gardler
Jim Dixon wrote: On Mon, 11 Sep 2006, Ross Gardler wrote: A better approach would be to process the XIncludes before validation, stripping off the xlmns:xi attribute from the document element and replacing xi:includes with whatever they resolve to. This should be cheaper than it might seem: u

Re: xinclude

2006-09-11 Thread Jim Dixon
On Mon, 11 Sep 2006, Ross Gardler wrote: > A better approach would be to process the XIncludes before validation, > stripping off the xlmns:xi attribute from the document element and > replacing xi:includes with whatever they resolve to. This should be > cheaper than it might

Re: xinclude

2006-09-11 Thread Ross Gardler
Ross Gardler wrote: Jim Dixon wrote: On Fri, 8 Sep 2006, Ross Gardler wrote: I've thought about this a bit more. One of the problems here is that adding xi:include elements has unexpected results. If the DTD is extended as above, then the validator will, I think, not check beyond the xi:in

Re: xinclude

2006-09-11 Thread Ross Gardler
Jim Dixon wrote: On Fri, 8 Sep 2006, Ross Gardler wrote: I've thought about this a bit more. One of the problems here is that adding xi:include elements has unexpected results. If the DTD is extended as above, then the validator will, I think, not check beyond the xi:include element, and so

Re: xinclude

2006-09-11 Thread Jim Dixon
On Mon, 11 Sep 2006, David Crossley wrote: > There are two different situations where xml is parsed. > > One situation is the Cocoon/Forrest processing of xml contnet. > > The other situation is the 'forrest validate-xdocs' target. > This latter is an Ant target. See $FORREST_HOME/main/targets/val

Re: xinclude

2006-09-11 Thread David Crossley
There are two different situations where xml is parsed. One situation is the Cocoon/Forrest processing of xml contnet. The other situation is the 'forrest validate-xdocs' target. This latter is an Ant target. See $FORREST_HOME/main/targets/validate.xml This uses the Ant task "xmlvalidate". This c

Re: xinclude

2006-09-11 Thread Jim Dixon
On Fri, 8 Sep 2006, Ross Gardler wrote: > > I've thought about this a bit more. One of the problems here is that > > adding xi:include elements has unexpected results. > > > > If the DTD is extended as above, then the validator will, I think, not > > check beyond the xi:include element, and so a

Re: xinclude

2006-09-08 Thread Ross Gardler
Jim Dixon wrote: On Fri, 8 Sep 2006, Ross Gardler wrote: - %document; http://www.w3.org/2001/XInclude"; I don't think we need to create a version 2.1 for this to be honest. I know we *should* but it is an optional e

Re: xinclude

2006-09-08 Thread Jim Dixon
On Fri, 8 Sep 2006, Ross Gardler wrote: > > - > > > > > "-//APACHE//ENTITIES Documentation V2.0//EN" > > "document-v20.dtd"> > > %document; > > > > > xmlns:xi CDATA #FIXED "http://www.w3.org/2001/XInclude"; > > >

Re: xinclude

2006-09-08 Thread Ross Gardler
(I'm moving this to the dev list, now we got past user issues) Jim Dixon wrote: On Wed, 6 Sep 2006, Ross Gardler wrote: This remains uncomfortable, however. There appears to be no way to use XInclude without introducing a new DTD. That is correct. You can use a DTD that allows the xi:inclu