You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2005/08/29 14:54:05 UTC

[jira] Created: (FOR-655) Create sample document for XHTML2 subset

Create sample document for XHTML2 subset
----------------------------------------

         Key: FOR-655
         URL: http://issues.apache.org/jira/browse/FOR-655
     Project: Forrest
        Type: Sub-task
 Reporter: Ross Gardler




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FOR-655) Create sample document for XHTML2 subset

Posted by "Tim Williams (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-655?page=all ]

Tim Williams updated FOR-655:
-----------------------------

    Component: Core operations

> Create sample document for XHTML2 subset
> ----------------------------------------
>
>          Key: FOR-655
>          URL: http://issues.apache.org/jira/browse/FOR-655
>      Project: Forrest
>         Type: Sub-task
>   Components: Core operations
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev
>  Attachments: xhtml2_subset.xml.diff
>
> Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
> Re: XHTML2 - let's do it!
> http://marc.theaimsgroup.com/?t=112489497100007

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by David Crossley <cr...@apache.org>.
David Crossley wrote:
> Gav.... wrote:
> > | I am actually using a version of Cocoon-2.1 rather than Forrest
> > | and added a little pipeline to the Validation block sample.
> > 
> > Taking a look, thanks.
> > I have downloaded Cocoon Trunk, If I decide to go this way
> > are there instructions anywhere on doing this?
> 
> No, not trunk, rather the 2.1 branch.
> 
> Please search our dev archives for last week,
> Google: site:marc.theaimsgroup.com forrest validation

But be careful, that brand new documentation is already
out of date. There has been active development.

Actually you don't need to read much. Just get
Cocoon 2.1 running with './build.sh; ./cocoon.sh servlet'
Then localhost:8888/
and follow the samples to Blocks => Validation

Look at the cocoon/src/blocks/validation/samples/
and how its sitemap.xmap works. Add a new match
for your xhtml_subset.xml source.

Have fun, don't get lost inside Cocoon.

-David

Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by David Crossley <cr...@apache.org>.
Gav.... wrote:
> From: "David Crossley" wrote:
> |
> | Well, both Jing and Xerces insist on using xml:id
> | when used with the WD-xhtml2-20050527 RNG grammars.
> 
> Ok, no problem.

Mmmm, i hope not anyway. The issue you pointed to
might not get resolved.

> | > | There are a couple of validation "errors" remaining. It seems that the
> | > RELAX NG grammars are missing some things, so i sent mail to the WD 
> editor.
> | > Missing the "layout" atribute and missing the "full" attribute for abbr.
> | >
> | > Well yes there seems to be a few things missing .
> |
> | Please send feedback to them, if you spot errors.
> 
> Will do.
> 
> | > So I can check the same as you, what technique are you using to validate 
> ?
> |
> | Yes, i said earlier this week. Easy to miss in the flurry.
> |
> | In the new plugin, uncomment the validation transformer (2 occurrences).
> | 
> whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
> | around line 240 etc.
> |
> | However, this is a preview of a facility that Pier is currently
> | adding to Cocoon-2.1 and when he finishes it we can add it to
> | Cocoon trunk and update our version in Forrest.
> |
> | So you need to look at build/webapp/WEB-INF/logs/error.log
> | to see the relevant line number for the error in the source file.
> |
> | I am actually using a version of Cocoon-2.1 rather than Forrest
> | and added a little pipeline to the Validation block sample.
> 
> Taking a look, thanks.
> I have downloaded Cocoon Trunk, If I decide to go this way
> are there instructions anywhere on doing this?

No, not trunk, rather the 2.1 branch.

Please search our dev archives for last week,
Google: site:marc.theaimsgroup.com forrest validation

> | If you have another RELAX NG validator handy, then see
> | forrest/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527
> 
> I have had a look, looks great, I can not see however a reference to the 
> Role Access Module or
> its sub - 25.2 Role Collection. This was last of NKB's list and I was going 
> to implement it in
> the test xml file. (http://www.w3.org/TR/xhtml2/mod-role.html) . Are we 
> giving this a miss for
> now or did I miss where it was referenced?

No, it was just that there is no RELAX NG defined for that module.

That is another question to the WD editor i suppose.

-David

Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by "Gav...." <br...@brightontown.com.au>.
----- Original Message ----- 
From: "David Crossley" <cr...@apache.org>
|
| Well, both Jing and Xerces insist on using xml:id
| when used with the WD-xhtml2-20050527 RNG grammars.
|

Ok, no problem.

| > | There are a couple of validation "errors" remaining. It seems that the
| > RELAX NG grammars are missing some things, so i sent mail to the WD 
editor.
| > Missing the "layout" atribute and missing the "full" attribute for abbr.
| >
| > Well yes there seems to be a few things missing .
|
| Please send feedback to them, if you spot errors.

Will do.

|
| > So I can check the same as you, what technique are you using to validate 
?
|
| Yes, i said earlier this week. Easy to miss in the flurry.
|
| In the new plugin, uncomment the validation transformer (2 occurrences).
| 
whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
| around line 240 etc.
|
| However, this is a preview of a facility that Pier is currently
| adding to Cocoon-2.1 and when he finishes it we can add it to
| Cocoon trunk and update our version in Forrest.
|
| So you need to look at build/webapp/WEB-INF/logs/error.log
| to see the relevant line number for the error in the source file.
|
| I am actually using a version of Cocoon-2.1 rather than Forrest
| and added a little pipeline to the Validation block sample.

Taking a look, thanks.
I have downloaded Cocoon Trunk, If I decide to go this way
are there instructions anywhere on doing this?

|
| If you have another RELAX NG validator handy, then see
| forrest/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527
|
| -David

I have had a look, looks great, I can not see however a reference to the 
Role Access Module or
its sub - 25.2 Role Collection. This was last of NKB's list and I was going 
to implement it in
the test xml file. (http://www.w3.org/TR/xhtml2/mod-role.html) . Are we 
giving this a miss for
now or did I miss where it was referenced?

Thanks

Gav...(Back to the Cricket, whos praying for rain now :) )



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.21/96 - Release Date: 10/09/2005



Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by David Crossley <cr...@apache.org>.
Gav.... wrote:
> 
> From: "David Crossley"
> | Added your patch "1.  xhtml2_subset.xml.diff (7 kb)".
> |
> | I also fixed a few xhtml validation errors. See 'svn log 
> xhtml2_subset.xml' or via http://svn.apache.org/viewcvs.cgi/forrest/trunk/
> 
> Ok, thanks.
> 
> See also : 
> http://www.w3.org/TR/xhtml2/mod-attribute-collections.html#sec_6.1. re: 
> xml:id .

Well, both Jing and Xerces insist on using xml:id
when used with the WD-xhtml2-20050527 RNG grammars.

> | There are a couple of validation "errors" remaining. It seems that the 
> RELAX NG grammars are missing some things, so i sent mail to the WD editor. 
> Missing the "layout" atribute and missing the "full" attribute for abbr.
> 
> Well yes there seems to be a few things missing .

Please send feedback to them, if you spot errors.

> So I can check the same as you, what technique are you using to validate ?

Yes, i said earlier this week. Easy to miss in the flurry.

In the new plugin, uncomment the validation transformer (2 occurrences).
whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
around line 240 etc.

However, this is a preview of a facility that Pier is currently
adding to Cocoon-2.1 and when he finishes it we can add it to
Cocoon trunk and update our version in Forrest.

So you need to look at build/webapp/WEB-INF/logs/error.log
to see the relevant line number for the error in the source file.

I am actually using a version of Cocoon-2.1 rather than Forrest
and added a little pipeline to the Validation block sample.

If you have another RELAX NG validator handy, then see
forrest/main/webapp/resources/schema/relaxng/WD-xhtml2-20050527

-David

Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by "Gav...." <br...@brightontown.com.au>.
----- Original Message ----- 
From: "David Crossley (JIRA)" <ji...@apache.org>
To: <de...@forrest.apache.org>
Sent: Sunday, September 11, 2005 2:32 PM
Subject: [jira] Commented: (FOR-655) Create sample document for XHTML2 
subset


|    [ 
http://issues.apache.org/jira/browse/FOR-655?page=comments#action_12323159 ]
|
| David Crossley commented on FOR-655:
| ------------------------------------
|
| Added your patch "1.  xhtml2_subset.xml.diff (7 kb)".
|
| I also fixed a few xhtml validation errors. See 'svn log 
xhtml2_subset.xml' or via http://svn.apache.org/viewcvs.cgi/forrest/trunk/

Ok, thanks.

See also : 
http://www.w3.org/TR/xhtml2/mod-attribute-collections.html#sec_6.1. re: 
xml:id .

|
| There are a couple of validation "errors" remaining. It seems that the 
RELAX NG grammars are missing some things, so i sent mail to the WD editor. 
Missing the "layout" atribute and missing the "full" attribute for abbr.

Well yes there seems to be a few things missing .

So I can check the same as you, what technique are you using to validate ?

Gav...



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.21/96 - Release Date: 10/09/2005



[jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-655?page=comments#action_12323159 ] 

David Crossley commented on FOR-655:
------------------------------------

Added your patch "1.  xhtml2_subset.xml.diff (7 kb)".

I also fixed a few xhtml validation errors. See 'svn log xhtml2_subset.xml' or via http://svn.apache.org/viewcvs.cgi/forrest/trunk/

There are a couple of validation "errors" remaining. It seems that the RELAX NG grammars are missing some things, so i sent mail to the WD editor. Missing the "layout" atribute and missing the "full" attribute for abbr.

> Create sample document for XHTML2 subset
> ----------------------------------------
>
>          Key: FOR-655
>          URL: http://issues.apache.org/jira/browse/FOR-655
>      Project: Forrest
>         Type: Sub-task
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev
>  Attachments: xhtml2_subset.xml.diff
>
> Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
> Re: XHTML2 - let's do it!
> http://marc.theaimsgroup.com/?t=112489497100007

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FOR-655) Create sample document for XHTML2 subset

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-655?page=all ]

Ross Gardler updated FOR-655:
-----------------------------

    Fix Version:     (was: 0.8-dev)

> Create sample document for XHTML2 subset
> ----------------------------------------
>
>          Key: FOR-655
>          URL: http://issues.apache.org/jira/browse/FOR-655
>      Project: Forrest
>         Type: Sub-task
>   Components: Core operations
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>  Attachments: xhtml2_subset.xml.diff
>
> Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
> Re: XHTML2 - let's do it!
> http://marc.theaimsgroup.com/?t=112489497100007

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-655?page=comments#action_12322690 ] 

Gavin commented on FOR-655:
---------------------------

I have updated http://apache.minitutorials.com/xhtml2.html . I have also created an xml version at http://apache.minitutorials.com/xhtml2.xml .

Both still need some finishing off.

> Create sample document for XHTML2 subset
> ----------------------------------------
>
>          Key: FOR-655
>          URL: http://issues.apache.org/jira/browse/FOR-655
>      Project: Forrest
>         Type: Sub-task
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev

>
> Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
> Re: XHTML2 - let's do it!
> http://marc.theaimsgroup.com/?t=112489497100007

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-655?page=comments#action_12322986 ] 

David Crossley commented on FOR-655:
------------------------------------

The xhtml2 document has been added to the new experimental plugin: whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2 as xhtml2_subset.xml (There is also another xhtml2 example at index.xml). So if you have changes, then please provide a patch to those. The basic html pipeline in that plugin is now presenting an html rendition of those source docs, so you don't need the static html version anymore.

> Create sample document for XHTML2 subset
> ----------------------------------------
>
>          Key: FOR-655
>          URL: http://issues.apache.org/jira/browse/FOR-655
>      Project: Forrest
>         Type: Sub-task
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev

>
> Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
> Re: XHTML2 - let's do it!
> http://marc.theaimsgroup.com/?t=112489497100007

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FOR-655) Create sample document for XHTML2 subset

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-655?page=all ]

