-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apply-path takes a quoted string #22
Comments
That's just a fail-safe. Some
<xsd:element name="name">
<xsd:annotation>
<xsd:documentation>Routing instance name</xsd:documentation>
<xsd:appinfo>
<flag>mustquote</flag>
<flag>identifier</flag>
<flag>nokeyword</flag>
<flag>current-product-support</flag>
<regex-match deprecate="deprecate">!^((__.*__)|(all)|(.*[ ].*)|("")|(.{129,}))$</regex-match>
<regex-match-error deprecate="deprecate">Must be a non-reserved string of 128 characters or less with no spaces.</regex-match-error>
<match>
<pattern>!^((__.*__)|(all)|(.*[ ].*)|("")|(.{129,}))$</pattern>
<message>Must be a non-reserved string of 128 characters or less with no spaces.</message>
</match>
<identifier/>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="key" type="xsd:string" fixed="key"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<!-- </name> --> Generally speaking, single-word should always be safe while "quoted strings" shouldn't. I know |
Hey!
With the latest master, I still have issues with apply-path:
Generated parser is:
Last
arg
could be replaced byquote
.XML says:
To me, it seems when we have an
xsd:string
, we should usequote | arg
. Inruler.rb
, all occurrences ofquote | arg
seems to be special case. I am fine by addingapply-path
to the list, but out of curiosity, why not always usequote | arg
?The text was updated successfully, but these errors were encountered: