cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: cvs commit: cocoon-2.1/src/documentation/xdocs/userdocs/flowsitemap.xml
Date Sun, 01 Feb 2004 22:37:35 GMT
Christopher Oliver dijo:
> Antonio, that wasn't a typo. It is supposed to indicate "one or more".

Sorry. I understand now. The "+" was written in the sense of "lex" tokens
or "regular expressions" as grep, perl, etc. To me it was not clear, since
it is not a standard XSLT notation. Seems like I still have problem when
people is mixing languages. Sorry. :-(

Well, I will fix it back, but I think some other people (as me) can
missunderstand its meaning and think it is a typo. Since this is posible I
think we need to find another way to represent it or define a "notation".

Maybe:

<source>
  <map:flow language="Language">
    <map:script src="URI1"/>
    <map:script src="URI2"/>
    <map:script src="URI3"/>
    ...
    <map:script src="URIn"/>
  </map:flow>
</source>

or:

<source>
  <map:flow language="Language">
    <map:script src="URI"/>
    <!-- Declare more scripts here -->
    ...
  </map:flow>
</source>

To me this is clearer than a single "+" with the meaning of another language.

I will wait for an answer before make the change.

WDYT?

Best Regards,

Antonio Gallardo



>
> antonio@apache.org wrote:
>
>>antonio     2004/02/01 04:03:31
>>
>>  Modified:    src/documentation/xdocs/userdocs/flow sitemap.xml
>>  Log:
>>  Fixing typo
>>
>>  Revision  Changes    Path
>>  1.19      +1 -1
>> cocoon-2.1/src/documentation/xdocs/userdocs/flow/sitemap.xml
>>
>>  Index: sitemap.xml
>>  ===================================================================
>>  RCS file:
>> /home/cvs//cocoon-2.1/src/documentation/xdocs/userdocs/flow/sitemap.xml,v
>>  retrieving revision 1.18
>>  retrieving revision 1.19
>>  diff -u -r1.18 -r1.19
>>  --- sitemap.xml	12 Oct 2003 13:04:48 -0000	1.18
>>  +++ sitemap.xml	1 Feb 2004 12:03:31 -0000	1.19
>>  @@ -17,7 +17,7 @@
>>        <p>The <code>flow</code> element defines a Flowscript interpreter
>> for a sitemap. The <code>language</code> attribute specifies the
>> target programming language. Currently the only supported
>> language is <code>"javascript"</code>. Its embedded
>> <code>script</code> elements allow you to specify the files that
>> make up the flow for this sitemap. Each <code>script</code>
>> element specifies the URI of a script that will be compiled and
>> executed when this Sitemap is created. The <code>src</code>
>> attribute specifies the URI of the script.</p>
>>         <source><![CDATA[
>>           <map:flow language="Language">
>>  -           <map:script src="URI"/>+
>>  +           <map:script src="URI"/>
>>           </map:flow>
>>         ]]></source>
>>       <p>Example:</p>
>>
>>
>>
>>
>>
>>
>


Mime
View raw message