Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#49 closed defect (released)

Resolve namespace issues

Reported by: ibboard Owned by: ibboard
Priority: blocker Milestone: WarFoundry 0.1
Component: WarFoundry-API Version:
Keywords: Cc:
Blocked By: Blocking:

Description

Following the move to schemas and namespaces we've had some problems with XPath and we now appear to have some problems with namespaces on attributes. The XML file loading should be checked and fixed so that all attributes are correctly loaded now that the namespaces are in place.

Change History (8)

comment:1 Changed 11 years ago by ibboard

(In r78) Re #49 - Resolve namespace issues

  • Fix up some XPath queries
  • Remove one unnecessary namespace
  • Check local name of elements, not name (which is qualified)
  • Add method to get double value from an attribute including handling INF
  • Remove min/max for equipment item as it is now moved to the UnitType's reference to the equipment item

comment:2 Changed 11 years ago by ibboard

r78 also added "nonNegativeOrInfiniteIntegerOrRatio" type to Core schema that allows for units to say "unlimited", "max 5" or "max 33%" for equipment items, but I hit "commit" instead of "cancel".

comment:3 Changed 11 years ago by ibboard

Status: newaccepted

comment:4 Changed 11 years ago by ibboard

All properties seem to be working without namespace issues. Problems of zero-sized units appear to have been because of problems with the ordering of min/max size setting and checks to ensure the minimum size is less than or equal the maximum size.

comment:5 Changed 11 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

comment:6 Changed 10 years ago by ibboard

released: 1

Mark released changes as released

comment:7 Changed 10 years ago by ibboard

released: 1yes

Mark released fixes as released using radio values

comment:8 Changed 10 years ago by ibboard

Resolution: fixedreleased

Mark fix as released under a previous version

Note: See TracTickets for help on using tickets.