David Crossley updated FOR-655:
-------------------------------

    Fix Version: 0.8-dev
    Description: 
Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
Re: XHTML2 - let's do it!
http://marc.theaimsgroup.com/?t=112489497100007
        Version: 0.8-dev
    Environment: 

> Create sample document for XHTML2 subset
> ----------------------------------------
>
>          Key: FOR-655
>          URL: http://issues.apache.org/jira/browse/FOR-655
>      Project: Forrest
>         Type: Sub-task
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev

>
> Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
> Re: XHTML2 - let's do it!
> http://marc.theaimsgroup.com/?t=112489497100007

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by Ross Gardler <ro...@gardler.org>.
Ross Gardler wrote:
> br_gavmc@e-wire.net.au wrote:

...

>> FYI, I am doing this to gain more knowledge and experience in things that
>> I do not know
> 
> 
> I know what you mean. I sed to be a lecturer in Tertiary education, I 
> always told my students that I have learnt far more in Open Source 
> communities than I ever learnt in formal education or employment.

Wow, that sounds really arrogant.

Of course I meant to say "and I still learn more in Open Source than in 
any other part of my working life" ;-)

Ross

Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by Ross Gardler <rg...@apache.org>.
br_gavmc@e-wire.net.au wrote:
> Ross wrote :
> 

