You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@locus.apache.org on 2000/10/04 23:50:19 UTC

cvs commit: xml-cocoon/xdocs/dtd document-v10.dtd

stefano     00/10/04 14:50:18

  Modified:    xdocs/dtd Tag: xml-cocoon2 document-v10.dtd
  Log:
  synched DTD with C1
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.4   +16 -17    xml-cocoon/xdocs/dtd/document-v10.dtd
  
  Index: document-v10.dtd
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/xdocs/dtd/document-v10.dtd,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- document-v10.dtd	2000/06/06 23:21:27	1.1.2.3
  +++ document-v10.dtd	2000/10/04 21:50:16	1.1.2.4
  @@ -44,13 +44,13 @@
     19991124 Added "fork" element for window forking behavior. (SM)
     19991124 Added "img-inline" element to separate from "img". (SM)
     19991129 Removed "affiliation" from "author". (SM)
  -  19991129 Made "author" empty and moved "name|email" as attributes (SM)
  -  19991215 Simplified table section (SM)
  -  19991215 Changed "img-block" in more friendly "figure" (SM)
  -  20000125 Added the "icon" image (SM)
  -  20000126 Allowed "anchor" in all levels (SM)
  -  20000404 Removed the "role" attribute from common-xxx.att (SM)
  -  20000606 Allowed nested markup tags (SM)
  +  19991129 Made "author" empty and moved "name|email" as attributes. (SM)
  +  19991215 Simplified table section. (SM)
  +  19991215 Changed "img-block" in more friendly "figure". (SM)
  +  20000125 Added the "icon" image. (SM)
  +  20000126 Allowed "anchor" in all levels. (SM)
  +  20000404 Removed the "role" attribute from common-xxx.att. (SM)
  +  20000815 Allowed "code" inside "strong" and "em". (SM)
   
   COPYRIGHT:
     Copyright (c) 1999-2000 The Apache Software Foundation.
  @@ -244,24 +244,24 @@
       <!-- Phrase Markup -->
       <!-- ==================================================== -->
   
  +    <!-- Code (typically monospaced) -->
  +    <!ELEMENT code (%text;)>
  +    <!ATTLIST code %common.att;>
  +
       <!-- Strong (typically bold) -->
  -    <!ELEMENT strong (%text;|%markup;)*>
  +    <!ELEMENT strong (%text;|code)*>
       <!ATTLIST strong %common.att;>
   
       <!-- Emphasis (typically italic) -->
  -    <!ELEMENT em (%text;|%markup;)*>
  +    <!ELEMENT em (%text;|code)*>
       <!ATTLIST em %common.att;>
   
  -    <!-- Code (typically monospaced) -->
  -    <!ELEMENT code (%text;|%markup;)*>
  -    <!ATTLIST code %common.att;>
  -
       <!-- Superscript (typically smaller and higher) -->
  -    <!ELEMENT sup (%text;|%markup;)*>
  +    <!ELEMENT sup (%text;)>
       <!ATTLIST sup %common.att;>
   
       <!-- Subscript (typically smaller and lower) -->
  -    <!ELEMENT sub (%text;|%markup;)*>
  +    <!ELEMENT sub (%text;)>
       <!ATTLIST sub %common.att;>
   
       <!-- FIXME (SM): should we add these HTML 4.0 markups
  @@ -289,8 +289,7 @@
   
       <!-- Hard window replacing link (equivalent of <a ... target="_top">) -->
       <!ELEMENT jump (%link-content.mix;)*>
  -    <!ATTLIST jump anchor CDATA #IMPLIED
  -                   %common.att;
  +    <!ATTLIST jump %common.att;
                      %xlink-simple.att;
                      %xlink-user-new.att;>
   
  
  
  

Re: cvs commit: xml-cocoon/xdocs/dtd document-v10.dtd

Posted by Stefano Mazzocchi <st...@apache.org>.
Berin Loritsch wrote:
> 
> ----- Original Message -----
> From: <st...@locus.apache.org>
> To: <xm...@apache.org>
> Sent: Wednesday, October 04, 2000 5:50 PM
> Subject: cvs commit: xml-cocoon/xdocs/dtd document-v10.dtd
> 
> > stefano     00/10/04 14:50:18
> >
> >   Modified:    xdocs/dtd Tag: xml-cocoon2 document-v10.dtd
> >   Log:
> >   synched DTD with C1
> >
> >   +  19991129 Made "author" empty and moved "name|email" as attributes. (SM)
> >   +  19991215 Simplified table section. (SM)
> >   +  19991215 Changed "img-block" in more friendly "figure". (SM)
> >   +  20000125 Added the "icon" image. (SM)
> >   +  20000126 Allowed "anchor" in all levels. (SM)
> >   +  20000404 Removed the "role" attribute from common-xxx.att. (SM)
> >   +  20000815 Allowed "code" inside "strong" and "em". (SM)
> 
> What about allowing %links; inside of em, strong, code, etc.
> 
> One thing I ran into on the Avalon docs was when I converted the HTML
> docs to the XML docs, we had a construct like this:
> 
> <em>written by <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>.</em>
> 
> In order to use the document-v10.dtd in Cocoon (which I started with)
> I had to rewrite it like this:
> 
> <em>writeen by </em><link href="mailto:bloritsch@apache.org"><em>Berin Loritsch</em></link><em>.</em>
> 
> As you can plainly see, it is very messy--but accomplishes the same thing.
> To get around it, I allowed the links to be children of the markup so I could
> write it like this:
> 
> <em>written by <link href="mailto:bloritsch@apache.org">Berin Loritsch</link>.</em>
> 
> Much more clean.
> 
> Of course, I removed that construct altogether at a later date--because every document
> that has authors displays links to the author under the title.

I'm +0 on this.

But I honestly see not that much harm in doing it.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Re: cvs commit: xml-cocoon/xdocs/dtd document-v10.dtd

Posted by Berin Loritsch <bl...@infoplanning.com>.
----- Original Message ----- 
From: <st...@locus.apache.org>
To: <xm...@apache.org>
Sent: Wednesday, October 04, 2000 5:50 PM
Subject: cvs commit: xml-cocoon/xdocs/dtd document-v10.dtd


> stefano     00/10/04 14:50:18
> 
>   Modified:    xdocs/dtd Tag: xml-cocoon2 document-v10.dtd
>   Log:
>   synched DTD with C1
>   
>   +  19991129 Made "author" empty and moved "name|email" as attributes. (SM)
>   +  19991215 Simplified table section. (SM)
>   +  19991215 Changed "img-block" in more friendly "figure". (SM)
>   +  20000125 Added the "icon" image. (SM)
>   +  20000126 Allowed "anchor" in all levels. (SM)
>   +  20000404 Removed the "role" attribute from common-xxx.att. (SM)
>   +  20000815 Allowed "code" inside "strong" and "em". (SM)

What about allowing %links; inside of em, strong, code, etc.

One thing I ran into on the Avalon docs was when I converted the HTML
docs to the XML docs, we had a construct like this:

<em>written by <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>.</em>

In order to use the document-v10.dtd in Cocoon (which I started with)
I had to rewrite it like this:

<em>writeen by </em><link href="mailto:bloritsch@apache.org"><em>Berin Loritsch</em></link><em>.</em>

As you can plainly see, it is very messy--but accomplishes the same thing.
To get around it, I allowed the links to be children of the markup so I could
write it like this:

<em>written by <link href="mailto:bloritsch@apache.org">Berin Loritsch</link>.</em>

Much more clean.

Of course, I removed that construct altogether at a later date--because every document
that has authors displays links to the author under the title.