Comments (2)
HI Michal
My current understanding is that:
- The maxOccurs =1 is incorrect on all the test cases. @CBenghi is getting this fixed as part of #192 I believe
These more complex cardinalities (such as "There should be 2 occurrences") are excluded from current v1 IDS. It's just Required, Prohibited and Optional. In fact there's a late change to make this much more explicit on Requirements (See #203)
I believe This table represents the mapping of valid min-maxOccurs and their mapping, which you could use in the interim.
- The intent is you check the instance/occurrence meets the requirement first. If it doesn't, then you fall back to check the requirement is met by any type that defines the instance. i.e. check the WallType from the Wall
In this case the check for Foo_Bar.Foo = "Bar" is satisfied by the Wall instance and the value on the WallType never needs to be checked. The prior test Properties can be inherited from the type 2/2 checks the alternate case when the type satisfies the requirement for the instance.
The 'All matching property [sets]...' tests are testing a the pattern constraint on properties, and in particular what happens when multiple properties meet some/all of the requirements (i.e. multiple property Sets matching 'Foo_.*' . That's a different feature being tested to overriding - when overriding a property from the type it's only a single property regardless of where it came from.
Hope that helps
from ids.
Thank you Andy, this helped a lot.
from ids.
Related Issues (20)
- IDS schema location HOT 5
- uri attribute in propertyType not available in applicability (0.9.7) HOT 4
- Documentation checks
- Remove sample that is checking wall types HOT 2
- XSD regular expression flavor HOT 5
- Remove the outdated "implementation agreement" comment lines from the schema HOT 4
- IDS Audit Tool: Wrong error message for Pset_FootCommon.LoadBearing and Pset_FurnitureTypeCommon.Reference HOT 4
- IDS 0.9.7 Update Issues? HOT 5
- Errors in IDS files for attribute facet
- Can you actually contain a distribution system in a building? HOT 2
- test case coverage
- ‘Prohibited’ testcases in ‘ids’ suite invalid according to latest logic HOT 1
- Clarification of testcase intent: partof\pass-an_optional_facet_always_passes_regardless_of_outcome_1_2 HOT 1
- Invalid string literal in material test case: fail-an_optional_material_fails_if_no_value_matches.ifc
- invalid PSET requirements
- Problem of understanding documentation regarding Facets. HOT 4
- Inconsistent ifcVersion in IDS testcases HOT 3
- interpretation of IDS strings to value types (xs:base types) HOT 1
- Classification System Parameter HOT 3
- Double enumeration value in ids.xsd HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ids.