[ xframe-Bugs-972508 ] simpleType link vs. complexType link
"SourceForge.net" <[email protected]> Sun, 20 Jun 2004 23:29:23 -0700
| Newsgroups | gmane.text.xml.xframe.xsddoc |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #972508, was opened at 2004-06-14 12:16 Message generated for change (Settings changed) made by kriede You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=454391&aid=972508&group_id=48863 Category: all platforms Group: beta-0.4 >Status: Closed Resolution: Fixed Priority: 5 Submitted By: Michal Buzek (mbuzek) Assigned to: Kurt Riede (kriede) Summary: simpleType link vs. complexType link Initial Comment: I tried to generate the xsddoc using the beta-0.4 from the following two schemas: basicTypes.xsd: <?xml version="1.0" encoding="UTF-8"?> <xs:schema targetNamespace="http://www.mydomain.com/basicTyp es" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:simpleType name="scale"> <xs:annotation> <xs:documentation>A value that is between 0 and 100 inclusive</xs:documentation> </xs:annotation> <xs:restriction base="xs:integer"> <xs:minInclusive value="0"/> <xs:maxInclusive value="100"/> </xs:restriction> </xs:simpleType> </xs:schema> basicStructure.xsd <?xml version="1.0" encoding="UTF-8"?> <xs:schema targetNamespace="http://www.mydomain.com/messages " xmlns:bt="http://www.mydomain.com/basicTypes" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://www.mydomain.com/basicTypes" schemaLocation="basicTypes.xsd"/> <xs:element name="sampleElement"> <xs:complexType> <xs:sequence> <xs:element name="sampleData" type="bt:scale"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> In the generated documentation points (broken) link "sampleData" in the "element sampleElement" page to the complexType type "scale": <DOC_ROOT>/http___www.mydomain.com_basicTypes/c omplexType/scale.html however the type "scale" is defined as a simpleType. So the link should be: <DOC_ROOT>/http___www.mydomain.com_basicTypes/si mpleType/scale.html ---------------------------------------------------------------------- Comment By: Kurt Riede (kriede) Date: 2004-06-15 21:44 Message: Logged In: YES user_id=484961 We reproduced this with xsddoc-0.4-beta. With the current CVS HEAD, this problem is fixed. Solution will be included in xsddoc-0.5-beta. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=454391&aid=972508&group_id=48863 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND