You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2006/04/07 00:47:49 UTC
svn commit: r392105 -
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
Author: crossley
Date: Thu Apr 6 15:47:46 2006
New Revision: 392105
URL: http://svn.apache.org/viewcvs?rev=392105&view=rev
Log:
Remove examples of acronym and definition/@cite until we know how to use them.
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml?rev=392105&r1=392104&r2=392105&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml Thu Apr 6 15:47:46 2006
@@ -23,10 +23,11 @@
<title>C</title>
<item id="CSS">
<term>Cascading Style Sheets</term>
- <acronym>CSS</acronym>
- <definition cite="http://www.w3.org/Style/CSS/">Cascading Style Sheets (CSS)
+ <definition>Cascading Style Sheets (CSS)
is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web
- documents.</definition>
+ documents.
+ Source: <a href="http://www.w3.org/Style/CSS/">W3C</a>.
+ </definition>
</item>
</part>
@@ -45,9 +46,9 @@
<title>S</title>
<item id="SVG">
<term>Scalable Vector Graphics</term>
- <acronym>SVG</acronym>
- <definition cite="http://www.w3.org/Graphics/SVG/">SVG is a language for describing
+ <definition>Scalable Vector Graphics (SVG) is a language for describing
two-dimensional graphics and graphical applications in XML.
+ Source: <a href="http://www.w3.org/Graphics/SVG/">W3C</a>.
</definition>
</item>
</part>
Re: svn commit: r392105 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
Posted by Ross Gardler <rg...@apache.org>.
David Crossley wrote:
> Ross Gardler wrote:
>
>>David Crossley wrote:
>>
>>>Now that i look more carefully at your example site,
>>>i understand more. It seems that it is somehow magically
>>>linked to a citations document. Great, however we don't
>>>yet have the Citations plugin at Forrest. FOR-756
>>
>>Ahhhh... I completely forgot about that. When I get time I'll dig out
>>the citations "plugin" too. It's in the same state as the original
>>glossary donation (i.e. against Forest 0.5).
>
>
> Do you mean this? ...
> http://issues.apache.org/jira/browse/FOR-756
err... yes - thanks for being more on the ball about what I have done
than I am myself.
>>All these "plugins" are the reason I created the plugin framework in the
>>first place. Its ironic that I have never found the time to migrate the
>>original motivations to real plugins. I suppose that is what happens
>>with a change in job.
>
>
> I wonder waht else you have in the Attic.
I think we are getting to the bottom of the "barrel". There are still a
few others, like the MSOffice plugin that are not in Jira, but there are
comments in the relevant issues if anyone decides to tackle those
issues. I always try to at least comment on forgotten code lying around
when a relevant issue comes up.
>>>Also i was getting xml validation errors, e.g.
>>>"An element with the identifier "W3C-CSS" must appear in the document."
>>
>>Not sure about that I'm afraid.
>
>
> It is from the definition/@cite IDREF attribute.
More justification for using the @class attribute instead then.
Ross
Re: svn commit: r392105 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
Posted by Ross Gardler <rg...@apache.org>.
Gav.... wrote:
>
>>-----Original Message-----
>>From: David Crossley [mailto:crossley@apache.org]
>>Sent: Friday, 7 April 2006 6:40 PM
>>To: dev@forrest.apache.org
>>Subject: Re: svn commit: r392105 -
>>/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary
>>/src/documentation/content/xdocs/glossary.xml
>>
>>Ross Gardler wrote:
>>
>>>David Crossley wrote:
>>>
>>>>Now that i look more carefully at your example site,
>>>>i understand more. It seems that it is somehow magically
>>>>linked to a citations document. Great, however we don't
>>>>yet have the Citations plugin at Forrest. FOR-756
>>>
>>>Ahhhh... I completely forgot about that. When I get time I'll dig out
>>>the citations "plugin" too. It's in the same state as the original
>>>glossary donation (i.e. against Forest 0.5).
>>
>>Do you mean this? ...
>>http://issues.apache.org/jira/browse/FOR-756
>
>
> I have downloaded the attached files, this Plugin looks like it can be built
> and upgraded in much the same way as the Glossary Plugin ?
Yes, it was written against the exact same version of Forrest as the
Glossary plugin. So you should have no real problems.
> And are all the other new Plugin upgrade Issues a similar job?
Now you know how to put a plugin together, yes, they are similar, but
not at all the same.
> I might be in the mood to have a go at these over the next week or two.
WooHoo!!!!
Someone able to pick up the pieces left by people who move to fast to
finish what they started (that'll include me by the way!)
> (Unless there is more important stuff I could tackle?)
One other thing that would be really useful is the modifications to the
COAT theme [1]. If I remember correctly you are pretty smart with CSS so
maybe you would like to tackle this, it involves some tidying up of
dispatcher contracts as well judging by the description of changes.
In terms of "more important", the items on the 0.8 roadmap [2] are
always important.
However, it is important that you choose stuff that you *want* to do.
All this is great for the project and we need to get it done before we
can release, but we don't want you burning out on us - you have to have
some fun - so pick and choose what you want to do.
Ross
[1] http://issues.apache.org/jira/browse/FOR-817
[2]
http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolution=-1&pid=12310000&fixfor=12310040
RE: svn commit: r392105 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
Posted by "Gav...." <br...@brightontown.com.au>.
> -----Original Message-----
> From: David Crossley [mailto:crossley@apache.org]
> Sent: Friday, 7 April 2006 6:40 PM
> To: dev@forrest.apache.org
> Subject: Re: svn commit: r392105 -
> /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary
> /src/documentation/content/xdocs/glossary.xml
>
> Ross Gardler wrote:
> > David Crossley wrote:
> > >
> > >Now that i look more carefully at your example site,
> > >i understand more. It seems that it is somehow magically
> > >linked to a citations document. Great, however we don't
> > >yet have the Citations plugin at Forrest. FOR-756
> >
> > Ahhhh... I completely forgot about that. When I get time I'll dig out
> > the citations "plugin" too. It's in the same state as the original
> > glossary donation (i.e. against Forest 0.5).
>
> Do you mean this? ...
> http://issues.apache.org/jira/browse/FOR-756
I have downloaded the attached files, this Plugin looks like it can be built
and upgraded in much the same way as the Glossary Plugin ?
And are all the other new Plugin upgrade Issues a similar job?
I might be in the mood to have a go at these over the next week or two.
(Unless there is more important stuff I could tackle?)
Gav...
>
> > All these "plugins" are the reason I created the plugin framework in the
> > first place. Its ironic that I have never found the time to migrate the
> > original motivations to real plugins. I suppose that is what happens
> > with a change in job.
>
> I wonder waht else you have in the Attic.
>
> > >Also i was getting xml validation errors, e.g.
> > >"An element with the identifier "W3C-CSS" must appear in the document."
> >
> > Not sure about that I'm afraid.
>
> It is from the definition/@cite IDREF attribute.
>
> -David
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.5/303 - Release Date: 6/04/2006
Re: svn commit: r392105 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
Posted by David Crossley <cr...@apache.org>.
Ross Gardler wrote:
> David Crossley wrote:
> >
> >Now that i look more carefully at your example site,
> >i understand more. It seems that it is somehow magically
> >linked to a citations document. Great, however we don't
> >yet have the Citations plugin at Forrest. FOR-756
>
> Ahhhh... I completely forgot about that. When I get time I'll dig out
> the citations "plugin" too. It's in the same state as the original
> glossary donation (i.e. against Forest 0.5).
Do you mean this? ...
http://issues.apache.org/jira/browse/FOR-756
> All these "plugins" are the reason I created the plugin framework in the
> first place. Its ironic that I have never found the time to migrate the
> original motivations to real plugins. I suppose that is what happens
> with a change in job.
I wonder waht else you have in the Attic.
> >Also i was getting xml validation errors, e.g.
> >"An element with the identifier "W3C-CSS" must appear in the document."
>
> Not sure about that I'm afraid.
It is from the definition/@cite IDREF attribute.
-David
Re: svn commit: r392105 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
Posted by Ross Gardler <rg...@apache.org>.
David Crossley wrote:
> Ross Gardler wrote:
>
>>>Author: crossley
>>>Date: Thu Apr 6 15:47:46 2006
>>>New Revision: 392105
>>>
>>>URL: http://svn.apache.org/viewcvs?rev=392105&view=rev
>>>Log:
>>>Remove examples of acronym and definition/@cite until we know how to use
>>>them.
>>
>>See inline...
>>
>>
>>>Modified:
>>>forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
>>>URL:
>>>http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml?rev=392105&r1=392104&r2=392105&view=diff
>>>==============================================================================
>>>---
>>>forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml (original)
>>>+++
>>>forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml Thu Apr 6 15:47:46 2006
>>>@@ -23,10 +23,11 @@
>>> <title>C</title>
>>> <item id="CSS">
>>> <term>Cascading Style Sheets</term>
>>>- <acronym>CSS</acronym>
>>>- <definition cite="http://www.w3.org/Style/CSS/">Cascading Style
>>>Sheets (CSS)
>>>+ <definition>Cascading Style Sheets (CSS)
>>> is a simple mechanism for adding style (e.g. fonts, colors,
>>> spacing) to Web
>>>- documents.</definition>
>>
>>Cite is used to link to an original source for the definition. Each
>>glossary term can have multiple definitions, some of which may not be
>>our copyright, therefore we need to cite the source.
>
>
> Yes definitely. That is why i was careful to add this
> workaround.
>
>
>>>+ documents.
>>>+ Source: <a href="http://www.w3.org/Style/CSS/">W3C</a>.
>
>
> That was my workaround because i could not get the @cite
> to work. The generated html had links that went nowhere.
>
> Now that i look more carefully at your example site,
> i understand more. It seems that it is somehow magically
> linked to a citations document. Great, however we don't
> yet have the Citations plugin at Forrest. FOR-756
Ahhhh... I completely forgot about that. When I get time I'll dig out
the citations "plugin" too. It's in the same state as the original
glossary donation (i.e. against Forest 0.5).
All these "plugins" are the reason I created the plugin framework in the
first place. Its ironic that I have never found the time to migrate the
original motivations to real plugins. I suppose that is what happens
with a change in job.
> Also i was getting xml validation errors, e.g.
> "An element with the identifier "W3C-CSS" must appear in the document."
Not sure about that I'm afraid.
Ross
Re: svn commit: r392105 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
Posted by David Crossley <cr...@apache.org>.
Ross Gardler wrote:
> >Author: crossley
> >Date: Thu Apr 6 15:47:46 2006
> >New Revision: 392105
> >
> >URL: http://svn.apache.org/viewcvs?rev=392105&view=rev
> >Log:
> >Remove examples of acronym and definition/@cite until we know how to use
> >them.
>
> See inline...
>
> >Modified:
> >forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
> >URL:
> >http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml?rev=392105&r1=392104&r2=392105&view=diff
> >==============================================================================
> >---
> >forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml (original)
> >+++
> >forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml Thu Apr 6 15:47:46 2006
> >@@ -23,10 +23,11 @@
> > <title>C</title>
> > <item id="CSS">
> > <term>Cascading Style Sheets</term>
> >- <acronym>CSS</acronym>
> >- <definition cite="http://www.w3.org/Style/CSS/">Cascading Style
> >Sheets (CSS)
> >+ <definition>Cascading Style Sheets (CSS)
> > is a simple mechanism for adding style (e.g. fonts, colors,
> > spacing) to Web
> >- documents.</definition>
>
> Cite is used to link to an original source for the definition. Each
> glossary term can have multiple definitions, some of which may not be
> our copyright, therefore we need to cite the source.
Yes definitely. That is why i was careful to add this
workaround.
> >+ documents.
> >+ Source: <a href="http://www.w3.org/Style/CSS/">W3C</a>.
That was my workaround because i could not get the @cite
to work. The generated html had links that went nowhere.
Now that i look more carefully at your example site,
i understand more. It seems that it is somehow magically
linked to a citations document. Great, however we don't
yet have the Citations plugin at Forrest. FOR-756
Also i was getting xml validation errors, e.g.
"An element with the identifier "W3C-CSS" must appear in the document."
Same with your example document below.
> Putting it in the @cite attribute allows us to do this processing in
> XSLT. We can do clever stuff like "only show defininitions from the w3c".
>
> > <item id="SVG">
> > <term>Scalable Vector Graphics</term>
> >- <acronym>SVG</acronym>
> >- <definition cite="http://www.w3.org/Graphics/SVG/">SVG is a
> >language for describing
> >+ <definition>Scalable Vector Graphics (SVG) is a language for
> >describing
> > two-dimensional graphics and graphical applications in XML.
> >+ Source: <a href="http://www.w3.org/Graphics/SVG/">W3C</a>.
> > </definition>
>
> Again, putting the accronym in an attribute allows us to do powerful
> stuff like search for the term associated with this accronym. Why is
> this not an attribute? Because some terms have multiple accronyms
>
> For complete examples, see the glossary.xml file I originally attached
> to the issue. This document is rendered at [1]. You can see that the
> @cite is rendered by the XSLT in almost the same way you have hard coded
> above. The accronyms are also rendered in a similar way to what you ahve
> above, for example "Data Definition Language (DDL)".
Hmm, i have the acronym stuff working now.
Don't know what the problem was.
-David
>
> Ross
>
> [1] http://www.gardler.org/teaching/glossary.html
Re: svn commit: r392105 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
Posted by Ross Gardler <rg...@apache.org>.
crossley@apache.org wrote:
> Author: crossley
> Date: Thu Apr 6 15:47:46 2006
> New Revision: 392105
>
> URL: http://svn.apache.org/viewcvs?rev=392105&view=rev
> Log:
> Remove examples of acronym and definition/@cite until we know how to use them.
See inline...
> Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
> URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml?rev=392105&r1=392104&r2=392105&view=diff
> ==============================================================================
> --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml (original)
> +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml Thu Apr 6 15:47:46 2006
> @@ -23,10 +23,11 @@
> <title>C</title>
> <item id="CSS">
> <term>Cascading Style Sheets</term>
> - <acronym>CSS</acronym>
> - <definition cite="http://www.w3.org/Style/CSS/">Cascading Style Sheets (CSS)
> + <definition>Cascading Style Sheets (CSS)
> is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web
> - documents.</definition>
Cite is used to link to an original source for the definition. Each
glossary term can have multiple definitions, some of which may not be
our copyright, therefore we need to cite the source.
> + documents.
> + Source: <a href="http://www.w3.org/Style/CSS/">W3C</a>.
Putting it in the @cite attribute allows us to do this processing in
XSLT. We can do clever stuff like "only show defininitions from the w3c".
> <item id="SVG">
> <term>Scalable Vector Graphics</term>
> - <acronym>SVG</acronym>
> - <definition cite="http://www.w3.org/Graphics/SVG/">SVG is a language for describing
> + <definition>Scalable Vector Graphics (SVG) is a language for describing
> two-dimensional graphics and graphical applications in XML.
> + Source: <a href="http://www.w3.org/Graphics/SVG/">W3C</a>.
> </definition>
Again, putting the accronym in an attribute allows us to do powerful
stuff like search for the term associated with this accronym. Why is
this not an attribute? Because some terms have multiple accronyms
For complete examples, see the glossary.xml file I originally attached
to the issue. This document is rendered at [1]. You can see that the
@cite is rendered by the XSLT in almost the same way you have hard coded
above. The accronyms are also rendered in a similar way to what you ahve
above, for example "Data Definition Language (DDL)".
Ross
[1] http://www.gardler.org/teaching/glossary.html