...

>>It is brilliant you are finding the time to get started on this stuff
>>ahead of Forrest Tuesday. We will need you to be around all (your) night
>>to advise on the relaxNG stuff ;-)
> 
> 
> No problem, I just thought that something to work with from the start
> might help, I wont be there right at the start I dont think, but around
> 7PM onwards (12PM GMT) for a few hours.

We will probably miss one another then, unfortunately this is one of the 
few days I am not in control of my own schedule. We'll meet properly 
next Forrest Tuesday.

> FYI, I am doing this to gain more knowledge and experience in things that
> I do not know

I know what you mean. I sed to be a lecturer in Tertiary education, I 
always told my students that I have learnt far more in Open Source 
communities than I ever learnt in formal education or employment.


>  I am here for the
> fun of it :)

I think that is the prime motivator for the majority of us, even those 
who use Forrest at work.

Ross

Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by br...@e-wire.net.au.
Ross wrote :
>
> I guess we will create a branch to work in as part of the Forrest
> Tuesday thing. We will, most likely start off with a new seed site that
> uses XHTML2 as the source files. We then need to convert forrest:views
> to work with these input files rather than with Xdocs.
>
>> By conversion I mean to create a /samples/xhtml2.* page
>> (or whiteboard) containing all these new elements,using
>> an existing forrest page, probably
>> http://forrest.apache.org/dtdx/document-v20.html
>
> I think the process you are using, working through the recomendation and
> creating parts of the document to illustrate each of the elements is
> better than starting with an existing document v2.0. This way we know we
> have everything in the example page. Although it is worth bearing in
> mind the goal is to have a file that can replace
> http://forrest.apache.org/dtdx/document-v20.html as an example of ow to
> do things, so the language used should be similar..

Ok good, just checking that what I have so far is useful.

> It is brilliant you are finding the time to get started on this stuff
> ahead of Forrest Tuesday. We will need you to be around all (your) night
> to advise on the relaxNG stuff ;-)

No problem, I just thought that something to work with from the start
might help, I wont be there right at the start I dont think, but around
7PM onwards (12PM GMT) for a few hours.

FYI, I am doing this to gain more knowledge and experience in things that
I do not know, and because Forrest is a great idea. I aim to use it on my
sites in the future. Apart from that I do not use it in a work environment
and have no specific requirements of it. In other words, I am here for the
fun of it :)

Gav...
Gav...
>
> Ross
>




Re: XHTML2 branch or not (was Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset)

Posted by Thorsten Scherler <th...@apache.org>.
On Mon, 2005-09-05 at 08:35 +0100, Ross Gardler wrote:
...
> But wait...
> 
> We said we would modify forrest:views to work with XHTML and the 
> internal.views plugin already has a copy of most of the pipelines in it. 
> We can't go replacing the existing internal.views plugin beause people 
> are using that. I therefore further propose that this new XHTML2 
> internal plugin is also a new forrest:views internal plugin, in which we 
> refactor for the locationmap.

+1

Thanks Ross for your overside. :) I actually have refactored code on
that sitting on my harddrive where I started to use lm in the
internal.view.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


