Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 69352 invoked from network); 11 Apr 2005 15:06:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Apr 2005 15:06:01 -0000 Received: (qmail 64493 invoked by uid 500); 11 Apr 2005 15:05:57 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 64454 invoked by uid 500); 11 Apr 2005 15:05:56 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 64417 invoked by uid 99); 11 Apr 2005 15:05:56 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 11 Apr 2005 08:05:55 -0700 Received: (qmail 65351 invoked by uid 65534); 11 Apr 2005 14:59:13 -0000 Message-ID: <20050411145913.65349.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Mon, 11 Apr 2005 14:59:13 -0000 Subject: svn commit: r160895 [5/28] - in forrest/site/0.7: ./ docs/ docs/howto/ docs/images/ docs/plugins/ To: svn@forrest.apache.org From: crossley@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Propchange: forrest/site/0.7/docs/changes.xml ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/compliance.html URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/compliance.html?vi= ew=3Dauto&rev=3D160895 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/compliance.html (added) +++ forrest/site/0.7/docs/compliance.html Mon Apr 11 07:58:59 2005 @@ -0,0 +1,433 @@ + + + + + + + + +Standards Compliance (v0.7) + + + + + + + + + +
+ + + +
+ +
+3D"Apache"= +
+ + +
+3D"For= +
+ + +
+
+ =20 + + +
+ + + + +
+
+
+
+ + + + +
+ +
+ =20 +   +
+ + +
+
Documentation
+
+ +
+FAQs +
+ +
+Todo +
+ + + + + + + + + +
+
Standards Compliance
+
+
Advanced Topics
+ +
Other versions
+
+ + + +
+0.6 +
+
+
Upgrading
+ +
SubProjects
+ +
Reference docs
+
+
DTD documentation
+
+ + + + + + + +
+
Doc samples
+ +
+
Older Docs
+
+ +
+Libre +
+ +
+
+
+
+ This is documentation for current release v0.7 + (More ...)
+
+
+ +
+ + +
+
+3D"PDF
+ PDF
+
+
+ Font size:=20 +   = =20 +   +   +
+

Standards Compliance

+
+ This is documentation for current release v0.7 + (More ...)
+
+ +
=20 + =20 + +

Introduction

+
+

+ Forrest is still quite young, so there are known issues. + Standards compliance is a definite major goal. Please send patches + for the Forrest skin stylesheets to ensure such compliance. +

+
=20 + + =20 + +

HTML

+
+

+ Tested using the W3C HTML Validation Service + (validator.w3.org). The + index.html page of Forrest sites will have a link to this validato= r, + unless the user has turned this off. +

+

+ The "crust" skin (current forrest-= 0=2E6-dev) + validates as HTML 4.0.1 +

+

+ The "tigris" skin (current forrest= -0.6-dev) + validates as HTML 4.0.1 +

+
=20 + + =20 + +

WAI

+
+

See +Web Accessibility Initiative (WAI) + +

+

+ There are actually many accessibility issues with the heavy use of + tables and images. These skins are gradually being improved. +

+

+Bobby with WAI: +bobby.watchfire.com + +

+

Issues ...

+
    + =20 +
  1. + Priority 1: alt text for images. +
  2. + =20 +
  3. Priority 2:=20 + Explic= itly + associate form controls and their labels with the LABEL element. + Perhaps we could have a label hidden with CSS?
  4. + =20 +
  5. FIXME: need to list other issues here, or attend to them.
  6. + +
+
+
Note
+
The forrest-site skin does not have any missing alt= s=2E Perhaps Bobby + does not like the trick with empty alt attributes. However, it only + complains about the two in the footer, and not about the other 40.
+
+

+Bobby with U.S. Section 508 Guidelines: +bobby.watchfire.com + +

+

Issues ...

+
    + =20 +
  1. The same issues as above
  2. + +
+
=20 + + =20 + +

CSS

+
+

+Jigsaw: +jigsaw.w3.org + +

+

Issues ...

+
    +=20 +
  1. CSS 2: No errors. Some warnings.
  2. +=20 +
  3. CSS 1: Errors: hover class, @media-print. Some warnings.
  4. +=20 +
  5. FIXME: need to list other issues here, or attend to them.
  6. + +
+
=20 + =20 +
+ +
 
