You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sh...@apache.org on 2013/12/24 02:18:16 UTC

svn commit: r1553238 - in /xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd: markup.ent mirrors.ent

Author: shathaway
Date: Tue Dec 24 01:18:16 2013
New Revision: 1553238

URL: http://svn.apache.org/r1553238
Log:
Update Mirrors Support

Added:
    xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd/mirrors.ent
Modified:
    xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd/markup.ent

Modified: xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd/markup.ent
URL: http://svn.apache.org/viewvc/xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd/markup.ent?rev=1553238&r1=1553237&r2=1553238&view=diff
==============================================================================
--- xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd/markup.ent (original)
+++ xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd/markup.ent Tue Dec 24 01:18:16 2013
@@ -1,21 +1,29 @@
-<?xml encoding='US-ASCII'?>
-
-<!-- MARKUP ENTITY -->
-<!ENTITY % markup "em|ref|code|br">
-
-<!-- import the external source-specific dtd -->
-<!ENTITY % externalEntity SYSTEM "../../sources/entities.ent">
-%externalEntity;
-<!-- import the external charecters.ent dtd -->
-<!ENTITY % charEntity SYSTEM "characters.ent">
-%charEntity;
-<!-- import the external links.ent dtd -->
-<!ENTITY % linksEntity SYSTEM "links.ent">
-%linksEntity;
-
-<!ELEMENT em (#PCDATA|%links;)*>
-<!ELEMENT ref (#PCDATA|%links;)*>
-<!ELEMENT code (#PCDATA|%links;|ref)*>
-<!ELEMENT br EMPTY>
-
-<!-- CVS $Revision: 1.2 $ $Date: 1999/12/01 23:03:37 $ -->
\ No newline at end of file
+<?xml encoding='US-ASCII'?>
+
+<!-- Revisions:
+     2013-07-09  Hathaway - Add mirrors.ent (select ASF distribution mirror)
+-->
+
+<!-- MARKUP ENTITY -->
+<!ENTITY % markup "em|ref|code|br">
+
+<!-- import the asfmirror element -->
+<!ENTITY % externalAsfMirrors SYSTEM "mirrors.ent">
+%externalAsfMirrors;
+
+<!-- import the external source-specific dtd -->
+<!ENTITY % externalEntity SYSTEM "../../sources/entities.ent">
+%externalEntity;
+<!-- import the external charecters.ent dtd -->
+<!ENTITY % charEntity SYSTEM "characters.ent">
+%charEntity;
+<!-- import the external links.ent dtd -->
+<!ENTITY % linksEntity SYSTEM "links.ent">
+%linksEntity;
+
+<!ELEMENT em (#PCDATA|%links;)*>
+<!ELEMENT ref (#PCDATA|%links;)*>
+<!ELEMENT code (#PCDATA|%links;|ref)*>
+<!ELEMENT br EMPTY>
+
+<!ELEMENT comment (#PCDATA)>

Added: xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd/mirrors.ent
URL: http://svn.apache.org/viewvc/xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd/mirrors.ent?rev=1553238&view=auto
==============================================================================
--- xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd/mirrors.ent (added)
+++ xalan/c/branches/XalanDocs/xalan/c/trunk/xdocs/style/dtd/mirrors.ent Tue Dec 24 01:18:16 2013
@@ -0,0 +1,49 @@
+<!--<?xml version="1.0" encoding="UTF-8" standalone="no"?> -->
+<!-- included by markup.ent -->
+
+<!-- The "mirrors.ent" file defines the markup elements used by the XSLT stylebook.xslt
+     transformation to create web pages for ASF software package downloads.  The
+     prepared download.html or mirrors.html contains the production of <asfmirror> code.
+     A companion download.cgi or mirrors.cgi must be available as a wrapper so that
+     the ASF Python program module environment can be used with the *.html files.
+-->
+
+<!-- The <asfmirror> element causes the Stylebook.xslt to output the proper
+     active comments to select a [preferred] mirror and gives the
+     web user the opportunity to select another mirror.
+
+     The <asfmirror> element produces a choice of ASF software distribution mirrors. 
+     A python based CGI does the actual rewriting of [http] [ftp] [backup] [ent]
+     [if-any http] [if-any ftp] and [if-any backup] tokens.
+     Refer to: /www/www.apache.org/dyn/mirrors/mirrors.cgi
+
+     The entities &asfdist; &asfarch; &asfsvn; are shortcuts to three well-known
+     ASF repository trees.
+-->
+
+<!ENTITY asfdist "http://www.apache.org/dist/">
+<!ENTITY asfarch "http://archive.apache.org/dist/">
+<!ENTITY asfsvn  "https://svn.apache.org/repos/asf/">
+
+<!ELEMENT asfmirror EMPTY>
+
+<!-- The <packages> element defines the distribution subdirectory.
+     The <pkgfile>  element defines the package artifact filename and validators.
+     The <keyfile>  element defines the relative path to the PGP keyfile.
+     The path values are relative to the ASF distribution (asfdist).
+     The following example shows a possible stylebook markup usage.
+
+     <packages location="xalan/xalan-c/sources/">
+        <keyfile>xalan/xalan-c/KEYS</keyfile>
+        <pkgfile> validators="asc md5 sha">release-file-name.gz</pkgfile>
+        <pkgfile> validators="asc md5>next-release-file.zip</pkgfile>
+     </packages>
+-->
+
+<!ELEMENT packages (basefile|keyfile)*>
+<!ATTLIST packages location CDATA #REQUIRED>
+
+<!ELEMENT pkgfile (#PCDATA)>
+<!ATTLIST pkgfile validators NMTOKENS #IMPLIED>
+
+<!ELEMENT keyfile (#PCDATA)>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org