rspec/rules/S3853/xml/rule.adoc

23 lines
391 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
Sharing naming conventions allows teams to collaborate efficiently. This rule checks that type names match a provided regular expression.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
With the default regular expression:
----
<xs:complexType name="fruit"> <!-- Noncompliant -->
...
</xs:complexType>
----
2021-04-28 16:49:39 +02:00
== Compliant Solution
----
<xs:complexType name="fruitType">
...
</xs:complexType>
----