+
+
+ +
+ +
+
+ Copyright © 2002-2005 The Apache Software Foundation.
+ +
+ + Propchange: forrest/site/0.7/docs/compliance.html ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/compliance.pdf URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/compliance.pdf?vie= w=3Dauto&rev=3D160895 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Binary file - no diff available. Propchange: forrest/site/0.7/docs/compliance.pdf ---------------------------------------------------------------------------= --- svn:mime-type =3D application/pdf Added: forrest/site/0.7/docs/document-v12.html URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/document-v12.html?= view=3Dauto&rev=3D160895 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- forrest/site/0.7/docs/document-v12.html (added) +++ forrest/site/0.7/docs/document-v12.html Mon Apr 11 07:58:59 2005 @@ -0,0 +1,636 @@ + + + + + + + + +The document-v1.2 DTD (v0.7) + + + + + + + + + +
+ + + +
+ +
+3D"Apache"= +
+ + +
+3D"For= +
+ + +
+
+ =20 + + +
+ + + + +
+
+
+
+ + + + +
+ +
+ =20 +   +
+ + +
+
Documentation
+
+ +
+FAQs +
+ +
+Todo +
+ + + + + + + + + + +
Advanced Topics
+ +
Other versions
+
+ + + +
+0.6 +
+
+
Upgrading
+ +
SubProjects
+ +
Reference docs
+
+
DTD documentation
+
+ + + + + + + +
+
Doc samples
+ +
+
Older Docs
+
+ +
+Libre +
+ +
+
+
+
+ This is documentation for current release v0.7 + (More ...)
+
+
+ +
+ + +
+
+3D"PDF
+ PDF
+
+
+ Font size:=20 +   = =20 +   +   +
+

The document-v1.2 DTD

+
A nonsense document using all possible elements in= the current + document-v12.dtd.
+
+ This is documentation for current release v0.7 + (More ...)
+=20 + =20 +
+
Note
+
The document-v12 has been superceded by + document-v13 + =20 +
+
=20 + =20 + +

Changes since document-v11

+
+

+ doc-v12 enhances doc-v11 by relaxing various restrictions that were + found to be unnecessary. +

+
    + =20 +
  • + Links (link,jump,fork) and inline elements (br,img,icon,acronym)= are + allowed inside title. +
  • + =20 +
  • + Paragraphs (p,source,note,warning,fixme), table and figure,ancho= r are + allowed inside li. +
  • + =20 +
  • + Paragraphs (p,source,note,warning,fixme), lists (ol,ul,dl), tabl= e, + figure,anchor are allowed inside definition lists (dd) and table= s (td + and dh). +
  • + =20 +
  • + Inline content + (strong,em,code,sub,sup,br,img,icon,acronym,link,jump,fork) is + allowed in strong and em. +
  • + =20 +
+
+ =20 + +

Sample Content

+
+

+Hint: See the xml source to see how the various + elements are used and see the + + DTD documentation. +

+

This is a simple paragraph. Most documents contain a fair amount of + paragraphs. Paragraphs are called <p&g= t;.

+
With the <p xml:space=3D"pr= eserve"> attribute, you can declare + that whitespace should be preserved, without implying it is i= n any other + way special.
+

A number of in-line elements are available in the DTD, we will show them + inside an unordered list (<ul>):

+
    =20 + =20 +
  • Here is a simple list item (<li>= )=2E
  • =20 + =20 +
  • Have you seen the use of the <code> element in the + previous item?
  • =20 + =20 +
  • Also, we have <sub> and <sup> + elements to show content above or below th= e text + baseline.
  • =20 + =20 +
  • There is a facility to emphasize certain words using the + <em> <strong> + elements.
  • =20 + =20 +
  • We can use + 3D"feather" + <icon>s, too.
  • =20 + =20 +
  • Another possibility is the <img>= element: + 3D"another, + which offers the ability to refer to an image map.
  • =20 + =20 +
  • We have elements for hyperlinking:=20 +
    =20 + =20 +
    +<link href=3D"your-project.html"> +
    =20 + =20 +
    Use this to + link + to another document. As per normal, this will open the new d= ocument + in the same browser window.
    =20 + + =20 +
    +<link href=3D"#section"> +
    =20 + =20 +
    Use this to + link + to the named anchor in the current document. +
    =20 + + =20 +
    +<link href=3D"your-project.html#images"> +
    =20 + =20 +
    Use this to + link + to another document and go to the named anchor. This will op= en + the new document in the same browser window. +
    =20 + + =20 +
    +<jump href=3D"your-project.html"> +
    =20 + =20 +
    Use this to + jump + to another document and optionally go to a named + anchor<= /a> + within that document. This will open the new document in the= same + browser window. So what is the difference between link and j= ump? + The jump behaves differently, in that it will replace any fr= ames + in the current window. + This is the equivalent of + <a ... target=3D"_top"> + =20 +
    + + =20 +
    +<fork href=3D"your-project.html"> +
    =20 + =20 +
    Use this to + fork + your webbrowser to another document. This will open the docu= ment + in a new, unnamed browser window. + This is the equivalent of + <a ... target=3D"_blank"> + =20 +
    =20 + =20 +
    +
  • =20 + + =20 +
  • Oh, by the way, a definition list <dl><= /span> was used inside + the previous list item. We could put another=20 +
      =20 + =20 +
    • unordered list
    • =20 + =20 +
    • inside the list item
    • =20 + =20 +
    + =20 + + =20 + + =20 + + + + =20 +
    A sample nested table
    Or even tablesinside lists
    + =20 +
  • + =20 +
