You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by hi...@jakarta.apache.org on 2004/07/21 15:07:39 UTC

[jira] Closed: (HIVEMIND-27) Hivedoc description parsing fails if using XML descriptor format

Message:

   The following issue has been closed.

   Resolver: Howard M. Lewis Ship
       Date: Wed, 21 Jul 2004 6:07 AM

When the <description> element was removed from SDL and XML, the XSL stylesheet was updated as well. Check the generated HiveDoc ... descriptoins show up there.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/HIVEMIND-27

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: HIVEMIND-27
    Summary: Hivedoc description parsing fails if using XML descriptor format
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: WON'T FIX

    Project: HiveMind
 Components: 
             framework

   Assignee: Howard M. Lewis Ship
   Reporter: Lars Wunderlich

    Created: Wed, 21 Jul 2004 3:01 AM
    Updated: Wed, 21 Jul 2004 6:07 AM
Environment: Windows XP, Sun JDK 1.4.2_05, Eclipse 3.0

Description:
Concerning: Hivedoc creation.

There seems to be a bug in Hivemind XML to registry.xml conversion.
In case of using the SDL format, module description are correctly parsed, in case of XML no description is available in the created HTML documents.

Howard Lewis Ship send me the following mail statement:

"HiveDoc from XML is exactly the same as HiveDoc from SDL, i.e.:

<module id="foo.bar.Baz" version="1.0.0">
  Documentation for this module, etc., etc.

  <configuration-point id="MyConfig">
  Documentation for this config, etc.

  </configuration-point>
</module>"

Taking exactly this module description into an XML file and using it inside Hivedoc creation builds up the following wrong registry.xml file part:

"
    <module id="foo.bar.Baz" uid="38" version="1.0.0">   Documentation
        for this module, etc., etc.    <configuration-point
            id="foo.bar.Baz.MyConfig" uid="39">   Documentation for this
            config, etc.    </configuration-point>
    </module>
"

Description element and uid attribute are missing. The following XSL transformation step inside the Ant build tasks cannot reach the descriptions which is therefore missing on the final HTML pages.
There seems to be a bug inside the org.apache.hivemind.ant.ConstructRegistry class.


---------------------------------------------------------------------
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org