You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(16) |
Mar
(41) |
Apr
(19) |
May
(3) |
Jun
(34) |
Jul
(40) |
Aug
(40) |
Sep
(166) |
Oct
(78) |
Nov
(42) |
Dec
(54) |
2005 |
Jan
(2) |
Feb
(19) |
Mar
(19) |
Apr
(31) |
May
(50) |
Jun
(16) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(29) |
Nov
|
Dec
|
2006 |
Jan
|
Feb
(5) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
(7) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Kurt R. <kr...@us...> - 2005-02-26 14:59:19
|
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26179/src/net/sf/xframe/xsddoc/xslt Modified Files: xml2html.xsl Log Message: links to stylesheet fixed Index: xml2html.xsl =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/xml2html.xsl,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** xml2html.xsl 13 Jan 2005 15:56:35 -0000 1.36 --- xml2html.xsl 26 Feb 2005 14:59:10 -0000 1.37 *************** *** 161,165 **** <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> ! <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"/> </head> <body> --- 161,165 ---- <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> ! <link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style"/> </head> <body> *************** *** 327,331 **** <title>Namespaces Overview</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> ! <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/> </head> <body> --- 327,331 ---- <title>Namespaces Overview</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> ! <link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style"/> </head> <body> *************** *** 390,394 **** <title>Index of all Namespace</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> ! <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/> </head> <body> --- 390,394 ---- <title>Index of all Namespace</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> ! <link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style"/> </head> <body> |
From: Kurt R. <kr...@us...> - 2005-02-26 14:44:21
|
Update of /cvsroot/xframe/xsddoc/xdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22982/xdocs Modified Files: news.xml Log Message: announvement for oncoming release 0.7 Index: news.xml =================================================================== RCS file: /cvsroot/xframe/xsddoc/xdocs/news.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** news.xml 9 Dec 2004 12:43:54 -0000 1.4 --- news.xml 26 Feb 2005 14:44:11 -0000 1.5 *************** *** 33,48 **** <section name="News and Status"> <subsection name="Oct. 8, 2004 - xsddoc 0.6 beta released"> <p>The xframe team is pleased to announce release 0.6-beta of the sub project xsddoc.</p> <p>The xsddoc subproject of xframe is an Open Source documentation tool ! for W3C XML Schema based on XSLT and XalanJ. With xsddoc you can ! generate documentation of your XML Schema in a JavaDoc like visualisation.</p> <p>This Announcement notes the significant changes in Release 0.6-beta ! compared to Release to 0.5-beta:</p> <p>New features:</p> <ul> ! <li>Support cameleon schema</li> ! <li>documentation for nestedd element declarations (nested elements summary and details)</li> </ul> --- 33,81 ---- <section name="News and Status"> + <subsection name="Feb. 26, 2005 - xsddoc 0.7 beta released"> + <p>The xframe team is pleased to announce release 0.7-beta + of the sub project xsddoc.</p> + <p>The xsddoc subproject of xframe is an Open Source documentation tool + for W3C XML Schema based on XSLT and XalanJ. With xsddoc you can + generate documentation of your XML Schema in a JavaDoc like visualisation.</p> + <p>This Announcement notes the significant changes in Release 0.7-beta + compared to Release to 0.6-beta:</p> + <p>New features:</p> + <ul> + <li>Support external CSS file</li> + <li>continue on error</li> + <li>maven-plugin: exclude property</li> + <li>maven-plugin: load schema thru proxy</li> + </ul> + <p>Fixes for the following bugs:</p> + <ul> + <li>1151806 Duplicate message output on all errors and warnings</li> + <li>1151805 Short documentation missing in namespace summary</li> + <li>1151802 @type ref to included schema not shown</li> + <li>1151800 Nested element summary</li> + <li>1151799 Attributes of base type of restriction not included</li> + <li>1151790 imported from redefined not in overview pages</li> + <li>1151295 xsddoc generates broken links</li> + <li>1123251 maven plugin can't find xalan</li> + <li>1089703 [maven-xsddoc-plugin] fails if maven.xsddoc.src not present</li> + <li>1084493 invalid href in source: element references</li> + <li>1082836 missing namespace refs on summary if only redefineds</li> + <li>1082834 circular loop with redefined attribute groups</li> + <li>1045819 Cyclic includes in XSDs cause xsddoc to fail</li> + </ul> + </subsection> + <subsection name="Oct. 8, 2004 - xsddoc 0.6 beta released"> <p>The xframe team is pleased to announce release 0.6-beta of the sub project xsddoc.</p> <p>The xsddoc subproject of xframe is an Open Source documentation tool ! for W3C XML Schema based on XSLT and XalanJ. With xsddoc you can ! generate documentation of your XML Schema in a JavaDoc like visualisation.</p> <p>This Announcement notes the significant changes in Release 0.6-beta ! compared to Release to 0.5-beta:</p> <p>New features:</p> <ul> ! <li>Support cameleon schema</li> ! <li>documentation for nestedd element declarations (nested elements summary and details)</li> </ul> *************** *** 50,64 **** <p>Fixes for the following bugs:</p> <ul> ! <li>1015389 documentation of nested element incomplete</li> ! <li>1015385 cameleon design not supported</li> ! <li>1012887 wrong model when using group with xs:all</li> ! <li>1002228 Patches for XSDDoc</li> ! <li>997004 "null" if target folder doesn't exist</li> ! <li>991049 missing components in namespace-overview</li> ! <li>991020 filesets: cannot resolve schema locations</li> ! <li>990990 Duplicate global variable declaration in component.xsl</li> ! <li>986150 cyclic include of xsd files aborts the doc generation</li> ! <li>978542 Invalid link to simpleType documentation</li> ! <li>978539 Some annotations lost</li> </ul> </subsection> --- 83,97 ---- <p>Fixes for the following bugs:</p> <ul> ! <li>1015389 documentation of nested element incomplete</li> ! <li>1015385 cameleon design not supported</li> ! <li>1012887 wrong model when using group with xs:all</li> ! <li>1002228 Patches for XSDDoc</li> ! <li>997004 "null" if target folder doesn't exist</li> ! <li>991049 missing components in namespace-overview</li> ! <li>991020 filesets: cannot resolve schema locations</li> ! <li>990990 Duplicate global variable declaration in component.xsl</li> ! <li>986150 cyclic include of xsd files aborts the doc generation</li> ! <li>978542 Invalid link to simpleType documentation</li> ! <li>978539 Some annotations lost</li> </ul> </subsection> *************** *** 68,93 **** of the sub project xsddoc.</p> <p>The xsddoc subproject of xframe is an Open Source documentation tool ! for W3C XML Schema based on XSLT and XalanJ. With xsddoc you can ! generate documentation of your XML Schema in a JavaDoc like visualisation.</p> <p>This Announcement notes the significant changes in Release 0.5-beta ! compared to Release to 0.4-beta:</p> <p>Fixes for the following bugs:</p> <ul> ! <li>972508 simpleType link vs. complexType link</li> ! <li>972042 DOS line feeds in UNIX shell scripts</li> ! <li>972041 type: XSDOC_HOME instead of XSDDOC_HOME</li> ! <li>970755 Multiple links to elements</li> ! <li>965887 TransformerEx.: ElemTemplateElement-Error: namespaceFolder</li> ! <li>957268 circular import</li> ! <li>954796 attributes detail: Form unqualified1</li> ! <li>949282 Duplicate global variable declaration exception</li> ! <li>943687 local Attr. decl. within complexContent missing in model doc</li> ! <li>942908 incomplete overview if targetNamespace empty</li> ! <li>939335 Missing details in the "Attribute Detail" sections</li> ! <li>939137 include external schema</li> ! <li>939135 warnings when building the stress sample</li> ! <li>937584 xsddoc: elements don't appear</li> ! <li>937583 typo (nit)</li> ! <li>936225 model documentation of local simple type attributes</li> </ul> </subsection> --- 101,126 ---- of the sub project xsddoc.</p> <p>The xsddoc subproject of xframe is an Open Source documentation tool ! for W3C XML Schema based on XSLT and XalanJ. With xsddoc you can ! generate documentation of your XML Schema in a JavaDoc like visualisation.</p> <p>This Announcement notes the significant changes in Release 0.5-beta ! compared to Release to 0.4-beta:</p> <p>Fixes for the following bugs:</p> <ul> ! <li>972508 simpleType link vs. complexType link</li> ! <li>972042 DOS line feeds in UNIX shell scripts</li> ! <li>972041 type: XSDOC_HOME instead of XSDDOC_HOME</li> ! <li>970755 Multiple links to elements</li> ! <li>965887 TransformerEx.: ElemTemplateElement-Error: namespaceFolder</li> ! <li>957268 circular import</li> ! <li>954796 attributes detail: Form unqualified1</li> ! <li>949282 Duplicate global variable declaration exception</li> ! <li>943687 local Attr. decl. within complexContent missing in model doc</li> ! <li>942908 incomplete overview if targetNamespace empty</li> ! <li>939335 Missing details in the "Attribute Detail" sections</li> ! <li>939137 include external schema</li> ! <li>939135 warnings when building the stress sample</li> ! <li>937584 xsddoc: elements don't appear</li> ! <li>937583 typo (nit)</li> ! <li>936225 model documentation of local simple type attributes</li> </ul> </subsection> *************** *** 99,109 **** <subsection name="Apr. 1, 2004 - xsddoc 0.4 beta released"> <p>The xframe team is pleased to announce the first beta release ! of the sub project xsddoc, a documentation tool for W3C XML Schema.</p> <p>This Announcement notes the significant changes in Release 0.4-beta ! compared to Release to 0.3-beta:</p> <ul> ! <li>Support multiple schemas</li> ! <li>Content model and attributes documentation</li> ! <li>Fixes for all bugs reported until 31.03.2004</li> </ul> <p>xsddoc-0.3-alpha can be downloaded from --- 132,142 ---- <subsection name="Apr. 1, 2004 - xsddoc 0.4 beta released"> <p>The xframe team is pleased to announce the first beta release ! of the sub project xsddoc, a documentation tool for W3C XML Schema.</p> <p>This Announcement notes the significant changes in Release 0.4-beta ! compared to Release to 0.3-beta:</p> <ul> ! <li>Support multiple schemas</li> ! <li>Content model and attributes documentation</li> ! <li>Fixes for all bugs reported until 31.03.2004</li> </ul> <p>xsddoc-0.3-alpha can be downloaded from *************** *** 117,121 **** compared to Release to 0.2:</p> <ul> ! <li>Bugfix: Command line utitliy idependent of Apache Ant </li> <li>Many bugfixes regarding references between schema components</li> <li>Bugfix for schemas using default namespace as targetNamespace.</li> --- 150,154 ---- compared to Release to 0.2:</p> <ul> ! <li>Bugfix: Command line utitliy idependent of Apache Ant</li> <li>Many bugfixes regarding references between schema components</li> <li>Bugfix for schemas using default namespace as targetNamespace.</li> *************** *** 165,187 **** <subsection name="Oct. 20, 2003 - release 0.0.3 of the xsddoc subproject"> ! <p>We are getting close to a quite stable alpha version of the xsddoc subproject, ! our XML-Schema documentation tool. We have changed the layout to the look and feel ! of JavaDoc and included many fixes and extensions on sub- and super-types and ! cross-references. The tool is currently fully based on Apache ant and XSLT. ! Before we move to alpha status, we want to do some more testing on Linux and Mac, ! also with other important schemas like SOAP, WSDL, UDDI and more.</p> </subsection> ! <subsection name="Oct. 16, 2003 - xsddoc-0-0-2 releasedt"> ! <p>generated xml and html files reorganised, also super- and sub-types are shown in context.</p> </subsection> ! <subsection name="Oct. 13, 2003 - xsddoc-0-0-1 release"> ! <p>following the mantra of Open Source software, we decided to release ! early and often, so ! <a target="_blank" href="http://sourceforge.net/project/showfiles.php?group_id=48863">here</a> ! you can download our first pre-alpha release of xsddoc, a Tool to create ! documentation for XML Schemas. Currently xsddoc is based on Apache Ant ! to create multiple output pages.</p> </subsection> --- 198,220 ---- <subsection name="Oct. 20, 2003 - release 0.0.3 of the xsddoc subproject"> ! <p>We are getting close to a quite stable alpha version of the xsddoc subproject, ! our XML-Schema documentation tool. We have changed the layout to the look and feel ! of JavaDoc and included many fixes and extensions on sub- and super-types and ! cross-references. The tool is currently fully based on Apache ant and XSLT. ! Before we move to alpha status, we want to do some more testing on Linux and Mac, ! also with other important schemas like SOAP, WSDL, UDDI and more.</p> </subsection> ! <subsection name="Oct. 16, 2003 - xsddoc-0-0-2 releasedt"> ! <p>generated xml and html files reorganised, also super- and sub-types are shown in context.</p> </subsection> ! <subsection name="Oct. 13, 2003 - xsddoc-0-0-1 release"> ! <p>following the mantra of Open Source software, we decided to release ! early and often, so ! <a target="_blank" href="http://sourceforge.net/project/showfiles.php?group_id=48863">here</a> ! you can download our first pre-alpha release of xsddoc, a Tool to create ! documentation for XML Schemas. Currently xsddoc is based on Apache Ant ! to create multiple output pages.</p> </subsection> |
From: Kurt R. <kr...@us...> - 2005-02-26 14:44:08
|
Update of /cvsroot/xframe/xsddoc/xdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22884/xdocs Modified Files: usage-ant.xml usage-console.xml Log Message: new paramater: css (to provide an external CSS file) Index: usage-console.xml =================================================================== RCS file: /cvsroot/xframe/xsddoc/xdocs/usage-console.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** usage-console.xml 15 Sep 2004 15:19:03 -0000 1.1 --- usage-console.xml 26 Feb 2005 14:43:58 -0000 1.2 *************** *** 46,49 **** --- 46,50 ---- -a -hideAttributes hide attributes in overview pages -xml output components as XML instead of HTML (testing purpose only) + -css <css-file> optional external CSS file -v -verbose Output messages about what xsddoc is doing -q -quiet Be quiet about what xsddoc is doing Index: usage-ant.xml =================================================================== RCS file: /cvsroot/xframe/xsddoc/xdocs/usage-ant.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** usage-ant.xml 15 Sep 2004 15:19:03 -0000 1.1 --- usage-ant.xml 26 Feb 2005 14:43:58 -0000 1.2 *************** *** 51,54 **** --- 51,55 ---- <li><strong>verbose</strong> optional boolean, verbose output (default: false)</li> <li><strong>xml</strong> optional boolean, if XML should be generated instead of html for schema components (default: false)</li> + <li><strong>css</strong> optional external CSS file</li> <li><strong>hideSubTypes</strong> optional boolean, if sub types reference should be hidden (default: false)</li> <li><strong>hideLocalUsage</strong> optional boolean, if local usage reference should be hidden (default: false)</li> |
From: Kurt R. <kr...@us...> - 2005-02-26 14:43:51
|
Update of /cvsroot/xframe/maven-xsddoc-plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22826 Modified Files: plugin.properties plugin.jelly Log Message: new paramater: css (to provide an external CSS file) Index: plugin.properties =================================================================== RCS file: /cvsroot/xframe/maven-xsddoc-plugin/plugin.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** plugin.properties 22 Dec 2004 15:20:51 -0000 1.2 --- plugin.properties 26 Feb 2005 14:43:41 -0000 1.3 *************** *** 30,31 **** --- 30,32 ---- maven.xsddoc.dest=${maven.docs.dest}/xsddocs maven.xsddoc.summary=true + maven.xsddoc.css= \ No newline at end of file Index: plugin.jelly =================================================================== RCS file: /cvsroot/xframe/maven-xsddoc-plugin/plugin.jelly,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** plugin.jelly 26 Feb 2005 12:38:16 -0000 1.7 --- plugin.jelly 26 Feb 2005 14:43:41 -0000 1.8 *************** *** 72,75 **** --- 72,76 ---- <j:set var="result" value="${xsddocprocessor.setSchemaLocation(sourcefile)}"/> <j:set var="result" value="${xsddocprocessor.setOut(targetpath)}"/> + <j:set var="result" value="${xsddocprocessor.setCss(maven.xsddoc.css)}"/> <j:set var="result" value="${xsddocprocessor.setProxyHost(maven.proxy.host)}"/> <j:set var="result" value="${xsddocprocessor.setProxyPort(maven.proxy.port)}"/> |
From: Kurt R. <kr...@us...> - 2005-02-26 14:43:51
|
Update of /cvsroot/xframe/maven-xsddoc-plugin/xdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22826/xdocs Modified Files: properties.xml Log Message: new paramater: css (to provide an external CSS file) Index: properties.xml =================================================================== RCS file: /cvsroot/xframe/maven-xsddoc-plugin/xdocs/properties.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** properties.xml 22 Dec 2004 15:23:49 -0000 1.2 --- properties.xml 26 Feb 2005 14:43:42 -0000 1.3 *************** *** 78,81 **** --- 78,89 ---- </td> </tr> + <tr> + <td>maven.xsddoc.css</td> + <td>Yes</td> + <td> + <p>filename fo optional external CSS file.</p> + <p>Default value is empty.</p> + </td> + </tr> </table> </section> |
From: Kurt R. <kr...@us...> - 2005-02-26 14:27:59
|
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19363/src/net/sf/xframe/xsddoc Modified Files: Processor.java Log Message: be fail safe if extern CSS file not found Index: Processor.java =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/Processor.java,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** Processor.java 26 Feb 2005 14:03:38 -0000 1.35 --- Processor.java 26 Feb 2005 14:27:50 -0000 1.36 *************** *** 593,597 **** FileUtil.copyFile(getResource("/" + this.resourcePrefix + "/css/stylesheet.css"), out + FILE_SEP + "stylesheet.css"); if (css != null) { ! FileUtil.copyFile(css, out + FILE_SEP + "stylesheet.css"); } final String systemId = getSystemId(mainSchemaLocation); --- 593,601 ---- FileUtil.copyFile(getResource("/" + this.resourcePrefix + "/css/stylesheet.css"), out + FILE_SEP + "stylesheet.css"); if (css != null) { ! try { ! FileUtil.copyFile(css, out + FILE_SEP + "stylesheet.css"); ! } catch (IOException e) { ! System.out.println("CSS file not found: " + css); ! } } final String systemId = getSystemId(mainSchemaLocation); |
From: Kurt R. <kr...@us...> - 2005-02-26 14:27:21
|
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19213/src/net/sf/xframe/xsddoc/xslt Modified Files: model.xsl Log Message: undo last checkin due to major problems Index: model.xsl =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/model.xsl,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** model.xsl 26 Feb 2005 13:44:11 -0000 1.30 --- model.xsl 26 Feb 2005 14:27:12 -0000 1.31 *************** *** 72,78 **** </xsl:apply-templates> </xsl:when> - <xsl:when test="local-name() = 'simpleType'"> - <xsl:apply-templates select="xs:*" mode="simpleModel"/> - </xsl:when> <xsl:otherwise> <xsl:apply-templates select="xs:*" mode="model"/> --- 72,75 ---- *************** *** 446,481 **** </xsl:template> <!-- - extension or restriction model of simple types. - --> - <xsl:template match="xs:extension | xs:restriction" mode="simpleModel"> - <doc:base> - <xsl:apply-templates select="." mode="base"/> - </doc:base> - </xsl:template> - <!-- - Return root base of type. - --> - <xsl:template match="xs:extension | xs:restriction" mode="base"> - <xsl:variable name="qname"> - <xsl:apply-templates select="." mode="resolve"> - <xsl:with-param name="qname" select="@base"/> - </xsl:apply-templates> - </xsl:variable> - <xsl:variable name="refType"> - <xsl:apply-templates select="$mainSchema" mode="referenceType"> - <xsl:with-param name="qname" select="$qname"/> - <xsl:with-param name="referer" select="@type"/> - </xsl:apply-templates> - </xsl:variable> - <xsl:choose> - <xsl:when test="$refType"> - <xsl:apply-templates select="$refType" mode="base"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$refType"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - <!-- extension or restriction model. --> --- 443,446 ---- *************** *** 921,925 **** - included or imported schemas.</p> --> ! <!-- FIXME --> <xsl:template match="xs:schema" mode="groupModel"> <xsl:param name="qname"/> --- 886,890 ---- - included or imported schemas.</p> --> ! <!-- XXX FIXME --> <xsl:template match="xs:schema" mode="groupModel"> <xsl:param name="qname"/> |
From: Kurt R. <kr...@us...> - 2005-02-26 14:04:06
|
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13544/src/net/sf/xframe/xsddoc/util Modified Files: FileUtil.java Log Message: new paramater: css (to provide an external CSS file) Index: FileUtil.java =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/util/FileUtil.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** FileUtil.java 13 Dec 2004 13:25:11 -0000 1.7 --- FileUtil.java 26 Feb 2005 14:03:38 -0000 1.8 *************** *** 22,25 **** --- 22,26 ---- import java.io.File; + import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; *************** *** 96,99 **** --- 97,119 ---- /** + * Copy a file. + * + * @param inFile source file name + * @param destFile destination file name + * @throws IOException if file cannot ne copied + */ + public static void copyFile(final String inFile, final String destFile) throws IOException { + FileInputStream in = null; + try { + in = new FileInputStream(inFile); + copyFile(in, destFile); + } finally { + if (in != null) { + in.close(); + } + } + } + + /** * Returns the location of a file relative to a base file. * |
From: Kurt R. <kr...@us...> - 2005-02-26 14:03:46
|
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13544/src/net/sf/xframe/xsddoc Modified Files: Task.java Main.java Processor.java Log Message: new paramater: css (to provide an external CSS file) Index: Task.java =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/Task.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** Task.java 13 Dec 2004 13:23:27 -0000 1.20 --- Task.java 26 Feb 2005 14:03:38 -0000 1.21 *************** *** 49,52 **** --- 49,53 ---- * <tr><td>out</td><td>destination directory for output files</td><td>Yes</td></tr> * <tr><td>xml</td><td>If output should be XML instead of HTML. (yes | no). Default is no</td><td>No</td></tr> + * <tr><td>css</td><td>provide external CSS file</td><td>&</td></tr> * <tr><td>title</td><td><b>deprecated</b>, see <code>doctitle</code> parameter</td><td>No</td></tr> * <tr><td>doctitle</td><td>Include title for the package index(first) page (html-code)</td><td>No</td></tr> *************** *** 410,413 **** --- 411,423 ---- /** + * Setter method for css property. + * + * @param css location of XML schema + */ + public void setCss(final String css) { + processor.setCss(css); + } + + /** * Setter method for verbose property. * Index: Processor.java =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/Processor.java,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** Processor.java 13 Jan 2005 15:56:37 -0000 1.34 --- Processor.java 26 Feb 2005 14:03:38 -0000 1.35 *************** *** 188,191 **** --- 188,194 ---- private String xsddocHome = "."; + /** Filename of optional external CSS file. */ + private String css = null; + /** if verbose mode or not. */ private boolean verbose = true; *************** *** 302,305 **** --- 305,317 ---- /** + * Setter method for CSS property. + * + * @param theCss output external CSS file to use + */ + public void setCss(final String theCss) { + this.css = theCss; + } + + /** * Setter method for verbose property. * *************** *** 580,583 **** --- 592,598 ---- } FileUtil.copyFile(getResource("/" + this.resourcePrefix + "/css/stylesheet.css"), out + FILE_SEP + "stylesheet.css"); + if (css != null) { + FileUtil.copyFile(css, out + FILE_SEP + "stylesheet.css"); + } final String systemId = getSystemId(mainSchemaLocation); final Document schema; Index: Main.java =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/Main.java,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** Main.java 9 Dec 2004 12:42:17 -0000 1.23 --- Main.java 26 Feb 2005 14:03:38 -0000 1.24 *************** *** 42,45 **** --- 42,46 ---- * -a -hideAttributes hide attributes in overview pages * -xml output as XML instead of HTML + * -css <css-file> provide external CSS file * -version Only output version of xsddoc * -d -debug Output debug messages *************** *** 103,106 **** --- 104,109 ---- } else if ("a".equals(option) || "hideAttributes".equals(option)) { processor.setHideAttributes(true); + } else if ("c".equals(option) || "css".equals(option)) { + processor.setCss(args[++i]); } else if ("x".equals(option) || "xml".equals(option)) { processor.setXml(true); |
From: Kurt R. <kr...@us...> - 2005-02-26 13:44:21
|
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7996/src/net/sf/xframe/xsddoc/xslt Modified Files: model.xsl Log Message: minor fix for simple types Index: model.xsl =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/model.xsl,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** model.xsl 15 Dec 2004 12:02:49 -0000 1.29 --- model.xsl 26 Feb 2005 13:44:11 -0000 1.30 *************** *** 72,75 **** --- 72,78 ---- </xsl:apply-templates> </xsl:when> + <xsl:when test="local-name() = 'simpleType'"> + <xsl:apply-templates select="xs:*" mode="simpleModel"/> + </xsl:when> <xsl:otherwise> <xsl:apply-templates select="xs:*" mode="model"/> *************** *** 443,446 **** --- 446,481 ---- </xsl:template> <!-- + extension or restriction model of simple types. + --> + <xsl:template match="xs:extension | xs:restriction" mode="simpleModel"> + <doc:base> + <xsl:apply-templates select="." mode="base"/> + </doc:base> + </xsl:template> + <!-- + Return root base of type. + --> + <xsl:template match="xs:extension | xs:restriction" mode="base"> + <xsl:variable name="qname"> + <xsl:apply-templates select="." mode="resolve"> + <xsl:with-param name="qname" select="@base"/> + </xsl:apply-templates> + </xsl:variable> + <xsl:variable name="refType"> + <xsl:apply-templates select="$mainSchema" mode="referenceType"> + <xsl:with-param name="qname" select="$qname"/> + <xsl:with-param name="referer" select="@type"/> + </xsl:apply-templates> + </xsl:variable> + <xsl:choose> + <xsl:when test="$refType"> + <xsl:apply-templates select="$refType" mode="base"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$refType"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + <!-- extension or restriction model. --> *************** *** 886,890 **** - included or imported schemas.</p> --> ! <!-- XXX FIXME --> <xsl:template match="xs:schema" mode="groupModel"> <xsl:param name="qname"/> --- 921,925 ---- - included or imported schemas.</p> --> ! <!-- FIXME --> <xsl:template match="xs:schema" mode="groupModel"> <xsl:param name="qname"/> |
From: Kurt R. <kr...@us...> - 2005-02-26 13:42:44
|
Update of /cvsroot/xframe/homepage/xdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7752/xdocs Modified Files: site.jsl Log Message: google adjusted Index: site.jsl =================================================================== RCS file: /cvsroot/xframe/homepage/xdocs/site.jsl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** site.jsl 4 Nov 2004 09:49:15 -0000 1.3 --- site.jsl 26 Feb 2005 13:42:34 -0000 1.4 *************** *** 326,332 **** <div id="search"> <h5>Search xframe</h5> ! <form method="get" action="http://www.google.de/custom" target="_top"> ! <a class="navlink" href="http://www.google.de"> ! <img src="http://www.google.de/logos/Logo_25wht.gif" width="75" height="32" alt="Google" /> </a> <input type="text" name="q" id="q" size="15" maxlength="255" value=""/> --- 326,332 ---- <div id="search"> <h5>Search xframe</h5> ! <form method="get" action="http://www.google.com/custom" target="_top"> ! <a class="navlink" href="http://www.google.com"> ! <img src="http://www.google.com/logos/Logo_25wht.gif" width="75" height="32" alt="Google" /> </a> <input type="text" name="q" id="q" size="15" maxlength="255" value=""/> |
From: Kurt R. <kr...@us...> - 2005-02-26 13:42:24
|
Update of /cvsroot/xframe/homepage/html/list In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7669/html/list Added Files: mailing-list.html Log Message: HTML template of list subscription page --- NEW FILE: mailing-list.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>xframe - xsddoc</title><style type="text/css" media="all"> @import url("http://xframe.sourceforge.net/style/maven-base.css"); @import url("http://xframe.sourceforge.net/style/maven-theme.css");</style><link rel="stylesheet" href="http://xframe.sourceforge.net/style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta><meta name="author" content="Kurt Riede"></meta><meta name="email" content="kr...@us..."></meta></head><body class="composite"><div id="banner"><a href="http://xframe.sourceforge.net/" id="organizationLogo"><img alt="xframe" src="http://xframe.sourceforge.net/images/project-logo.png"></img></a><a href="http://xframe.sourceforge.net/maven-xsddoc-plugin/index.html" id="projectLogo"><span>xframe</span></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft"> Last published: 20 November 2004 <span class="separator">|</span> Doc for 0.6 </div><div class="xright"> <a href="http://xframe.sourceforge.net/xsddoc/index.html" class="externalLink" title="External Link">xsddoc</a> <span class="separator">|</span> <a href="http://xframe.sourceforge.net/maven-xsddoc-plugin/index.html" class="externalLink" title="External Link">maven-xsddoc-plugin</a> </div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuOverview"><h5>Overview</h5><ul><li class="none"><a href="http://xframe.sourceforge.net/xsddoc/index.html">About</a></li><li class="none"><a href="http://xframe.sourceforge.net/xsddoc/index.html" class="externalLink" title="External Link">xsddoc</a></li><li class="none"><a href="http://xframe.sourceforge.net/maven-xsddoc-plugin/index.html" class="externalLink" title="External Link">maven-xsddoc-plugin</a></li><li class="none"><a href="http://xframe.sourceforge.net/swing/index.html" class="externalLink" title="External Link">swing</a></li><li class="none"><a href="http://xframe.sourceforge.net/links.html">links</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><strong><a href="http://xframe.sourceforge.net/xsddoc/index.html">About xframe</a></strong></li><li class="collapsed"><a href="http://xframe.sourceforge.net/xsddoc/project-info.html">Project Info</a></li><li class="collapsed"><a href="http://xframe.sourceforge.net/xsddoc/maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="http://xframe.sourceforge.net/images/logos/maven-button-1.png"></img></a><div id="search"><h5>Search xframe</h5><form action="http://www.google.de/custom" target="_top" method="get"><a href="http://www.google.de" class="navlink"><img height="32" width="75" alt="Google" src="http://www.google.de/logos/Logo_25wht.gif"></img></a><input name="q" maxlength="255" size="15" type="text" value="" id="q"></input><input name="sa" type="submit" value="Go" id="btnG"></input><input name="client" type="hidden" value="pub-3210557671772622" id="client"></input><input name="domains" type="hidden" value="xframe.sourceforge.net"></input><input name="sitesearch" type="hidden" value="xframe.sourceforge.net" id="sitesearch"></input><input name="forid" type="hidden" value="1"></input><input name="ie" type="hidden" value="ISO-8859-1"></input><input name="oe" type="hidden" value="ISO-8859-1"></input><input name="cof" type="hidden" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input><input name="hl" type="hidden" value="en"></input></form></div><div id="googleAdsenseLeft"><script type="text/javascript"><!-- google_ad_client = "pub-3210557671772622"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel =""; google_color_border = "294563"; google_color_bg = "CFDCED"; google_color_link = "ffcc00"; google_color_url = "000099"; google_color_text = "294563"; //--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div></div></div><div id="bodyColumn"><div class="contentBox"><div id="googleAdsenseTop"><script type="text/javascript"><!-- google_ad_client = "pub-3210557671772622"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_channel =""; google_ad_type = "text"; google_color_border = "294563"; google_color_bg = "CFDCED"; google_color_link = "ffcc00"; google_color_url = "000099"; google_color_text = "294563"; //--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div> <!-- XFRAME-Start --> <MM-Subscribe-Form-Start> <div class="section"><h2>About the <MM-List-Name> Mailinglist</h2> <p><MM-List-Info></p> <p>To see the collection of prior postings to the list, visit the <MM-Archive><MM-List-Name>Archives</MM-Archive>. <MM-Restricted-List-Message></p> </div> <div class="subsection"><h3>Using the <MM-List-Name> Mailinglist</h3> <p>To post a message to all the list members, send email to <a HREF="mailto:<MM-Posting-Addr>"><MM-Posting-Addr></a>.</p> <p>You can subscribe to the list, or change your existing subscription, in the sections below.</p> </div> <div class="subsection"><h3>Subscribing to the <MM-List-Name> Mailinglist</h3> <p>Subscribe to <MM-List-Name> by filling out the following form. <MM-List-Subscription-Msg></p> <p>Your email address: <MM-Subscribe-Box></p> <p>You must enter a privacy password. This provides only mild security, but should prevent others from messing with your subscription. <b>Do not use a valuable password</b> as it will occasionally be emailed back to you in cleartext. <MM-Reminder> <p>Pick a password: <MM-New-Password-Box></p> <p>Reenter password to confirm: <MM-Confirm-Password></p> <p>Would you like to receive list mail batched in a daily digest?<MM-Undigest-Radio-Button> No <MM-Digest-Radio-Button> Yes </p> <p><MM-Subscribe-Button></p> <MM-Form-End> </div> <div class="subsection"><h3>Change Subscription to the <MM-List-Name> Mailinglist</h3> <p><MM-Subscribe-Form-Start> <MM-Editing-Options> <MM-Form-End></p> </div> <div class="subsection"><h3><MM-List-Name> Subscribers List</h3> <p><MM-Roster-Form-Start> <MM-Roster-Option> <MM-Form-End> </p> </div> <MM-Mailman-Footer> <!-- XFRAME-End --> </div></div> <div class="clear"><hr></hr></div><div id="footer"> <div class="xright">© 2004, xframe</div> <div class="clear"><hr></hr></div> </div> </body> </html> |
From: Kurt R. <kr...@us...> - 2005-02-26 13:42:17
|
Update of /cvsroot/xframe/homepage/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7619/html Log Message: Directory /cvsroot/xframe/homepage/html added to the repository |
From: Kurt R. <kr...@us...> - 2005-02-26 13:42:17
|
Update of /cvsroot/xframe/homepage/html/list In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7619/html/list Log Message: Directory /cvsroot/xframe/homepage/html/list added to the repository |
From: Kurt R. <kr...@us...> - 2005-02-26 12:39:18
|
Update of /cvsroot/xframe/xsddoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25658 Modified Files: project.xml Log Message: contributor added Index: project.xml =================================================================== RCS file: /cvsroot/xframe/xsddoc/project.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** project.xml 9 Dec 2004 13:09:26 -0000 1.9 --- project.xml 26 Feb 2005 12:39:02 -0000 1.10 *************** *** 87,90 **** --- 87,103 ---- </developer> </developers> + <contributors> + <contributor> + <name>Corey Tripp</name> + <id>trippcr</id> + <email>tr...@us...</email> + <organization/> + <roles> + <role/> + </roles> + <url/> + <timezone/> + </contributor> + </contributors> <dependencies> <dependency> |
From: Kurt R. <kr...@us...> - 2005-02-26 12:38:24
|
Update of /cvsroot/xframe/maven-xsddoc-plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25521 Modified Files: project.xml plugin.jelly Log Message: Fix for Bug [1123251] maven plugin can't find xalan Index: plugin.jelly =================================================================== RCS file: /cvsroot/xframe/maven-xsddoc-plugin/plugin.jelly,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** plugin.jelly 28 Dec 2004 10:50:19 -0000 1.6 --- plugin.jelly 26 Feb 2005 12:38:16 -0000 1.7 *************** *** 43,47 **** description="XML Schema documentation"/> </j:if> ! </u:available> </goal> --- 43,47 ---- description="XML Schema documentation"/> </j:if> ! </u:available> </goal> *************** *** 51,54 **** --- 51,55 ---- <goal name="maven-xsddoc-plugin:report" description="Generate XML Schema documentation using xsddoc tool."> + ${systemScope.setProperty('javax.xml.transform.TransformerFactory', 'org.apache.xalan.processor.TransformerFactoryImpl')} <ant:fileScanner var="xsdFiles"> <ant:fileset dir="${maven.xsddoc.src}"> Index: project.xml =================================================================== RCS file: /cvsroot/xframe/maven-xsddoc-plugin/project.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** project.xml 9 Dec 2004 13:32:49 -0000 1.2 --- project.xml 26 Feb 2005 12:38:16 -0000 1.3 *************** *** 75,80 **** <contributors> <contributor> <id>trippcr</id> ! <name>trippcr</name> </contributor> </contributors> --- 75,87 ---- <contributors> <contributor> + <name>Corey Tripp</name> <id>trippcr</id> ! <email>tr...@us...</email> ! <organization/> ! <roles> ! <role/> ! </roles> ! <url/> ! <timezone/> </contributor> </contributors> *************** *** 93,96 **** --- 100,112 ---- <url>http://xframe.sourceforge.net/maven-xsddoc-plugin/index.html</url> </dependency> + <dependency> + <groupId>xalan</groupId> + <artifactId>xalan</artifactId> + <version>2.4.1</version> + <url>http://xml.apache.org/xalan-j/</url> + <properties> + <classloader>root</classloader> + </properties> + </dependency> </dependencies> <build> |
From: Kurt R. <kr...@us...> - 2005-01-13 15:57:25
|
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24880/src/net/sf/xframe/xsddoc/xslt Modified Files: index.xsl xml2html.xsl util.xsl Added Files: index-all.xsl overview-all.xsl Log Message: fist version of an index of all components (see RFE 1100551) --- NEW FILE: overview-all.xsl --- <?xml version="1.0" encoding="UTF-8"?> <!-- This file is part of the xframe software package hosted at http://xframe.sourceforge.net Copyright (c) 2003 Kurt Riede. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xalan="http://xml.apache.org/xslt" xmlns:doc="http://xframe.sf.net/xsddoc/doc"> <!-- This transformation creates an index of all components in all known namespaces --> <xsl:output indent="yes" version="4.0" method="xml" encoding="ISO-8859-1" xalan:indent-amount="2" /> <!-- Include xsddoc utilities templates. --> <xsl:include href="xmldoc.xsl"/> <!-- Include xframe utilities templates. --> <xsl:include href="util.xsl"/> <!-- The file name of the schema to extract from. --> <xsl:param name="schemaLocation" select="undefined"/> <!-- The element name to extract. --> <xsl:param name="type" select="undefined"/> <!-- The name attribute of the element to extract. --> <xsl:param name="name" select="undefined"/> <!-- Namespace prefix of target namespace --> <xsl:variable name="targetNamespacePrefix"> <xsl:if test="/xs:schema/@targetNamespace"> <xsl:value-of select="local-name(/xs:schema/namespace::*[normalize-space(.)=normalize-space(/xs:schema/@targetNamespace)])"/> </xsl:if> </xsl:variable> <!-- Root template. --> <xsl:template match="/"> <xsl:apply-templates select="*"/> </xsl:template> <!-- Processing the schema tag, the root element of a schema. todo change to intermediate XML format todo also recurse included schemas --> <xsl:template match="xs:schema"> <doc:overview-all href="./schema-summary.html"> <xsl:for-each select="@*"> <xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute> </xsl:for-each> <xsl:call-template name="xsddocComment"/> <xsl:apply-templates select="." mode="overview"/> <xsl:if test="xs:annotation/xs:documentation"> <doc:documentation> <xsl:for-each select="xs:annotation/xs:documentation"> <xsl:copy-of select="* | text()"/> </xsl:for-each> </doc:documentation> </xsl:if> </doc:overview-all> </xsl:template> <!-- process all schema components. --> <xsl:template match="xs:schema" mode="overview"> <xsl:param name="processedLocations" select="/xs:schema/@targetNamespace"/> <xsl:param name="ignore"/> <xsl:apply-templates select="xs:element | xs:attribute | xs:complexType | xs:simpleType | xs:group | xs:attributeGroup" mode="doc"> <xsl:with-param name="ignore" select="$ignore"/> </xsl:apply-templates> <xsl:for-each select="xs:element | xs:complexType"> <xsl:apply-templates select=".//xs:element[(not (@ref)) and (not (@type))]" mode="doc"> <xsl:with-param name="ignore" select="$ignore"/> </xsl:apply-templates> </xsl:for-each> <xsl:for-each select="xs:include | xs:redefine | xs:import"> <xsl:variable name="schemaLocation" select="@schemaLocation"/> <xsl:variable name="redefinedComponents"> <xsl:call-template name="tostring"> <xsl:with-param name="nodes" select="xs:element | xs:attribute | xs:complexType | xs:simpleType | xs:group | xs:attributeGroup"/> </xsl:call-template> </xsl:variable> <xsl:apply-templates select="xs:element | xs:attribute | xs:complexType | xs:simpleType | xs:group | xs:attributeGroup" mode="doc"> <xsl:with-param name="ignore" select="$ignore"/> </xsl:apply-templates> <xsl:if test="not(contains($processedLocations, $schemaLocation))"> <xsl:apply-templates select="document($schemaLocation)/xs:schema" mode="overview"> <xsl:with-param name="processedLocations" select="concat($processedLocations, ' ', $schemaLocation)"/> <xsl:with-param name="ignore" select="$redefinedComponents"/> </xsl:apply-templates> </xsl:if> </xsl:for-each> </xsl:template> <!-- Create an index entry. --> <xsl:template match="*" mode="doc"> <xsl:param name="ignore"/> <xsl:if test="string(@name) != '' and not(contains($ignore, concat('|', local-name(), ':', @name, '|')))"> <xsl:variable name="hierarchy"> <xsl:apply-templates select=".." mode="parent"/> </xsl:variable> <xsl:variable name="name"> <xsl:choose> <xsl:when test="string($hierarchy) != ''"> <xsl:value-of select="concat(string($hierarchy), @name)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat(local-name(), '/', @name)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="ns"> <xsl:choose> <xsl:when test="normalize-space(/xs:schema/@targetNamespace) = ''"> <xsl:value-of select="string('noNamespace')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="/xs:schema/@targetNamespace"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="nsFolder"> <xsl:call-template name="namespaceFolder"> <xsl:with-param name="uri" select="/xs:schema/@targetNamespace"/> </xsl:call-template> </xsl:variable> <doc:component type="{substring-before($name, '/')}"> <xsl:attribute name="localtype"> <xsl:value-of select="local-name()"/> </xsl:attribute> <xsl:attribute name="namespace"> <xsl:value-of select="$ns"/> </xsl:attribute> <xsl:attribute name="name"> <xsl:value-of select="substring-after($name, '/')"/> </xsl:attribute> <xsl:attribute name="tag"> <xsl:call-template name="last-substring"> <xsl:with-param name="string" select="@name"/> <xsl:with-param name="substring" select="string('.')"/> </xsl:call-template> </xsl:attribute> <xsl:attribute name="href"> <xsl:value-of select="concat($nsFolder, '/', $name, '.html')"/> </xsl:attribute> <xsl:if test="xs:annotation/xs:documentation"> <doc:documentation> <xsl:for-each select="xs:annotation/xs:documentation"> <xsl:copy-of select="* | text()"/> </xsl:for-each> </doc:documentation> </xsl:if> </doc:component> </xsl:if> </xsl:template> <!-- --> <xsl:template match="*" mode="parent"> <xsl:param name="parent"/> <xsl:choose> <xsl:when test="local-name() = 'schema'"> <xsl:value-of select="$parent"/> </xsl:when> <xsl:when test="@name"> <xsl:apply-templates select=".." mode="parent"> <xsl:with-param name="parent"> <xsl:if test="local-name(..) = 'schema'"> <xsl:value-of select="concat(local-name(), '/')"/> </xsl:if> <xsl:value-of select="@name"/> <xsl:text>.</xsl:text> <xsl:value-of select="$parent"/> </xsl:with-param> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:apply-templates select=".." mode="parent"> <xsl:with-param name="parent" select="$parent"/> </xsl:apply-templates> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- --> <xsl:template name="tostring"> <xsl:param name="nodes"/> <xsl:for-each select="$nodes"> <xsl:value-of select="concat('|', local-name(), ':', @name, '|')"/> </xsl:for-each> </xsl:template> <!-- Type definitions keys. --> <xsl:key name="typeDefinitions" match="/xs:schema/xs:complexType | /xs:schema/xs:simpleType" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Type redefinitions keys. --> <xsl:key name="typeRedefinitions" match="/xs:schema/xs:redefine/xs:simpleType | /xs:schema/xs:redefine/xs:complexType" use="concat('{', ../../@targetNamespace, '}', @name)"/> <!-- Attribute declarations key. --> <xsl:key name="attributeDeclarations" match="/xs:schema/xs:attribute" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Element declarations key. --> <xsl:key name="elementDeclarations" match="/xs:schema/xs:element" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Attribute group declarations key. --> <xsl:key name="attributeGroupDefinitions" match="/xs:schema/xs:attributeGroup" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Attribute group declarations key. --> <xsl:key name="attributeGroupRedefinitions" match="/xs:schema/xs:redefine/xs:attributeGroup" use="concat('{', ../../@targetNamespace, '}', @name)"/> <!-- Group declarations key. --> <xsl:key name="modelGroupDefinitions" match="/xs:schema/xs:group" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Group redeclarations key. --> <xsl:key name="modelGroupRedefinitions" match="/xs:schema/xs:redefine/xs:group" use="concat('{', ../../@targetNamespace, '}', @name)"/> <!-- Notation declarations key. --> <xsl:key name="notationDeclarations" match="/xs:schema/xs:notation" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Derived complex type definitions key. --> <xsl:key name="derivedComplexTypeDefinitions" match="/xs:schema/xs:complexType" use="xs:complexContent/xs:*/@base"/> <!-- Derived simple type definitions key. --> <xsl:key name="derivedSimpleTypeDefinitions" match="/xs:schema/xs:simpleType" use="xs:*/@base"/> </xsl:stylesheet> --- NEW FILE: index-all.xsl --- <?xml version="1.0" encoding="UTF-8"?> <!-- This file is part of the xframe software package hosted at http://xframe.sourceforge.net Copyright (c) 2003 Kurt Riede. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xalan="http://xml.apache.org/xslt" xmlns:doc="http://xframe.sf.net/xsddoc/doc"> <!-- This transformation creates an index of all components in all known namespaces --> <xsl:output indent="yes" version="4.0" method="xml" encoding="ISO-8859-1" xalan:indent-amount="2" /> <!-- Include xsddoc utilities templates. --> <xsl:include href="xmldoc.xsl"/> <!-- Include xframe utilities templates. --> <xsl:include href="util.xsl"/> <!-- The file name of the schema to extract from. --> <xsl:param name="schemaLocation" select="undefined"/> <!-- The element name to extract. --> <xsl:param name="type" select="undefined"/> <!-- The name attribute of the element to extract. --> <xsl:param name="name" select="undefined"/> <!-- Namespace prefix of target namespace --> <xsl:variable name="targetNamespacePrefix"> <xsl:if test="/xs:schema/@targetNamespace"> <xsl:value-of select="local-name(/xs:schema/namespace::*[normalize-space(.)=normalize-space(/xs:schema/@targetNamespace)])"/> </xsl:if> </xsl:variable> <!-- Root template. --> <xsl:template match="/"> <xsl:apply-templates select="*"/> </xsl:template> <!-- Processing the schema tag, the root element of a schema. todo change to intermediate XML format todo also recurse included schemas --> <xsl:template match="xs:schema"> <doc:index-all href="./schema-summary.html"> <xsl:for-each select="@*"> <xsl:attribute name="{name()}"><xsl:value-of select="."/></xsl:attribute> </xsl:for-each> <xsl:call-template name="xsddocComment"/> <xsl:apply-templates select="." mode="overview"/> <xsl:if test="xs:annotation/xs:documentation"> <doc:documentation> <xsl:for-each select="xs:annotation/xs:documentation"> <xsl:copy-of select="* | text()"/> </xsl:for-each> </doc:documentation> </xsl:if> </doc:index-all> </xsl:template> <!-- process all schema components. --> <xsl:template match="xs:schema" mode="overview"> <xsl:param name="processedLocations" select="/xs:schema/@targetNamespace"/> <xsl:param name="ignore"/> <xsl:apply-templates select="xs:element | xs:attribute | xs:complexType | xs:simpleType | xs:group | xs:attributeGroup" mode="doc"> <xsl:with-param name="ignore" select="$ignore"/> </xsl:apply-templates> <xsl:for-each select="xs:element | xs:complexType"> <xsl:apply-templates select=".//xs:element[(not (@ref)) and (not (@type))]" mode="doc"> <xsl:with-param name="ignore" select="$ignore"/> </xsl:apply-templates> </xsl:for-each> <xsl:for-each select="xs:include | xs:redefine | xs:import"> <xsl:variable name="schemaLocation" select="@schemaLocation"/> <xsl:variable name="redefinedComponents"> <xsl:call-template name="tostring"> <xsl:with-param name="nodes" select="xs:element | xs:attribute | xs:complexType | xs:simpleType | xs:group | xs:attributeGroup"/> </xsl:call-template> </xsl:variable> <xsl:apply-templates select="xs:element | xs:attribute | xs:complexType | xs:simpleType | xs:group | xs:attributeGroup" mode="doc"> <xsl:with-param name="ignore" select="$ignore"/> </xsl:apply-templates> <xsl:if test="not(contains($processedLocations, $schemaLocation))"> <xsl:apply-templates select="document($schemaLocation)/xs:schema" mode="overview"> <xsl:with-param name="processedLocations" select="concat($processedLocations, ' ', $schemaLocation)"/> <xsl:with-param name="ignore" select="$redefinedComponents"/> </xsl:apply-templates> </xsl:if> </xsl:for-each> </xsl:template> <!-- Create an index entry. --> <xsl:template match="*" mode="doc"> <xsl:param name="ignore"/> <xsl:if test="string(@name) != '' and not(contains($ignore, concat('|', local-name(), ':', @name, '|')))"> <xsl:variable name="hierarchy"> <xsl:apply-templates select=".." mode="parent"/> </xsl:variable> <xsl:variable name="name"> <xsl:choose> <xsl:when test="string($hierarchy) != ''"> <xsl:value-of select="concat(string($hierarchy), @name)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat(local-name(), '/', @name)"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="ns"> <xsl:choose> <xsl:when test="normalize-space(/xs:schema/@targetNamespace) = ''"> <xsl:value-of select="string('noNamespace')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="/xs:schema/@targetNamespace"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="nsFolder"> <xsl:call-template name="namespaceFolder"> <xsl:with-param name="uri" select="/xs:schema/@targetNamespace"/> </xsl:call-template> </xsl:variable> <doc:component type="{substring-before($name, '/')}"> <xsl:attribute name="localtype"> <xsl:value-of select="local-name()"/> </xsl:attribute> <xsl:attribute name="namespace"> <xsl:value-of select="$ns"/> </xsl:attribute> <xsl:attribute name="name"> <xsl:value-of select="substring-after($name, '/')"/> </xsl:attribute> <xsl:attribute name="tag"> <xsl:call-template name="last-substring"> <xsl:with-param name="string" select="@name"/> <xsl:with-param name="substring" select="string('.')"/> </xsl:call-template> </xsl:attribute> <xsl:attribute name="href"> <xsl:value-of select="concat($nsFolder, '/', $name, '.html')"/> </xsl:attribute> <xsl:if test="xs:annotation/xs:documentation"> <doc:documentation> <xsl:for-each select="xs:annotation/xs:documentation"> <xsl:copy-of select="* | text()"/> </xsl:for-each> </doc:documentation> </xsl:if> </doc:component> </xsl:if> </xsl:template> <!-- --> <xsl:template match="*" mode="parent"> <xsl:param name="parent"/> <xsl:choose> <xsl:when test="local-name() = 'schema'"> <xsl:value-of select="$parent"/> </xsl:when> <xsl:when test="@name"> <xsl:apply-templates select=".." mode="parent"> <xsl:with-param name="parent"> <xsl:if test="local-name(..) = 'schema'"> <xsl:value-of select="concat(local-name(), '/')"/> </xsl:if> <xsl:value-of select="@name"/> <xsl:text>.</xsl:text> <xsl:value-of select="$parent"/> </xsl:with-param> </xsl:apply-templates> </xsl:when> <xsl:otherwise> <xsl:apply-templates select=".." mode="parent"> <xsl:with-param name="parent" select="$parent"/> </xsl:apply-templates> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- --> <xsl:template name="tostring"> <xsl:param name="nodes"/> <xsl:for-each select="$nodes"> <xsl:value-of select="concat('|', local-name(), ':', @name, '|')"/> </xsl:for-each> </xsl:template> <!-- Type definitions keys. --> <xsl:key name="typeDefinitions" match="/xs:schema/xs:complexType | /xs:schema/xs:simpleType" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Type redefinitions keys. --> <xsl:key name="typeRedefinitions" match="/xs:schema/xs:redefine/xs:simpleType | /xs:schema/xs:redefine/xs:complexType" use="concat('{', ../../@targetNamespace, '}', @name)"/> <!-- Attribute declarations key. --> <xsl:key name="attributeDeclarations" match="/xs:schema/xs:attribute" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Element declarations key. --> <xsl:key name="elementDeclarations" match="/xs:schema/xs:element" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Attribute group declarations key. --> <xsl:key name="attributeGroupDefinitions" match="/xs:schema/xs:attributeGroup" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Attribute group declarations key. --> <xsl:key name="attributeGroupRedefinitions" match="/xs:schema/xs:redefine/xs:attributeGroup" use="concat('{', ../../@targetNamespace, '}', @name)"/> <!-- Group declarations key. --> <xsl:key name="modelGroupDefinitions" match="/xs:schema/xs:group" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Group redeclarations key. --> <xsl:key name="modelGroupRedefinitions" match="/xs:schema/xs:redefine/xs:group" use="concat('{', ../../@targetNamespace, '}', @name)"/> <!-- Notation declarations key. --> <xsl:key name="notationDeclarations" match="/xs:schema/xs:notation" use="concat('{', ../@targetNamespace, '}', @name)"/> <!-- Derived complex type definitions key. --> <xsl:key name="derivedComplexTypeDefinitions" match="/xs:schema/xs:complexType" use="xs:complexContent/xs:*/@base"/> <!-- Derived simple type definitions key. --> <xsl:key name="derivedSimpleTypeDefinitions" match="/xs:schema/xs:simpleType" use="xs:*/@base"/> </xsl:stylesheet> Index: xml2html.xsl =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/xml2html.xsl,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** xml2html.xsl 27 Dec 2004 15:28:14 -0000 1.35 --- xml2html.xsl 13 Jan 2005 15:56:35 -0000 1.36 *************** *** 78,85 **** </head> <body> ! <a href="{@href}" target="content"> ! <xsl:value-of select="@namespace"/> ! </a> ! <br/> <xsl:if test="doc:component[@type = 'element']"> <br/> --- 78,93 ---- </head> <body> ! <xsl:choose> ! <xsl:when test="@namespace"> ! <a href="{@href}" target="content"> ! <xsl:value-of select="@namespace"/> ! </a> ! <br/> ! </xsl:when> ! <xsl:otherwise> ! <xsl:text>All components</xsl:text> ! <br/> ! </xsl:otherwise> ! </xsl:choose> <xsl:if test="doc:component[@type = 'element']"> <br/> *************** *** 146,149 **** --- 154,243 ---- </xsl:template> <!-- + Template for the overview of all elements. + --> + <xsl:template match="doc:overview-all"> + <html> + <xsl:call-template name="xsddocComment"/> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> + <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"/> + </head> + <body> + <xsl:choose> + <xsl:when test="@namespace"> + <a href="{@href}" target="content"> + <xsl:value-of select="@namespace"/> + </a> + <br/> + </xsl:when> + <xsl:otherwise> + <b><xsl:text>All components</xsl:text></b> + <br/> + </xsl:otherwise> + </xsl:choose> + <xsl:if test="doc:component[@localtype = 'element']"> + <br/> + <b> + <xsl:text>elements</xsl:text> + </b> + <br/> + <xsl:apply-templates select="doc:component[@localtype = 'element']" mode="overview-all"> + <xsl:sort select="@tag"/> + </xsl:apply-templates> + </xsl:if> + <xsl:if test="$hideAttributes = 'false' and doc:component[@localtype = 'attribute']"> + <br/> + <b> + <xsl:text>attributes</xsl:text> + </b> + <br/> + <xsl:apply-templates select="doc:component[@localtype = 'attribute']" mode="overview-all"> + <xsl:sort select="@tag"/> + </xsl:apply-templates> + </xsl:if> + <xsl:if test="$hideTypes = 'false' and doc:component[@localtype = 'complexType']"> + <br/> + <b> + <xsl:text>complexTypes</xsl:text> + </b> + <br/> + <xsl:apply-templates select="doc:component[@localtype = 'complexType']" mode="overview-all"> + <xsl:sort select="@tag"/> + </xsl:apply-templates> + </xsl:if> + <xsl:if test="$hideTypes = 'false' and doc:component[@localtype = 'simpleType']"> + <br/> + <b> + <xsl:text>simpleTypes</xsl:text> + </b> + <br/> + <xsl:apply-templates select="doc:component[@localtype = 'simpleType']" mode="overview-all"> + <xsl:sort select="@tag"/> + </xsl:apply-templates> + </xsl:if> + <xsl:if test="$hideGroups = 'false' and doc:component[@localtype = 'group']"> + <br/> + <b> + <xsl:text>groups</xsl:text> + </b> + <br/> + <xsl:apply-templates select="doc:component[@localtype = 'group']" mode="overview-all"> + <xsl:sort select="@tag"/> + </xsl:apply-templates> + </xsl:if> + <xsl:if test="$hideGroups = 'false' and doc:component[@localtype = 'attributeGroup']"> + <br/> + <b> + <xsl:text>attributeGroups</xsl:text> + </b> + <br/> + <xsl:apply-templates select="doc:component[@localtype = 'attributeGroup']" mode="overview"> + <xsl:sort select="@name"/> + </xsl:apply-templates> + </xsl:if> + </body> + </html> + </xsl:template> + <!-- Template for the list entries in overviews. --> *************** *** 155,158 **** --- 249,261 ---- </xsl:template> <!-- + Template for the list entries in overviews-all. + --> + <xsl:template match="*" mode="overview-all"> + <a href="{@href}" target="content"> + <xsl:value-of select="@tag"/> + </a> + <br/> + </xsl:template> + <!-- Template for schema-summary pages --> *************** *** 279,282 **** --- 382,453 ---- </xsl:template> <!-- + Template for index of all components. + --> + <xsl:template match="doc:index-all"> + <html> + <xsl:call-template name="xsddocComment"/> + <head> + <title>Index of all Namespace</title> + <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> + <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/> + </head> + <body> + <xsl:call-template name="navigationIndex"/> + <p> + <xsl:apply-templates select="doc:component" mode="index-all"> + <xsl:sort select="concat(@tag, '.', @namespace)"/> + </xsl:apply-templates> + </p> + <hr/> + <xsl:call-template name="navigationIndex"/> + <xsl:call-template name="bottom"/> + </body> + </html> + </xsl:template> + <!-- + Format index entry in index-all. + --> + <xsl:template match="doc:component" mode="index-all"> + <xsl:variable name="base"> + <xsl:choose> + <xsl:when test="contains(@name, '.')"> + <xsl:value-of select="substring-before(@name, concat('.', @tag))"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="string('')"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <dl> + <a href="{@href}"> + <b><xsl:value-of select="@tag"/></b> + </a> + <xsl:text> - </xsl:text> + <xsl:if test="contains(@name, '.')"> + <xsl:text>nested element in </xsl:text> + </xsl:if> + <xsl:value-of select="@type"/> + <xsl:choose> + <xsl:when test="@namespace"> + <xsl:text> of namespace </xsl:text> + <xsl:value-of select="@namespace"/> + </xsl:when> + <xsl:otherwise> + <xsl:text> in no namespace.</xsl:text> + </xsl:otherwise> + </xsl:choose> + <dd> + <xsl:choose> + <xsl:when test="doc:documentation"> + <xsl:apply-templates select="doc:documentation" mode="short-documentation"/> + </xsl:when> + <xsl:otherwise> + <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> + </xsl:otherwise> + </xsl:choose> + </dd> + </dl> + </xsl:template> + <!-- Format description of schema component in schema indices. --> *************** *** 484,487 **** --- 655,665 ---- </xsl:for-each> </xsl:if> + <xsl:if test="doc:component/doc:error"> + <xsl:text>An error occured:</xsl:text> + <br/> + <pre> + <xsl:apply-templates select="doc:component/doc:error/text()"/> + </pre> + </xsl:if> <dl> <dt>Properties</dt> *************** *** 1628,1631 **** --- 1806,1819 ---- </xsl:template> <!-- + Navigation bar placed on top and bottom of index-all pages. + --> + <xsl:template name="navigationIndex"> + <xsl:call-template name="navigationHandler"> + <xsl:with-param name="rootFolder" select="'./'"/> + <xsl:with-param name="namespaceFolder" select="'./'"/> + <xsl:with-param name="selected" select="'index'"/> + </xsl:call-template> + </xsl:template> + <!-- Navigation bar placed on top and bottom of component pages. --> *************** *** 1649,1652 **** --- 1837,1841 ---- <table border="0" cellpadding="0" cellspacing="3"> <tr align="center" valign="top"> + <!-- Overview --> <td bgcolor="#EEEEFF"> <xsl:choose> *************** *** 1684,1687 **** --- 1873,1877 ---- <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> </td> + <!-- Namespace --> <td bgcolor="#EEEEFF"> <xsl:choose> *************** *** 1716,1719 **** --- 1906,1910 ---- <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> </td> + <!-- Component --> <td bgcolor="#EEEEFF" class="NavBarCell1"> <xsl:choose> *************** *** 1739,1742 **** --- 1930,1934 ---- <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> </td> + <!-- Use --> <!-- <td bgcolor="#EEEEFF" class="NavBarCell1"> *************** *** 1761,1764 **** --- 1953,1993 ---- </td> --> + <!-- Index --> + <td bgcolor="#EEEEFF"> + <xsl:choose> + <xsl:when test="starts-with($selected, 'index')"> + <xsl:attribute name="class">NavBarCell1Rev</xsl:attribute> + <font> + <xsl:choose> + <xsl:when test="starts-with($selected, 'index')"> + <xsl:attribute name="class">NavBarFont1Rev</xsl:attribute> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="class">NavBarFont1</xsl:attribute> + </xsl:otherwise> + </xsl:choose> + <b>Index</b> + </font> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="class">NavBarCell1</xsl:attribute> + <a href="{concat($rootFolder, 'index-all.html')}"> + <font> + <xsl:choose> + <xsl:when test="starts-with($selected, 'index')"> + <xsl:attribute name="class">NavBarFont1Rev</xsl:attribute> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="class">NavBarFont1</xsl:attribute> + </xsl:otherwise> + </xsl:choose> + <b>Index</b> + </font> + </a> + </xsl:otherwise> + </xsl:choose> + <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> + </td> + <!-- Help --> <td bgcolor="#EEEEFF"> <xsl:choose> Index: index.xsl =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/index.xsl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.xsl 25 Mar 2004 15:05:54 -0000 1.4 --- index.xsl 13 Jan 2005 15:56:34 -0000 1.5 *************** *** 66,70 **** <frameset rows="30%,70%"> <frame name="namespaces" src="./overview-namespaces.html"/> ! <frame name="index" src="{concat('./', $nsFolder, '/overview-namespace.html')}"/> </frameset> <frame name="content" src="./schema-summary.html"/> --- 66,70 ---- <frameset rows="30%,70%"> <frame name="namespaces" src="./overview-namespaces.html"/> ! <frame name="index" src="{concat('./', 'overview-all.html')}"/> </frameset> <frame name="content" src="./schema-summary.html"/> Index: util.xsl =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/util.xsl,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** util.xsl 27 Dec 2004 14:54:12 -0000 1.18 --- util.xsl 13 Jan 2005 15:56:36 -0000 1.19 *************** *** 121,124 **** --- 121,146 ---- </xsl:choose> </xsl:template> + + <!-- + Returns the substring after the last occurance of a substring. + Example: + last-substring('a.b.c', '.') = 'c' + --> + <xsl:template name="last-substring"> + <xsl:param name="string"/> + <xsl:param name="substring"/> + <xsl:choose> + <xsl:when test="contains($string, $substring)"> + <xsl:call-template name="last-substring"> + <xsl:with-param name="string" select="substring-after($string, $substring)"/> + <xsl:with-param name="substring" select="$substring"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$string"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + <!-- Checks if a schema (or any included schema) defines any component. |
From: Kurt R. <kr...@us...> - 2005-01-13 15:56:58
|
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24880/src/net/sf/xframe/xsddoc Modified Files: Processor.java Log Message: fist version of an index of all components (see RFE 1100551) Index: Processor.java =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/Processor.java,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** Processor.java 28 Dec 2004 10:52:22 -0000 1.33 --- Processor.java 13 Jan 2005 15:56:37 -0000 1.34 *************** *** 54,61 **** --- 54,63 ---- import net.sf.xframe.xsddoc.util.XMLUtil; + import org.w3c.dom.DOMImplementation; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; + import org.w3c.dom.Text; import org.xml.sax.SAXException; *************** *** 123,129 **** --- 125,137 ---- private TransformerFactory tFactory = null; + /** Index transformer of all components. */ + private Transformer tIndexAll = null; + /** Index transformer. */ private Transformer tIndex = null; + /** overviewAll transformer. */ + private Transformer tOverviewAll = null; + /** overviewNamespaces transformer. */ private Transformer tOverviewNamespaces = null; *************** *** 518,521 **** --- 526,530 ---- tFactory.setErrorListener(new ConsoleErrorListener()); tFactory.setURIResolver(new ResourceResolver()); + tOverviewAll = createTransformer("overview-all.xsl"); tOverviewNamespaces = createTransformer("overview-namespaces.xsl"); tOverviewNamespace = createTransformer("overview-namespace.xsl"); *************** *** 523,526 **** --- 532,536 ---- tSchemaIndex = createTransformer("schema-index.xsl"); tComponent = createTransformer("component.xsl"); + tIndexAll = createTransformer("index-all.xsl"); tIndex = createTransformer("index.xsl"); tHtml = createTransformer("xml2html.xsl"); *************** *** 580,585 **** --- 590,597 ---- final Source source = getSource(schema, systemId); transform(source, tIndex, out + FILE_SEP + "index" + getExtension()); + transform(source, tOverviewAll, out, "overview-all"); transform(source, tOverviewNamespaces, out, "overview-namespaces"); transform(source, tSchemaSummary, out, "schema-summary"); + transform(source, tIndexAll, out, "index-all"); transform(source, tHelp, out, "help-doc"); process(schema, mainSchemaLocation); *************** *** 702,713 **** ((Element) component).setAttributeNS(XSDDOC_NAMESPACE, XSDDOC_PREFIX + ":" + XSDDOCID_ATTR, "a"); } ! if (xml) { ! transform(source, tComponent, component, ! subfolder + FILE_SEP + componentType + FILE_SEP + name + getExtension(), ! namespaceURI, componentType, name); ! } else { ! final Node result = transform(source, tComponent, component, namespaceURI, componentType, name); transform(new DOMSource(result, DOM_PROTOCOL), tHtml, subfolder + FILE_SEP + componentType + FILE_SEP + name + getExtension()); } if (!"".equals(parentName)) { --- 714,734 ---- ((Element) component).setAttributeNS(XSDDOC_NAMESPACE, XSDDOC_PREFIX + ":" + XSDDOCID_ATTR, "a"); } ! try { ! if (xml) { ! transform(source, tComponent, component, ! subfolder + FILE_SEP + componentType + FILE_SEP + name + getExtension(), ! namespaceURI, componentType, name); ! } else { ! final Node result = transform(source, tComponent, component, namespaceURI, componentType, name); ! transform(new DOMSource(result, DOM_PROTOCOL), tHtml, ! subfolder + FILE_SEP + componentType + FILE_SEP + name + getExtension()); ! } ! } catch (Throwable t) { ! final Node result = createError(namespaceURI, componentType, name, t); transform(new DOMSource(result, DOM_PROTOCOL), tHtml, subfolder + FILE_SEP + componentType + FILE_SEP + name + getExtension()); + if (isDebug()) { + System.out.println(ExceptionUtil.printStackTrace(t)); + } } if (!"".equals(parentName)) { *************** *** 721,724 **** --- 742,771 ---- /** + * Creates an error page for a schema component. + * + * @param namespaceURI namespace URI of current schema + * @param componentType type of component + * @param name name of component + * @param throwable the exception that occured during processing + * @return DOM document with error information + */ + private Node createError(final String namespaceURI, final String componentType, final String name, + final Throwable throwable) { + final DOMImplementation domImpl = builder.getDOMImplementation(); + final Document document = domImpl.createDocument(XSDDOC_NAMESPACE, "xsddoc", null); + final Element xsddocElement = document.getDocumentElement(); + final Element componentElement = document.createElementNS(XSDDOC_NAMESPACE, "component"); + componentElement.setAttributeNS(null, "namespace", namespaceURI); + componentElement.setAttributeNS(null, "name", name); + componentElement.setAttributeNS(null, "type", componentType); + xsddocElement.appendChild(componentElement); + final Element errorElement = document.createElementNS(XSDDOC_NAMESPACE, "error"); + componentElement.appendChild(errorElement); + final Text errorText = document.createTextNode(ExceptionUtil.printStackTrace(throwable)); + errorElement.appendChild(errorText); + return document; + } + + /** * Search for local declarations within a given component. * *************** *** 1103,1109 **** */ Document getDocument(final String systemId) throws SAXException, IOException { - if (debug) { - System.out.println("getDocument: " + systemId); - } Document doc = (Document) schemaCache.get(systemId); if (doc == null) { --- 1150,1153 ---- |
From: Kurt R. <kr...@us...> - 2004-12-28 10:52:32
|
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14744/src/net/sf/xframe/xsddoc Modified Files: Processor.java Log Message: new attributes: proxyHost and proxyPort Index: Processor.java =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/Processor.java,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** Processor.java 15 Dec 2004 14:24:53 -0000 1.32 --- Processor.java 28 Dec 2004 10:52:22 -0000 1.33 *************** *** 204,207 **** --- 204,213 ---- private boolean hideGroups = false; + /** Optional name of proxy host. */ + private String proxyHost; + + /** Optional name of proxy port. */ + private String proxyPort; + /** Indicates if the processor is initialized. */ private boolean initialized = false; *************** *** 372,375 **** --- 378,399 ---- /** + * Setter method for proxyHost property. + * + * @param theProxyHost The proxyHost to set. + */ + public void setProxyHost(final String theProxyHost) { + this.proxyHost = theProxyHost; + } + + /** + * Setter method for proxyPort property. + * + * @param theProxyPort The proxyPort to set. + */ + public void setProxyPort(final String theProxyPort) { + this.proxyPort = theProxyPort; + } + + /** * Depending on xml attribute returns file extension for XML ro HTML files. * *************** *** 390,394 **** */ public void execute() throws ProcessorException { ! if (this.out == null) { throw new ProcessorException("output folder is null"); } --- 414,418 ---- */ public void execute() throws ProcessorException { ! if (out == null) { throw new ProcessorException("output folder is null"); } *************** *** 402,405 **** --- 426,430 ---- try { if (!initialized) { + initProxy(); initBuilder(); initTransformers(); *************** *** 456,459 **** --- 481,510 ---- /** + * Initializes the proxy if defined. + */ + private void initProxy() { + if (proxyHost != null) { + System.setProperty("http.proxySet", "true"); + System.setProperty("http.proxyHost", proxyHost); + System.setProperty("http.proxyPort", proxyPort); + } + } + + /** + * Initialise a namespace aware DocumentBuilder. + * + * @throws ParserConfigurationException if a DocumentBuilder + * cannot be created. + */ + private void initBuilder() throws ParserConfigurationException { + if (debug) { + System.out.println("create document builder"); + } + builderFactory = DocumentBuilderFactory.newInstance(); + builderFactory.setNamespaceAware(true); + builder = builderFactory.newDocumentBuilder(); + } + + /** * Initialises all needed transformers. * *************** *** 478,496 **** /** - * Initialise a namespace aware DocumentBuilder. - * - * @throws ParserConfigurationException if a DocumentBuilder - * cannot be created. - */ - private void initBuilder() throws ParserConfigurationException { - if (debug) { - System.out.println("create document builder"); - } - builderFactory = DocumentBuilderFactory.newInstance(); - builderFactory.setNamespaceAware(true); - builder = builderFactory.newDocumentBuilder(); - } - - /** * Creates a transformer for a given file name. * --- 529,532 ---- *************** *** 1067,1076 **** */ Document getDocument(final String systemId) throws SAXException, IOException { Document doc = (Document) schemaCache.get(systemId); if (doc == null) { doc = builder.parse(systemId); ! final String targetNamespace = getTargetNamespace(doc); ! if (targetNamespace != null && !"".equals(targetNamespace)) { ! schemaCache.put(systemId, doc); } } --- 1103,1117 ---- */ Document getDocument(final String systemId) throws SAXException, IOException { + if (debug) { + System.out.println("getDocument: " + systemId); + } Document doc = (Document) schemaCache.get(systemId); if (doc == null) { doc = builder.parse(systemId); ! if (doc != null) { ! final String targetNamespace = getTargetNamespace(doc); ! if (targetNamespace != null && !"".equals(targetNamespace)) { ! schemaCache.put(systemId, doc); ! } } } |
From: Kurt R. <kr...@us...> - 2004-12-28 10:50:34
|
Update of /cvsroot/xframe/maven-xsddoc-plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14412 Modified Files: plugin.jelly Log Message: use maven proxy settings for xsddoc Index: plugin.jelly =================================================================== RCS file: /cvsroot/xframe/maven-xsddoc-plugin/plugin.jelly,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** plugin.jelly 22 Dec 2004 15:31:14 -0000 1.5 --- plugin.jelly 28 Dec 2004 10:50:19 -0000 1.6 *************** *** 71,74 **** --- 71,76 ---- <j:set var="result" value="${xsddocprocessor.setSchemaLocation(sourcefile)}"/> <j:set var="result" value="${xsddocprocessor.setOut(targetpath)}"/> + <j:set var="result" value="${xsddocprocessor.setProxyHost(maven.proxy.host)}"/> + <j:set var="result" value="${xsddocprocessor.setProxyPort(maven.proxy.port)}"/> <j:invoke method="run" on="${xsddocprocessor}" var="xsddocresult"/> <j:file name="${targetpath}.txt" var="log" omitXmlDeclaration="true" outputMode="HTML"> |
From: Kurt R. <kr...@us...> - 2004-12-27 15:28:22
|
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28727/src/net/sf/xframe/xsddoc/xslt Modified Files: xml2html.xsl Log Message: fix for any namespace complex content Index: xml2html.xsl =================================================================== RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/xml2html.xsl,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** xml2html.xsl 9 Dec 2004 13:09:19 -0000 1.34 --- xml2html.xsl 27 Dec 2004 15:28:14 -0000 1.35 *************** *** 1328,1332 **** <xsl:choose> <!-- when the namespace is specified and the value is not ##any --> ! <xsl:when test="@namespace and not(namespace = '##any') and not(@namespace = '')"> <xsl:choose> <xsl:when test="@namespace = '##other'"> --- 1328,1332 ---- <xsl:choose> <!-- when the namespace is specified and the value is not ##any --> ! <xsl:when test="@namespace and not(@namespace = '##any') and not(@namespace = '')"> <xsl:choose> <xsl:when test="@namespace = '##other'"> |
From: Kurt R. <kr...@us...> - 2004-12-27 15:06:16
|
Update of /cvsroot/xframe/swing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24262 Added Files: xframeCheckstyleSource xframeCheckstyleSamples Removed Files: xframe-swing Checks for Source Log Message: Chechstyle activated --- NEW FILE: xframeCheckstyleSource --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN" "http://www.puppycrawl.com/dtds/configuration_1_1.dtd"> <module name="Checker"> <module name="TreeWalker"> <module name="com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck"> <property name="severity" value="warning"/> <property name="tokens" value="METHOD_DEF, CTOR_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck"> <property name="format" value="\s+$"/> <property name="ignoreCase" value="false"/> <property name="message" value="Line has trailing spaces."/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.ModifierOrderCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.RedundantModifierCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck"> <property name="format" value="TODO:"/> <property name="severity" value="ignore"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.UpperEllCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.AvoidInlineConditionalsCheck"> <property name="severity" value="ignore"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck"> <property name="severity" value="error"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck"> <property name="severity" value="error"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck"> <property name="ignoreConstructorParameter" value="true"/> <property name="ignoreSetter" value="false"/> <property name="severity" value="error"/> <property name="tokens" value="PARAMETER_DEF, VARIABLE_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck"> <property name="ignoreNumbers" value="-1, 0, 1, 2, 3"/> <property name="severity" value="warning"/> <property name="tokens" value="NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.MissingSwitchDefaultCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck"> <property name="allowSubclasses" value="false"/> <property name="allowUnchecked" value="true"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.MutableExceptionCheck"> <property name="format" value="^.*Exception$|^.*Error$"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.ThrowsCountCheck"> <property name="max" value="4"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck"> <property name="packageAllowed" value="false"/> <property name="protectedAllowed" value="false"/> <property name="publicMemberPattern" value="^serialVersionUID"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck"> <property name="allowMissingParamTags" value="false"/> <property name="allowMissingReturnTag" value="false"/> <property name="allowMissingThrowsTags" value="false"/> <property name="allowThrowsTagsForSubclasses" value="false"/> <property name="allowUndeclaredRTE" value="false"/> <property name="scope" value="anoninner"/> <property name="severity" value="warning"/> <property name="tokens" value="METHOD_DEF, CTOR_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck"> <property name="checkFirstSentence" value="true"/> <property name="checkHtml" value="true"/> <property name="scope" value="anoninner"/> <property name="severity" value="warning"/> <property name="tokens" value="INTERFACE_DEF, CLASS_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck"> <property name="scope" value="anoninner"/> <property name="severity" value="warning"/> <property name="tokens" value="CLASS_DEF, INTERFACE_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck"> <property name="scope" value="anoninner"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.sizes.FileLengthCheck"> <property name="max" value="5000"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck"> <property name="ignorePattern" value="^$"/> <property name="max" value="128"/> <property name="severity" value="warning"/> <property name="tabWidth" value="4"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.sizes.MethodLengthCheck"> <property name="countEmpty" value="true"/> <property name="max" value="100"/> <property name="severity" value="warning"/> <property name="tokens" value="METHOD_DEF, CTOR_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForIteratorPadCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceBeforeCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.TabCharacterCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"> <property name="severity" value="warning"/> </module> </module> </module> --- xframe-swing Checks for Source DELETED --- --- NEW FILE: xframeCheckstyleSamples --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN" "http://www.puppycrawl.com/dtds/configuration_1_1.dtd"> <module name="Checker"> <module name="TreeWalker"> <module name="com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck"> <property name="severity" value="warning"/> <property name="tokens" value="METHOD_DEF, CTOR_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck"> <property name="format" value="\s+$"/> <property name="ignoreCase" value="false"/> <property name="message" value="Line has trailing spaces."/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.ModifierOrderCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.RedundantModifierCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck"> <property name="format" value="TODO:"/> <property name="severity" value="ignore"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.UpperEllCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.AvoidInlineConditionalsCheck"> <property name="severity" value="ignore"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck"> <property name="severity" value="error"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck"> <property name="severity" value="error"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck"> <property name="ignoreConstructorParameter" value="true"/> <property name="ignoreSetter" value="false"/> <property name="severity" value="error"/> <property name="tokens" value="PARAMETER_DEF, VARIABLE_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck"> <property name="ignoreNumbers" value="-1, 0, 1, 2, 3"/> <property name="severity" value="warning"/> <property name="tokens" value="NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.MissingSwitchDefaultCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck"> <property name="allowSubclasses" value="false"/> <property name="allowUnchecked" value="true"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.MutableExceptionCheck"> <property name="format" value="^.*Exception$|^.*Error$"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.ThrowsCountCheck"> <property name="max" value="4"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck"> <property name="packageAllowed" value="false"/> <property name="protectedAllowed" value="false"/> <property name="publicMemberPattern" value="^serialVersionUID"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck"> <property name="allowMissingParamTags" value="false"/> <property name="allowMissingReturnTag" value="false"/> <property name="allowMissingThrowsTags" value="false"/> <property name="allowThrowsTagsForSubclasses" value="false"/> <property name="allowUndeclaredRTE" value="false"/> <property name="scope" value="anoninner"/> <property name="severity" value="warning"/> <property name="tokens" value="METHOD_DEF, CTOR_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck"> <property name="checkFirstSentence" value="true"/> <property name="checkHtml" value="true"/> <property name="scope" value="anoninner"/> <property name="severity" value="warning"/> <property name="tokens" value="INTERFACE_DEF, CLASS_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck"> <property name="scope" value="anoninner"/> <property name="severity" value="warning"/> <property name="tokens" value="CLASS_DEF, INTERFACE_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck"> <property name="scope" value="anoninner"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.sizes.FileLengthCheck"> <property name="max" value="5000"/> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck"> <property name="ignorePattern" value="^$"/> <property name="max" value="128"/> <property name="severity" value="warning"/> <property name="tabWidth" value="4"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.sizes.MethodLengthCheck"> <property name="countEmpty" value="true"/> <property name="max" value="100"/> <property name="severity" value="warning"/> <property name="tokens" value="METHOD_DEF, CTOR_DEF"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForIteratorPadCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceBeforeCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.TabCharacterCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck"> <property name="severity" value="warning"/> </module> <module name="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck"> <property name="severity" value="warning"/> </module> </module> </module> |
From: Kurt R. <kr...@us...> - 2004-12-27 15:04:56
|
Update of /cvsroot/xframe/swing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23984 Modified Files: build.version Log Message: *** keyword substitution change *** Index: build.version =================================================================== RCS file: /cvsroot/xframe/swing/build.version,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.version 30 Jul 2004 12:59:32 -0000 1.1 --- build.version 27 Dec 2004 15:04:47 -0000 1.2 *************** *** 1 **** ! build.version=0.0.1-alpha --- 1 ---- ! build.version=0.0.1-alpha |
From: Kurt R. <kr...@us...> - 2004-12-27 15:03:19
|
Update of /cvsroot/xframe/swing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23098 Modified Files: .checkstyle Log Message: *** keyword substitution change *** Index: .checkstyle =================================================================== RCS file: /cvsroot/xframe/swing/.checkstyle,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** .checkstyle 5 Aug 2004 21:30:06 -0000 1.3 --- .checkstyle 27 Dec 2004 15:03:07 -0000 1.4 *************** *** 1,8 **** <?xml version="1.0" encoding="UTF-8"?> <fileset-config file-format-version="1.0.0"> ! <fileset name="samples" enabled="true" check-config-name="xframe Checks for Samples"> <file-match-pattern match-pattern="demo/([:print:]*).java$" include-pattern="true"/> </fileset> ! <fileset name="src" enabled="true" check-config-name="xframe-swing Checks for Source"> <file-match-pattern match-pattern="src/([:print:]*).java$" include-pattern="true"/> </fileset> --- 1,8 ---- <?xml version="1.0" encoding="UTF-8"?> <fileset-config file-format-version="1.0.0"> ! <fileset name="samples" enabled="true" check-config-name="xframeCheckstyleSamples"> <file-match-pattern match-pattern="demo/([:print:]*).java$" include-pattern="true"/> </fileset> ! <fileset name="src" enabled="true" check-config-name="xframeCheckstyleSource"> <file-match-pattern match-pattern="src/([:print:]*).java$" include-pattern="true"/> </fileset> |
From: Kurt R. <kr...@us...> - 2004-12-27 15:01:14
|
Update of /cvsroot/xframe/swing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22147 Modified Files: project.xml Log Message: minor editorial changes Index: project.xml =================================================================== RCS file: /cvsroot/xframe/swing/project.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** project.xml 12 Nov 2004 11:37:52 -0000 1.2 --- project.xml 27 Dec 2004 15:01:04 -0000 1.3 *************** *** 45,49 **** </description> <shortDescription>Swing utilities</shortDescription> ! <url>http://xframe.sourceforge.net/xsddoc.html</url> <siteDirectory>/home/groups/x/xf/xframe/htdocs</siteDirectory> <issueTrackingUrl>http://sourceforge.net/tracker/?group_id=48863&atid=454391</issueTrackingUrl> --- 45,49 ---- </description> <shortDescription>Swing utilities</shortDescription> ! <url>http://xframe.sourceforge.net/swing.html</url> <siteDirectory>/home/groups/x/xf/xframe/htdocs</siteDirectory> <issueTrackingUrl>http://sourceforge.net/tracker/?group_id=48863&atid=454391</issueTrackingUrl> *************** *** 57,61 **** <mailingLists> <mailingList> ! <name>xsddoc user list</name> <subscribe>http://lists.sourceforge.net/mailman/listinfo/xframe-swing</subscribe> <unsubscribe>http://lists.sourceforge.net/mailman/listinfo/xframe-swing</unsubscribe> --- 57,61 ---- <mailingLists> <mailingList> ! <name>xframe-swing user list</name> <subscribe>http://lists.sourceforge.net/mailman/listinfo/xframe-swing</subscribe> <unsubscribe>http://lists.sourceforge.net/mailman/listinfo/xframe-swing</unsubscribe> |