+

So far for the in-line elements, let's look at some paragraph-level + elements.

+
+
Fixme (SN)
+
The <fixme> e= lement is used for stuff + which still needs work. Mind the author attribute!
+
+
+
Note
+
Use the <note> element to draw attention to something, e.g. ...The <code> element is used when the author can't + express himself clearly using normal sentences ;-)
+
+
+
Warning
+
Sleep deprivation can be the result of being involv= ed in an open + source project. (a.k.a. the <warning&g= t; element).
+
+
+
Important
+
If you want your own labels for notes and warnings,= specify them + using the label attribute.
+
+

Apart from unordered lists, we have ordered lists too, of course.

+
    =20 + =20 +
  1. Item 1
  2. =20 + =20 +
  3. Item 2
  4. =20 + =20 +
  5. This should be 3 if my math is still OK.
  6. =20 + =20 +
+= +

Using sections

+

You can use sections to put some structure in your document. For some + strange historical reason, the section title is an attribute of = the + <section> element.

+ +

Sections, the sequel

+

Just some second section.

+ +

Section 2.1

+

Which contains a subsection (2.1).

+ +

Showing preformatted source code

+

Enough about these sections. Let's have a look at more interesting + elements, <source> for ins= tance:

+
// This example is from the book _Java in a Nutshell_ =
by David Flanagan.
+          // Written by David Flanagan.  Copyright (c) 1996 O'Reilly &=
 Associates.
+          // You may study, use, modify, and distribute this example for a=
ny purpose.
+          // This example is provided WITHOUT WARRANTY either expressed or=
 implied.
+
+          import java.applet.*;    // Don't forget these import statements!
+          import java.awt.*;
+
+          public class FirstApplet extends Applet {
+          // This method displays the applet.
+          // The Graphics class is how you do all drawing in Java.
+          public void paint(Graphics g) {
+          g.drawString("Hello World", 25, 50);
+          }
+          }
+

Please take care to still use a sensible line-length within your + source elements.

+ +

Using tables

+

And now for a table:

+=20 + =20 +=20 + =20 +=20 + =20 +=20 + =20 + =20 +=20 + =20 +=20 + =20 +=20 + =20 + =20 +=20 + =20 + + =20 + + + =20 + + =20 +
Table caption
heading cellheading cell
data celldata cell
+ Tables can be nested + + =20 +
    +
  • and can include most other elements, like lists
  • +
+ =20 +
+

Not much of attributes with <table>, if you ask me.

+ +

Using figures

+

And a <figure> to end all of this. + Note that this can also be implemented with an + <img> element. +

+
+3D"The
+
+ =20 +
+ +
 
+
+
+ +
+ +
+
+ Copyright © 2002-2005 The Apache Software Foundation.
+ +
+ + Propchange: forrest/site/0.7/docs/document-v12.html ---------------------------------------------------------------------------= --- svn:eol-style =3D native Added: forrest/site/0.7/docs/document-v12.pdf URL: http://svn.apache.org/viewcvs/forrest/site/0.7/docs/document-v12.pdf?v= iew=3Dauto&rev=3D160895 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Binary file - no diff available. Propchange: forrest/site/0.7/docs/document-v12.pdf ---------------------------------------------------------------------------= --- svn:mime-type =3D application/pdf