Opened 14 years ago

Closed 6 years ago

#718 closed defect (fixed)

XML: Errors at VeryLow level

Reported by: brentrobinson Owned by: brentrobinson
Priority: major Milestone: 3.6.0
Component: FDO API Version: 3.6.0
Severity: 3 Keywords: XML read exceptions error level VeryLow
Cc: External ID:

Description

When a feature schema is read from an XML file, at the VeryLow ErrorLevel setting, the following situations result in the read failing with exceptions:

  • class definition has a base class that does not exist
  • an association property has a associated class that does not exist.

The VeryLow error level is intended to do a best effort read so it should just skip elements in error and successful read the other elements.

Change History (3)

comment:1 by brentrobinson, 14 years ago

Status: newassigned

comment:2 by brentrobinson, 14 years ago

Revision: 5786 Author: brentrobinson Date: 11:35:48 AM, Tuesday, November 02, 2010 Message: Ticket#718: Read Xml Schema: When ErrorLevel is VeryLow:

  • Skip association properties with non-existent associated classes.
  • Skip base class relationships where base class does not exist.

Also fixed problem where descriptions for skipped classes and properties got assigned to feature schemas.


Modified : /trunk/Fdo/Unmanaged/Inc/Fdo/Schema/SchemaElement.h Modified : /trunk/Fdo/Unmanaged/Src/Fdo/Schema/FeatureSchema.cpp Modified : /trunk/Fdo/Unmanaged/Src/Fdo/Schema/MergeContext.cpp Modified : /trunk/Fdo/Unmanaged/Src/Fdo/Schema/XmlContext.cpp

comment:3 by jng, 6 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.