[ xframe-Bugs-924041 ] XS vs XSD prefix link difference
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.text.xml.xframe.xsddoc |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #924041, was opened at 2004-03-26 18:01
Message generated for change (Comment added) made by kriede
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=924041&group_id=48863
>Category: all platforms
>Group: alpha
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Kurt Riede (kriede)
Summary: XS vs XSD prefix link difference
Initial Comment:
OS: WinXP
xsddoc-version 0.3-alpha
Default xslt transformer that ships with j2sdk1.4.1_02
The following does not create a link from
base="st:included1" found in test5Type to the include1
type.
# stress.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
targetNamespace="http://xframe.sf.net/sample/stress"
xmlns:st="http://xframe.sf.net/sample/stress"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:include schemaLocation="included1.xsd"/>
<xsd:simpleType name="test5Type">
<xsd:annotation>
<xsd:documentation>type restricts type from
included schema</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="st:included1">
<xsd:maxLength value="64"/>
<xsd:whiteSpace value="replace"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
#include1.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
targetNamespace="http://xframe.sf.net/sample/stress"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:simpleType name="included1">
<xsd:restriction base="xs:string"/>
</xsd:simpleType>
</xsd:schema>
Whereas just by changing the prefix from xsd to xs it
does create a link.
#include1.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
targetNamespace="http://xframe.sf.net/sample/stress"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:simpleType name="included1">
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:schema>
#stress.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
targetNamespace="http://xframe.sf.net/sample/stress"
xmlns:st="http://xframe.sf.net/sample/stress"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="included1.xsd"/>
<xs:simpleType name="test5Type">
<xs:annotation>
<xs:documentation>type restricts type from
included schema</xs:documentation>
</xs:annotation>
<xs:restriction base="st:included1">
<xs:maxLength value="64"/>
<xs:whiteSpace value="replace"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
----------------------------------------------------------------------
>Comment By: Kurt Riede (kriede)
Date: 2004-04-01 17:31
Message:
Logged In: YES
user_id=484961
fixed.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2004-03-26 18:10
Message:
Logged In: NO
Oh yeah. The missing link should be in the "Source" section
of the generated doc for test5Type.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=924041&group_id=48863
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click