buildingSMART / IDS

Computer interpretable (XML) standard to define Information Delivery Specifications for BIM (mainly used for IFC)
Other
167 stars 52 forks source link

uri attribute in propertyType not available in applicability (0.9.7) #251

Open NickNisbet opened 2 months ago

NickNisbet commented 2 months ago

There seems to be something wrong with ids.xsd 0.9.7 It does not accept uri=”” on the property facet.

XMLSPY reports: Attribute 'uri' is not allowed in element

CBenghi commented 2 months ago

The schema looks right to me:

<xs:extension base="ids:propertyType">
    <xs:attribute name="uri" type="xs:anyURI" use="optional"/>

Are you referencing the right xsd?

Just to be clear, the 'uri' attribute is only defined for properties in the requirement set, not for properties in the applicability. I wonder if this is a problem to work with bsDD and similar.

NickNisbet commented 2 months ago

Yes, the problem is that I have uri on Applicability facets, as this was allowed previously. Again, I think this is very strange choice to weaken the Applicability facets.

Nick.

MatthiasWeise commented 2 months ago

Agree with Nick, there is no reason to differentiate between Applicability and Requirement.

CBenghi commented 2 months ago

While I agree, the process to add this back into the schema seems to push us beyond the reasonable deadline for the next summit. I would suggest to add this to 1.1