Opened 13 years ago

Closed 13 years ago

#1662 closed defect (fixed)

Maestro 3 - Cannot Save .LayerDefinition in XML Mode

Reported by: crispinatime Owned by: jng
Priority: high Milestone: Maestro-3.0
Component: Maestro Version:
Severity: major Keywords:
Cc: External ID:

Description

When editing a layer definition in manual XML mode and clicking the 'Save' icon an exception is thrown:

XmlSchemaValidationException 'ExtendedDataType' is not declared

(previous Maestro also had a "Help/Last Exception" menu that allowed you to copy the complete stack-trace)

Attachments (1)

LayerDefinition_XML.txt (1.5 KB ) - added by crispinatime 13 years ago.
Sample LayerDefinition Saving in full editor but not in XML editor

Download all attachments as: .zip

Change History (3)

comment:1 by jng, 13 years ago

Can you attach a file containing the XML content? Trac messes up the XML if you paste inline.

by crispinatime, 13 years ago

Attachment: LayerDefinition_XML.txt added

Sample LayerDefinition Saving in full editor but not in XML editor

comment:2 by jng, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r5699. The problem was that the LayerDefinition xsd had its own dependency chain of xsds which weren't being loaded and fed to the XML validator causing the breakdown that you described. The fix was to load in the extra xsd dependencies if we have determined the resource type and version from the xml content.

Note: See TracTickets for help on using tickets.