[
https://issues.jboss.org/browse/TEIIDDES-2670?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-2670:
----------------------------------------
The copy XSD operation appears to be failing on the definition of a *PhoneType* attribute
on the *EmployeeType* complex type.
{code:xml}
<xs:attribute name="PhoneType"
use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="office"/>
<xs:enumeration value="fax"/>
<xs:enumeration value="cell"/>
<xs:enumeration value="home"/>
<xs:enumeration value="pager"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
{code}
If this attribute is converted to an <element> and moved within the <sequence>
the copy model works OK.
Copying XML Schema Model problem
--------------------------------
Key: TEIIDDES-2670
URL:
https://issues.jboss.org/browse/TEIIDDES-2670
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 9.0.3
Reporter: stanislav kaleta
Priority: Optional
Attachments: TestedProject.zip
When creating new XML Schema (XSD) Model by copying from existing model (see steps to
reproduce), action fails with error (and new empty schema) for some schemas (e.g. schemas
in attachement).
Error message:
Error attempting to load a Model Editor Page plugin
ID = org.teiid.designer.xsd.ui.editor.XsdSimpleDatatypesEditorPage@611ddac3
Exception Stack Trace:
...
Caused by: org.xml.sax.SAXParseException ... ... lineNumber: 1; columnNumber: 1;
Premature end of file.
I assume it might be something with line endings of Windows text files, because it
happened only for files originally created in Windows for me (However some schemas created
in Windows works properly).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)