XHTML2 branch or not (was Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset)

Posted by Ross Gardler <rg...@apache.org>.
David Crossley wrote:
> Ross Gardler wrote:
> 
>>I guess we will create a branch to work in as part of the Forrest 
>>Tuesday thing. We will, most likely start off with a new seed site that 
>>uses XHTML2 as the source files. We then need to convert forrest:views 
>>to work with these input files rather than with Xdocs.
> 
> 
> Evidently we don't need a branch:
> http://marc.theaimsgroup.com/?l=forrest-dev&m=112530884006740

Hmmm... I'm not sure about that, I thought the whole outcome of our 
recent discussions about using SVN for better management was that we 
kept trunk stable and used branches for major new functionality.

I'm concerned about adding yet more pipelines to our already 
overstretched sitemaps. They are confusing enough as it is, lets not 
make them worse before we refactor them. My suggestion to use a branch 
is driven by the fact that I would like to rip out the parts of the 
sitemap that will no longer be relevant after the conversion to XHTML2 
(XDoc pipelines for example).

I'd like to see much cleaner sitemaps as a result of this work. However, 
this *will* break backward compatability for a period since we need to 
extract processing from core into plugins. Hence I think we need a branch.

But, ther is an alternative ...

It can be done without a branch, if we do it as an internal plugin so 
that we are not touching the core sitemaps. The core is scheduled for a 
major refactoring using the locatiomap, it seems counter productive to 
add more complexity to those pipelines before doing that work.

I therefore propose that we start an internal plugin that has the 
relevant pipelines, complete with refactoring.

But wait...

We said we would modify forrest:views to work with XHTML and the 
internal.views plugin already has a copy of most of the pipelines in it. 
We can't go replacing the existing internal.views plugin beause people 
are using that. I therefore further propose that this new XHTML2 
internal plugin is also a new forrest:views internal plugin, in which we 
refactor for the locationmap.

Am I trying to do too much all at once or are all these things 
complimentary?

If this is too much all at once then we need a branch in order to be 
sure we don't break trunk.

Ross

Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by David Crossley <cr...@apache.org>.
Ross Gardler wrote:
> 
> I guess we will create a branch to work in as part of the Forrest 
> Tuesday thing. We will, most likely start off with a new seed site that 
> uses XHTML2 as the source files. We then need to convert forrest:views 
> to work with these input files rather than with Xdocs.

Evidently we don't need a branch:
http://marc.theaimsgroup.com/?l=forrest-dev&m=112530884006740

-David

Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by Ross Gardler <rg...@apache.org>.
br_gavmc@e-wire.net.au wrote:
> David wrote:
> 
> 
>>>Thanks. If you use the examples I provide (in a few hours) to get it all
>>>working I can then afterwards convert it into a proper forrest xml/html
>>>page.
>>
>>Sorry i don't understand what you mean by "forrest version"
>>or "convert it into a proper forrest xml/html".
>>
>>Wait and see what you have today. **
> 
> 
> Sorry, I mean the page I put up as example code at
> http://apache.minitutorials.com/xhtml2.html
> is just a standalone page and is not part of a
> forrest site, contains no menus etc etc.

I guess we will create a branch to work in as part of the Forrest 
Tuesday thing. We will, most likely start off with a new seed site that 
uses XHTML2 as the source files. We then need to convert forrest:views 
to work with these input files rather than with Xdocs.

> By conversion I mean to create a /samples/xhtml2.* page
> (or whiteboard) containing all these new elements,using
> an existing forrest page, probably
> http://forrest.apache.org/dtdx/document-v20.html

I think the process you are using, working through the recomendation and 
creating parts of the document to illustrate each of the elements is 
better than starting with an existing document v2.0. This way we know we 
have everything in the example page. Although it is worth bearing in 
mind the goal is to have a file that can replace 
http://forrest.apache.org/dtdx/document-v20.html as an example of ow to 
do things, so the language used should be similar..

>>The aim of ForrestTuesday is to start working on the
>>proper xhtml2 internal format. So the job is big.
>>See the mail thread in the Description of
>>http://issues.apache.org/jira/browse/FOR-184
> 
> 
> I don't doubt the hugeness of the task, I was just hoping
> to create a sample page involving everything that is xhtml2
> that can be used as a basis of xhtml2 working code. All this
> pipelining stuff etc is where I watch with interest. I am
> looking at relaxNG stuff and at
> http://forrest.apache.org/docs_0_70/validation.html#relaxng
> but that is all I am doing atm, looking.

It is brilliant you are finding the time to get started on this stuff 
ahead of Forrest Tuesday. We will need you to be around all (your) night 
to advise on the relaxNG stuff ;-)

Ross

Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by br...@e-wire.net.au.
David wrote:

>> Thanks. If you use the examples I provide (in a few hours) to get it all
>> working I can then afterwards convert it into a proper forrest xml/html
>> page.
>
> Sorry i don't understand what you mean by "forrest version"
> or "convert it into a proper forrest xml/html".
>
> Wait and see what you have today. **

Sorry, I mean the page I put up as example code at
http://apache.minitutorials.com/xhtml2.html
is just a standalone page and is not part of a
forrest site, contains no menus etc etc.

**(What I will have to today is this standalone .html page
finished which will show what the final output xhtml2 code
is supposed to end up like, and hopefully an xml version
of it)

By conversion I mean to create a /samples/xhtml2.* page
(or whiteboard) containing all these new elements,using
an existing forrest page, probably
http://forrest.apache.org/dtdx/document-v20.html


>
> The aim of ForrestTuesday is to start working on the
> proper xhtml2 internal format. So the job is big.
> See the mail thread in the Description of
> http://issues.apache.org/jira/browse/FOR-184

I don't doubt the hugeness of the task, I was just hoping
to create a sample page involving everything that is xhtml2
that can be used as a basis of xhtml2 working code. All this
pipelining stuff etc is where I watch with interest. I am
looking at relaxNG stuff and at
http://forrest.apache.org/docs_0_70/validation.html#relaxng
but that is all I am doing atm, looking.

>
> One part of that is an input xhtml2.xml source instance.
> The rest is new internal pipelines and stylesheets.
>
>> Will a working example need to be placed on the main site almost
>> immediatly using the pelt skin with a forrest:views version later, or
>> just
>> do a views version or ... ?
>
> Don't know at this stage.
>
> -David
>

Ok, thanks. Tomorrow will be interesting I think, will be there at some
point.

