XSD doc: issue with local element definitions
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Fri May 29, 2015 12:40 pm
XSD doc: issue with local element definitions
Hello,
I have noticed some strange inconsistancies when using the WSDL documentation generator on XSD models. We have a number of parameter types externally defined in other XSD files. However the elements are defined locally in the message structure. The problem is that for locally defined parameters there is no link to the type definition. However if the parameter is globally declared the link to the type definition will be generated in the "model" and "children" section of the HTML document.
Here is an example. The definition of the complex "MessageParameterType" of the locally declared "Parameter" element will not show up in the generated HTML documentation:
However if I declare the parameter globally with a reference it will appear as a link to the type definition diagram in the model/children section:
I have noticed some strange inconsistancies when using the WSDL documentation generator on XSD models. We have a number of parameter types externally defined in other XSD files. However the elements are defined locally in the message structure. The problem is that for locally defined parameters there is no link to the type definition. However if the parameter is globally declared the link to the type definition will be generated in the "model" and "children" section of the HTML document.
Here is an example. The definition of the complex "MessageParameterType" of the locally declared "Parameter" element will not show up in the generated HTML documentation:
Code: Select all
...
<xs:include schemaLocation="message_parameters.xsd"/>
<xs:complexType name="MessageRequestType">
<xs:complexContent>
<xs:sequence>
<xs:element name="Parameter" type="MessageParameterType"/>
</xs:sequence>
</xs:complexContent>
</xs:complexType>
<xs:element name="MessageRequest" type="MessageRequestType"/>
</xs:schema>
Code: Select all
...
<xs:include schemaLocation="message_parameters.xsd"/>
<xs:complexType name="MessageRequestType">
<xs:complexContent>
<xs:sequence>
<xs:element ref="Parameter"/>
</xs:sequence>
</xs:complexContent>
</xs:complexType>
<xs:element name="MessageRequest" type="MessageRequestType"/>
<xs:element name="Parameter" type="MessageParameterType"/>
</xs:schema>
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: XSD doc: issue with local element definitions
Post by radu_pisoi »
Hello,
I managed to reproduce your problem. Thus, I will add an entry on our issue tracking system to fix it in a future oXygen version.
Unfortunately, it seems that the WSDL documentation does not contain entries for local elements or attributes.
However, I'm happy to know that you already found an workaround for this problem.
I managed to reproduce your problem. Thus, I will add an entry on our issue tracking system to fix it in a future oXygen version.
Unfortunately, it seems that the WSDL documentation does not contain entries for local elements or attributes.
However, I'm happy to know that you already found an workaround for this problem.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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