[ xframe-Bugs-972508 ] simpleType link vs. complexType link

"SourceForge.net" <[email protected]> Mon, 14 Jun 2004 03:16:49 -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 (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
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

----------------------------------------------------------------------

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 new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504