Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/MERLIN-10

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

     Status: Unassigned
   Priority: Trivial

    Project: Merlin Project

   Assignee: 
   Reporter: Cameron Fieber

    Created: Fri, 14 May 2004 10:55 PM
    Updated: Fri, 14 May 2004 10:55 PM
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to