You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by de...@avalon.apache.org on 2004/07/09 20:17:29 UTC

[jira] Updated: (RUNTIME-28) documentation of include directive in block.xml for included files

The following issue has been updated:

    Updater: Stephen McConnell (mailto:mcconnell@apache.org)
       Date: Fri, 9 Jul 2004 11:16 AM
    Changes:
             Fix Version changed to 3.4.0
             Fix Version changed from 4.0
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/RUNTIME-28?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/RUNTIME-28

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: RUNTIME-28
    Summary: documentation of include directive in block.xml for included files
       Type: Bug

     Status: Unassigned
   Priority: Trivial

    Project: Merlin Runtime
 Components: 
             COMPOSITION
   Fix Fors:
             3.4.0
   Versions:
             3.2.5
             3.3.0

   Assignee: 
   Reporter: Cameron Fieber

    Created: Fri, 14 May 2004 10:55 PM
    Updated: Fri, 9 Jul 2004 11:16 AM
Environment: All

Description:
Documentation and behaviour of the include directive for including files in block.xml are out of sync.

Documentation examples show the include like:

<include path="file.xml">
or
<include>
  <source path="file.xml">
</include>
and doesn't clearly state that the name is required on the include.

In:
avalon/composition/impl/src/java/org/apache/avalon/composition/data/builder/XMLContainmentProfileCreator.java
On line 561:
It is requiring the name attribute

On line 584:
It is getting the value of source element

The result is that the block.xml that must conform to:
<include name="required">
  <source>file.xml</source>
</include>

I'd have included a patch, but I don't know what needs to change, the doc or the code :)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org