avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <...@avalon.apache.org>
Subject [jira] Closed: (RUNTIME-28) documentation of include directive in block.xml for included files
Date Sat, 13 Nov 2004 02:16:25 GMT
     [ http://nagoya.apache.org/jira/browse/RUNTIME-28?page=history ]
     
Niclas Hedhman closed RUNTIME-28:
---------------------------------


> documentation of include directive in block.xml for included files
> ------------------------------------------------------------------
>
>          Key: RUNTIME-28
>          URL: http://nagoya.apache.org/jira/browse/RUNTIME-28
>      Project: Merlin Runtime
>         Type: Bug
>   Components: COMPOSITION
>     Versions: 3.2.5, 3.3.0
>  Environment: All
>     Reporter: Cameron Fieber
>     Priority: Trivial
>      Fix For: 3.4.0

>
> 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
:)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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


Mime
View raw message