Opened 14 years ago

Last modified 14 years ago

#1347 closed defect (fixed)

getDocumentationAnnotation API call not working with 3.x

Reported by: Adeel Asghar Owned by: Adeel Asghar
Priority: high Milestone:
Component: Version:
Keywords: Cc: Adeel Asghar, Adrian Pop

Description

The OMC API getDocumentationAnnotation is not working for components when annotation version is set to 3.x. It works for packages but not for models. Check the commands below:

>> getDocumentationAnnotation(Modelica.Mechanics.Rotational.Components)

{"<html>

<p>

This package contains basic components 1D mechanical rotational drive trains.

</p>

</html>"}


>> getDocumentationAnnotation(Modelica.Mechanics.Rotational.Components.Intertia)


>> getDocumentationAnnotation(Modelica.Electrical.Analog.Basic)

{"<HTML>

<p>

This package contains basic analog electrical components.

</p>

</HTML>

","<html>

<dl>

<dt>

<b>Main Authors:</b>

<dd>

Christoph Clau&szlig;

&lt;<a href=\"mailto:Christoph.Clauss@eas.iis.fraunhofer.de\">Christoph.Clauss@eas.iis.fraunhofer.de</a>&gt;<br>

Andr&eacute; Schneider

&lt;<a href=\"mailto:Andre.Schneider@eas.iis.fraunhofer.de\">Andre.Schneider@eas.iis.fraunhofer.de</a>&gt;<br>

Fraunhofer Institute for Integrated Circuits<br>

Design Automation Department<br>

Zeunerstra&szlig;e 38<br>

D-01069 Dresden<br>

<p>

</dl>

</html>"}

>> getDocumentationAnnotation(Modelica.Electrical.Analog.Basic.EMF)

Change History (1)

comment:1 by Adrian Pop, 14 years ago

fixed in revision 6860.

Note: See TracTickets for help on using tickets.