You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the type is not recognized by the parser,
the component shall be ignored.
(Parsers are permitted to support additional types
as a conforming extension.)
From the spec on component.name.location:
This attribute is required for |component|\ s
that are not of :string:`"interface"` :attribute:`type`.
Do you think this is an intentional interaction? I am working on adding tests to our parser. Maybe location should be required on a closed set of specific types instead of the open set excluding interface?
The text was updated successfully, but these errors were encountered:
mwoehlke
added
the
documentation
This issue describes a problem which can be addressed by documentation rather than a schema change.
label
Mar 18, 2024
I'm going to claim that the intended meaning is defined component types. That is, more generally, the specification says nothing about the other attributes of a non-defined component type.
If a wording change is desired, it probably makes more sense to clarify in the first quoted paragraph (i.e. at type).
From the spec on component.name.type:
From the spec on component.name.location:
Do you think this is an intentional interaction? I am working on adding tests to our parser. Maybe
location
should be required on a closed set of specific types instead of the open set excludinginterface
?The text was updated successfully, but these errors were encountered: