can not find treeview in eclipse plugin

Having trouble installing Oxygen? Got a bug to report? Post it all here.
bodo

can not find treeview in eclipse plugin

Post by bodo »

hi,
just installed oxigen-eclipse plugin.
i am only be able to display the textview, the xpath view and the editor view.
but did not find a treeview , where is it ?

eclipse->window->show view->other only has oxigen's text and xpath view

bodo
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

The tree based editor is not implemented in the Eclipse plugin version.
The Eclipse plugin does not support currently all the functionality available in the oXygen standalone version, we are working to increase the coverage of the supported features. Anyway, the oXygen license allows you to use the product on any platform, there is no special license for Eclipse, special license for Windows, etc., the same license works on all platforms. The idea is that if you have a lot of XML work to do and you want the features available only in the standalone version (like the tree view) you can just use that; when you use Eclipse and want to make some changes in a file you have also the core features of oXygen available there.

Best Regards,
George
bodo.t
Posts: 1
Joined: Mon Jun 30, 2003 6:46 pm

problems in treeviewer

Post by bodo.t »

ok, no i used the webstart version.

i loaded a heavily simplified version of a XML-Schemadefinietion for Formating Objects in to it. In Textview the valitaion says the document is valid and wellformed. but in treeviewer i get the errormessage :

cvc-elt.1: Cannot find the declaration of element 'xs:schema'.

which i don't understand.
see schema attached.
bodo

Code: Select all


<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.w3.org/1999/XSL/Format"
xmlns="http://www.w3.org/1999/XSL/Format"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
elementFormDefault="qualified">
<xs:attributeGroup name="block-properties">
<xs:attributeGroup ref="inheritable-properties"/>
</xs:attributeGroup>
<xs:attributeGroup name="margin-properties-CSS">
<xs:attribute name="margin"/>
<xs:attribute name="margin-bottom"/>
<xs:attribute name="margin-left"/>
<xs:attribute name="margin-right"/>
<xs:attribute name="margin-top"/>
<xs:attribute name="margin-after"/>
<xs:attribute name="margin-start"/>
<xs:attribute name="margin-end"/>
<xs:attribute name="margin-before"/>
</xs:attributeGroup>
<xs:attributeGroup name="line-height-properties">
<xs:attribute name="line-height"/>
</xs:attributeGroup>
<xs:attributeGroup name="font-properties">
<xs:attribute name="font"/>
<xs:attribute name="font-family"/>
<xs:attribute name="font-file-name"/>
<xs:attribute name="font-name"/>
<xs:attribute name="kerning">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="false"/>
<xs:enumeration value="true"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="font-size"/>
<xs:attribute name="horizontal-scaling"/>
<xs:attribute name="font-style">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="normal"/>
<xs:enumeration value="italic"/>
<xs:enumeration value="condensed"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="font-weight">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="normal"/>
<xs:enumeration value="bold"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="character-properties">
<xs:attribute name="word-spacing"/>
<xs:attributeGroup ref="font-properties"/>
<xs:attributeGroup ref="line-height-properties"/>
</xs:attributeGroup>
<xs:attributeGroup name="inheritable-properties">
<xs:attribute name="color"/>
<xs:attribute name="relative-align">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="before"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="span">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="none"/>
<xs:enumeration value="all"/>
<xs:enumeration value="inherit"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="hyphenation"/>
<xs:attributeGroup ref="character-properties"/>
</xs:attributeGroup>
<xs:attributeGroup name="flow-properties">
<xs:attribute name="flow-name" use="required"/>
<xs:attributeGroup ref="inheritable-properties"/>
</xs:attributeGroup>
<xs:element name="inline">
<xs:complexType mixed="true">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="fo:inline"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="block">
<xs:complexType mixed="true">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="fo:inline"/>
</xs:choice>
<xs:attributeGroup ref="block-properties"/>
</xs:complexType>
</xs:element>
<xs:element name="region-body">
<xs:complexType>
<xs:attributeGroup ref="margin-properties-CSS"/>
<xs:attribute name="column-count" type="xs:int"/>
<xs:attribute name="column-gap" type="xs:int"/>
</xs:complexType>
</xs:element>
<xs:element name="single-page-master-reference">
<xs:complexType>
<xs:attribute name="master-reference" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="page-sequence-master">
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element ref="fo:single-page-master-reference"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="master-name" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="simple-page-master">
<xs:complexType>
<xs:sequence>
<xs:element ref="fo:region-body"/>
</xs:sequence>
<xs:attributeGroup ref="margin-properties-CSS"/>
<xs:attribute name="master-name" use="required"/>
<xs:attribute name="page-height"/>
<xs:attribute name="page-width"/>
</xs:complexType>
</xs:element>
<xs:element name="flow">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="fo:block"/>
</xs:choice>
<xs:attributeGroup ref="flow-properties"/>
</xs:complexType>
</xs:element>
<xs:element name="page-sequence">
<xs:complexType>
<xs:sequence>
<xs:element ref="fo:flow"/>
</xs:sequence>
<xs:attribute name="master-reference" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="layout-master-set">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="fo:page-sequence-master"/>
<xs:element ref="fo:simple-page-master"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="fo:simple-page-master"/>
<xs:element ref="fo:page-sequence-master"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="fo:layout-master-set"/>
<xs:element maxOccurs="unbounded" ref="fo:page-sequence"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

The tree based editor supports XML documents. It has no special support for XML schema, XSL or RelaxNG schema. When you open a schema document and start a validation it tries to validate it as an ordinary XML document and complains about missing declaration for the root element.

Currently an workaround will be to perform the validation in the text editor (recommended) or to alter the schema document to specify the schema for schemas thus forcing a validation againt schema for schemas - but the schema validation as is performed in the text editor case involves more checks than just validating against schema for schemas.

Support for validation and code insight in the tree based editor for schemas and XSLs will be implemented in next versions.

Best Regards,
George
Post Reply