Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2670

Copying XML Schema Model problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Optional
    • None
    • 9.0.3
    • None
    • None
    • Hide
      1. Import attached project
      2. Right-click on project and select New > Teiid Metadata Model
      3. Set new name and select "XML Schema (XSD)" Model Class, "Datatype" Model Type, Module Builder: "Copy from existing model of the same model class" and click Next >
      4. browse for existing: <ImportedProjectName>/notWorking.xsd (or notWorking2.xsd) and click OK and Finish
      Show
      Import attached project Right-click on project and select New > Teiid Metadata Model Set new name and select "XML Schema (XSD)" Model Class, "Datatype" Model Type, Module Builder: "Copy from existing model of the same model class" and click Next > browse for existing: <ImportedProjectName>/notWorking.xsd (or notWorking2.xsd) and click OK and Finish

    Description

      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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            skaleta@redhat.com Stanislav Kaleta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: