-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature/epo 733 #147
Feature/epo 733 #147
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's roll
<xd:doc> | ||
<xd:desc>Checks regex for prefix</xd:desc> | ||
<xd:param name="element"/> | ||
<xd:param name="name"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice rename
<xsl:param name="element"/> | ||
<xsl:variable name="localSegment" select="f:getLocalSegmentForElements($element)"/> | ||
<xsl:param name="name"/> | ||
<xsl:variable name="localSegment" select="f:getLocalSegment($name)"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice refactoring
<xsl:param name="tagName"/> | ||
<xsl:sequence | ||
select=" | ||
if (fn:matches($tagName, '^(:\w+|[a-z][-a-z0-9]*:[-a-zA-Z0-9_@]+)$')) then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ummm, ce aveam in minte e ca se aplica toate checkerele de nume la tag:name.
</xsl:call-template> | ||
<xsl:call-template name="co-missingNamePrefix"> | ||
<xsl:with-param name="connector" select="."/> | ||
</xsl:call-template> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we can leverage the power of select=".".
We don't need to, but I see this as a convenient and powerful mechanism that you implemented.
So lower level logic can be unified and the variations handled at this level.
[connectors-with-same-name-multiplicity-68] | ||
[connectors-with-same-name-definition-69] | ||
[connectors-with-same-name-definition-70]</xd:desc> | ||
[connectors-with-same-name-multiplicity-1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope you follow a consistent logic with this numbering, also in teh worksheet
No description provided.