You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Olivier Lourdais (JIRA)" <ji...@apache.org> on 2008/08/06 17:32:44 UTC
[jira] Created: (FTPSERVER-147) Unable to create several
elements in Spring configuration file
Unable to create several <command> elements in Spring configuration file
------------------------------------------------------------------------
Key: FTPSERVER-147
URL: https://issues.apache.org/jira/browse/FTPSERVER-147
Project: FtpServer
Issue Type: Bug
Reporter: Olivier Lourdais
Priority: Trivial
In order to override several FTP commands, I had to modify the XSD schema.
In its current form, the <commands> element allow only one <command> child (all the examples I found override only one FTP command ;-) ).
I had to replace
<xs:element name="command">
By
<xs:element name="command" minOccurs="0" maxOccurs="unbounded">
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FTPSERVER-147) Unable to create several
elements in Spring configuration file
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-147:
----------------------------------------
Affects Version/s: 1.0-M2
> Unable to create several <command> elements in Spring configuration file
> ------------------------------------------------------------------------
>
> Key: FTPSERVER-147
> URL: https://issues.apache.org/jira/browse/FTPSERVER-147
> Project: FtpServer
> Issue Type: Bug
> Affects Versions: 1.0-M2
> Reporter: Olivier Lourdais
> Assignee: Niklas Gustavsson
> Priority: Trivial
> Fix For: 1.0-M3
>
>
> In order to override several FTP commands, I had to modify the XSD schema.
> In its current form, the <commands> element allow only one <command> child (all the examples I found override only one FTP command ;-) ).
> I had to replace
> <xs:element name="command">
> By
> <xs:element name="command" minOccurs="0" maxOccurs="unbounded">
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FTPSERVER-147) Unable to create several
elements in Spring configuration file
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed FTPSERVER-147.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.0-M3
Assignee: Niklas Gustavsson
Fixed, thanks! I did not allow minOccure="0" since it doesn't make any sense to have the commands element if you don't do any override
svn commit "/media/big/home/svn/apache/ftpserver-trunk/core" -m "Fix issue with schema only allowing one command element (FTPSERVER-147)." --username "ngn"
M /media/big/home/svn/apache/ftpserver-trunk/core/src/main/resources/org/apache/ftpserver/config/spring/ftpserver-1.0.xsd
M /media/big/home/svn/apache/ftpserver-trunk/core/src/test/java/org/apache/ftpserver/config/spring/SpringConfigTest.java
M /media/big/home/svn/apache/ftpserver-trunk/core/src/test/resources/spring-config/config-spring-1.xml
Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/main/resources/org/apache/ftpserver/config/spring/ftpserver-1.0.xsd
Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/test/java/org/apache/ftpserver/config/spring/SpringConfigTest.java
Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/test/resources/spring-config/config-spring-1.xml
Committed revision 683302
> Unable to create several <command> elements in Spring configuration file
> ------------------------------------------------------------------------
>
> Key: FTPSERVER-147
> URL: https://issues.apache.org/jira/browse/FTPSERVER-147
> Project: FtpServer
> Issue Type: Bug
> Affects Versions: 1.0-M2
> Reporter: Olivier Lourdais
> Assignee: Niklas Gustavsson
> Priority: Trivial
> Fix For: 1.0-M3
>
>
> In order to override several FTP commands, I had to modify the XSD schema.
> In its current form, the <commands> element allow only one <command> child (all the examples I found override only one FTP command ;-) ).
> I had to replace
> <xs:element name="command">
> By
> <xs:element name="command" minOccurs="0" maxOccurs="unbounded">
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.