Gav...



Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by David Crossley <cr...@apache.org>.
br_gavmc wrote:
> > Gav.... wrote:
> >> |
> >> | Nicola Ken Barozzi commented on FOR-655:
> >> | ----------------------------------------
> >> |
> >> | This is the idea, it's ok.
> >> |
> >> | For every tag demoed, I would also add the tags in a
> >> <pre-code-whatsitnowcalled> zone, so that one can see the underlying
> >> code
> >> near to the result.
> >>
> >> Its now <blockcode> and I can do this no problem. The problem lies in
> >> the
> >> fact that as far as I can tell there is no browser capable of parsing
> >> straight xhtml2 code yet. (Hence my example page looks a bit plain)
> >
> > I gather that this is a strict XHTML2 file which will
> > be used as source input to Forrest.
> 
> Yep. I will complete this tonight with all the elements and example code
> in NKB's original list.
> 
> >> The
> >> schema needs sorting out and other things I probably havent thought
> >> about.
> >> Looking around I see that others are producing it in xml (
> >> http://w3future.com/html/examples.xml )and then transforming it back
> >> into
> >> xhtml 1, I don't think that is the desired result here.
> >
> > We want the raw XHTML2 file. I suppose *.xml is correct.
> > Then we can use our SourceTypeAction to detect the namespace,
> > http://forrest.apache.org/docs/cap.html
> > and use the new Cocoon pipeline to be devised tomorrow.
> 
> Ok, I see now.
> 
> >> I guess this will be discussed tomorrow.
> >
> > Yes.
> >
> >> Anyway, I will carry on with the page I have so far - which is intended
> >> to
> >> show the end result code - and then do an xml version, unless I am
> >> advised a
> >> different more preferable route. Once working will do a forrest version.
> >
> > Forrest will transform the xml.
> 
> Thanks. If you use the examples I provide (in a few hours) to get it all
> working I can then afterwards convert it into a proper forrest xml/html
> page.

Sorry i don't understand what you mean by "forrest version"
or "convert it into a proper forrest xml/html".

Wait and see what you have today.

The aim of ForrestTuesday is to start working on the
proper xhtml2 internal format. So the job is big.
See the mail thread in the Description of
http://issues.apache.org/jira/browse/FOR-184

One part of that is an input xhtml2.xml source instance.
The rest is new internal pipelines and stylesheets.

> Will a working example need to be placed on the main site almost
> immediatly using the pelt skin with a forrest:views version later, or just
> do a views version or ... ?

Don't know at this stage.

-David

Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by br...@e-wire.net.au.
> Gav.... wrote:
>> |
>> | Nicola Ken Barozzi commented on FOR-655:
>> | ----------------------------------------
>> |
>> | This is the idea, it's ok.
>> |
>> | For every tag demoed, I would also add the tags in a
>> <pre-code-whatsitnowcalled> zone, so that one can see the underlying
>> code
>> near to the result.
>>
>> Its now <blockcode> and I can do this no problem. The problem lies in
>> the
>> fact that as far as I can tell there is no browser capable of parsing
>> straight xhtml2 code yet. (Hence my example page looks a bit plain)
>
> I gather that this is a strict XHTML2 file which will
> be used as source input to Forrest.

Yep. I will complete this tonight with all the elements and example code
in NKB's original list.

>
>> The
>> schema needs sorting out and other things I probably havent thought
>> about.
>> Looking around I see that others are producing it in xml (
>> http://w3future.com/html/examples.xml )and then transforming it back
>> into
>> xhtml 1, I don't think that is the desired result here.
>
> We want the raw XHTML2 file. I suppose *.xml is correct.
> Then we can use our SourceTypeAction to detect the namespace,
> http://forrest.apache.org/docs/cap.html
> and use the new Cocoon pipeline to be devised tomorrow.

Ok, I see now.

>
>> I guess this will be discussed tomorrow.
>
> Yes.
>
>> Anyway, I will carry on with the page I have so far - which is intended
>> to
>> show the end result code - and then do an xml version, unless I am
>> advised a
>> different more preferable route. Once working will do a forrest version.
>
> Forrest will transform the xml.
>
> -David
>

Thanks. If you use the examples I provide (in a few hours) to get it all
working I can then afterwards convert it into a proper forrest xml/html
page. Will a working example need to be placed on the main site almost
immediatly using the pelt skin with a forrest:views version later, or just
do a views version or ... ?






Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by David Crossley <cr...@apache.org>.
Gav.... wrote:
> |
> | Nicola Ken Barozzi commented on FOR-655:
> | ----------------------------------------
> |
> | This is the idea, it's ok.
> |
> | For every tag demoed, I would also add the tags in a 
> <pre-code-whatsitnowcalled> zone, so that one can see the underlying code 
> near to the result.
> 
> Its now <blockcode> and I can do this no problem. The problem lies in the 
> fact that as far as I can tell there is no browser capable of parsing 
> straight xhtml2 code yet. (Hence my example page looks a bit plain)

I gather that this is a strict XHTML2 file which will
be used as source input to Forrest.

> The 
> schema needs sorting out and other things I probably havent thought about. 
> Looking around I see that others are producing it in xml ( 
> http://w3future.com/html/examples.xml )and then transforming it back into 
> xhtml 1, I don't think that is the desired result here.

We want the raw XHTML2 file. I suppose *.xml is correct.
Then we can use our SourceTypeAction to detect the namespace,
http://forrest.apache.org/docs/cap.html
and use the new Cocoon pipeline to be devised tomorrow.

> I guess this will be discussed tomorrow.

Yes.

> Anyway, I will carry on with the page I have so far - which is intended to 
> show the end result code - and then do an xml version, unless I am advised a 
> different more preferable route. Once working will do a forrest version.

Forrest will transform the xml.

-David

Re: [jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by "Gav...." <br...@brightontown.com.au>.
|
| Nicola Ken Barozzi commented on FOR-655:
| ----------------------------------------
|
| This is the idea, it's ok.
|
| For every tag demoed, I would also add the tags in a 
<pre-code-whatsitnowcalled> zone, so that one can see the underlying code 
near to the result.

Its now <blockcode> and I can do this no problem. The problem lies in the 
fact that as far as I can tell there is no browser capable of parsing 
straight xhtml2 code yet. (Hence my example page looks a bit plain) The 
schema needs sorting out and other things I probably havent thought about. 
Looking around I see that others are producing it in xml ( 
http://w3future.com/html/examples.xml )and then transforming it back into 
xhtml 1, I don't think that is the desired result here.

I guess this will be discussed tomorrow.

Anyway, I will carry on with the page I have so far - which is intended to 
show the end result code - and then do an xml version, unless I am advised a 
different more preferable route. Once working will do a forrest version.

Gav... 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 2/09/2005



[jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by "Nicola Ken Barozzi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-655?page=comments#action_12322623 ] 

Nicola Ken Barozzi commented on FOR-655:
----------------------------------------

This is the idea, it's ok.

For every tag demoed, I would also add the tags in a <pre-code-whatsitnowcalled> zone, so that one can see the underlying code near to the result.

> Create sample document for XHTML2 subset
> ----------------------------------------
>
>          Key: FOR-655
>          URL: http://issues.apache.org/jira/browse/FOR-655
>      Project: Forrest
>         Type: Sub-task
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev

>
> Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
> Re: XHTML2 - let's do it!
> http://marc.theaimsgroup.com/?t=112489497100007

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510629 ] 

David Crossley commented on FOR-655:
------------------------------------

Need to update our example file, after updating our RELAX NG to be http://www.w3.org/TR/2006/WD-xhtml2-20060726 (see FOR-654).

> Create sample document for XHTML2 subset
> ----------------------------------------
>
>                 Key: FOR-655
>                 URL: https://issues.apache.org/jira/browse/FOR-655
>             Project: Forrest
>          Issue Type: Sub-task
>          Components: Core operations
>    Affects Versions: 0.8
>            Reporter: Ross Gardler
>         Attachments: xhtml2_subset.xml.diff
>
>
> Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
> Re: XHTML2 - let's do it!
> http://marc.theaimsgroup.com/?t=112489497100007

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FOR-655) Create sample document for XHTML2 subset

Posted by "Gavin (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-655?page=all ]

Gavin updated FOR-655:
----------------------

    Attachment: xhtml2_subset.xml.diff

I have added all the rest of the sections mentioned in NKB's 'XHTML- lets do it!' mail.
I have populated most of these new sections with content.
There is still more content and more examples to come soon.

I have added classes and id attributes, these need confirming or changing for the
stylesheet.

> Create sample document for XHTML2 subset
> ----------------------------------------
>
>          Key: FOR-655
>          URL: http://issues.apache.org/jira/browse/FOR-655
>      Project: Forrest
>         Type: Sub-task
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev
>  Attachments: xhtml2_subset.xml.diff
>
> Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
> Re: XHTML2 - let's do it!
> http://marc.theaimsgroup.com/?t=112489497100007

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FOR-655) Create sample document for XHTML2 subset

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-655?page=comments#action_12322622 ] 

Ross Gardler commented on FOR-655:
----------------------------------

An email from Gav... (see http://marc.theaimsgroup.com/?l=forrest-dev&m=112574969132056&w=2)

I have put up a basic xhtml sample document at

 http://apache.minitutorials.com/xhtml2.html

I am basically just adding the whole list in order at the moment,
once all in and all working, then we can put all these into a 
sample forrest document and use a style sheet of our own.

I guess this is the idea, get this bit working first?

Perhaps I am working backwards.

Gav...

> Create sample document for XHTML2 subset
> ----------------------------------------
>
>          Key: FOR-655
>          URL: http://issues.apache.org/jira/browse/FOR-655
>      Project: Forrest
>         Type: Sub-task
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev

>
> Define the set of XHTML2 modules that will be used and document those by example. See discussion in thread:
> Re: XHTML2 - let's do it!
> http://marc.theaimsgroup.com/?t=112489497100007

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira