tag insight does not work for imported schemas
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Thu May 22, 2003 10:12 pm
tag insight does not work for imported schemas
Post by duncan@fish5.com »
I cannot get tag insight to work for imported schemas. Here is an example:
Both schemas reside in the same physical location:
-----------------------------
Master.xsd
-----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://test.org/master"
xmlns:detail="http://test.org/detail"
targetNamespace="http://test.org/master">
<xs:import namespace="http://test.org/detail" schemaLocation="detail.xsd" />
<xs:element name="master" type="MasterCT"/>
<xs:complexType name="MasterCT">
<xs:sequence>
<xs:element name="desc" type="DescST" />
<xs:element ref="detail:item" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="DescST">
<xs:restriction base="xs:string" />
</xs:simpleType>
</xs:schema>
-----------------------------
Detail.xsd
-----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://test.org/detail"
targetNamespace="http://test.org/detail">
<xs:element name="item" type="ItemST" />
<xs:simpleType name="ItemST">
<xs:restriction base="xs:string" />
</xs:simpleType>
</xs:schema>
When creating creating <xs:element ref="detail:item" />, insight does not work for the ref attribute. Only the "xs:.." namspace items show up. The "detail:.." namespace items do not show up.
I am using version 6.2 build 2005091711. It is a trial version.
Is this a bug or am I doing something wrong.
Thanks,
Duncan
Both schemas reside in the same physical location:
-----------------------------
Master.xsd
-----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://test.org/master"
xmlns:detail="http://test.org/detail"
targetNamespace="http://test.org/master">
<xs:import namespace="http://test.org/detail" schemaLocation="detail.xsd" />
<xs:element name="master" type="MasterCT"/>
<xs:complexType name="MasterCT">
<xs:sequence>
<xs:element name="desc" type="DescST" />
<xs:element ref="detail:item" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="DescST">
<xs:restriction base="xs:string" />
</xs:simpleType>
</xs:schema>
-----------------------------
Detail.xsd
-----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://test.org/detail"
targetNamespace="http://test.org/detail">
<xs:element name="item" type="ItemST" />
<xs:simpleType name="ItemST">
<xs:restriction base="xs:string" />
</xs:simpleType>
</xs:schema>
When creating creating <xs:element ref="detail:item" />, insight does not work for the ref attribute. Only the "xs:.." namspace items show up. The "detail:.." namespace items do not show up.
I am using version 6.2 build 2005091711. It is a trial version.
Is this a bug or am I doing something wrong.
Thanks,
Duncan
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
In the current version of <oXygen/> only definitions located in the same XML Schema file are offered as hints by the tag insight assistant. A future version will improve the assistant by parsing also the imported / included schema files.
Regards,
Sorin
In the current version of <oXygen/> only definitions located in the same XML Schema file are offered as hints by the tag insight assistant. A future version will improve the assistant by parsing also the imported / included schema files.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service