Show Definition cannot find definition
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Wed Feb 01, 2012 9:52 pm
- Contact:
Show Definition cannot find definition
Post by Laurent CAPRANII »
The "Show Definition" function is not always capable to locate element definition, even on a valid document.
My document contains these elements (this is ISO TC/211 stuff):
"Show Definition" says
And this is gmx, where I expected "Show Definition" to reach:
I don’t get why oXygen can’t do it. Other tools do.
My document contains these elements (this is ISO TC/211 stuff):
Code: Select all
<gfc:FC_FeatureCatalogue ...>
<gmx:name xsi:type="gmd:PT_FreeText_PropertyType">...</gmx:name>
...
</gfc:FC_FeatureCatalogue>
"Show Definition" is able to locate gfc:FC_FeatureCatalogue. Below is gfc:Cannot find definition for element: gmx:name
Code: Select all
<xs:complexType name="FC_FeatureCatalogue_Type">
<xs:complexContent>
<xs:extension base="gmx:AbstractCT_Catalogue_Type">
...
</xs:extension>
</xs:complexContent>
</xs:complexType>
Code: Select all
<xs:complexType name="AbstractCT_Catalogue_Type" abstract="true">
<xs:complexContent>
<xs:extension base="gco:AbstractObject_Type">
<xs:sequence>
<xs:element name="name" type="gco:CharacterString_PropertyType"/>
...
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: Show Definition cannot find definition
Thanks for letting us know about this issue. We have a very recent similar report and we have this logged as EXM-23127 in our issue tracking system. This is planned to be solved in our next release. We will update this forum entry as soon as we have progress on this.
The problem is related with the presence of xsi:type on the element from the instance document, in that case the detection of the element definition fails.
As a workaround you may try to use the action on a parent or child element that do not have xsi:type set and then locate the actual element definition from there.
Best Regards,
George
The problem is related with the presence of xsi:type on the element from the instance document, in that case the detection of the element definition fails.
As a workaround you may try to use the action on a parent or child element that do not have xsi:type set and then locate the actual element definition from there.
Best Regards,
George
George Cristian Bina
-
- Posts: 2
- Joined: Wed Feb 01, 2012 9:52 pm
- Contact:
Re: Show Definition cannot find definition
Post by Laurent CAPRANII »
Speaking of xsi:type, it would be nice to have Show Definition operate on that value too.george wrote:The problem is related with the presence of xsi:type on the element from the instance document, in that case the detection of the element definition fails.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: Show Definition cannot find definition
The initial issue was already solved, and the presence of xsi:type does not break the support for locating the element definition in the schema. This will be available in our next release.
I also logged an issue to identify a type in the schema if the Show Definition action is triggered having the caret inside an xsi:type value.
Best Regards,
George
I also logged an issue to identify a type in the schema if the Show Definition action is triggered having the caret inside an xsi:type value.
Best Regards,
George
George Cristian Bina
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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