Skip to content
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

Merged
merged 6 commits into from
Apr 27, 2023
Merged

Feature/epo 733 #147

merged 6 commits into from
Apr 27, 2023

Conversation

Dragos0000
Copy link
Collaborator

No description provided.

@Dragos0000 Dragos0000 requested a review from costezki April 25, 2023 19:47
Copy link
Collaborator

@costezki costezki left a 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"/>
Copy link
Collaborator

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)"/>
Copy link
Collaborator

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
Copy link
Collaborator

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>
Copy link
Collaborator

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]
Copy link
Collaborator

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

@Dragos0000 Dragos0000 merged commit 709860d into master Apr 27, 2023
@Dragos0000 Dragos0000 deleted the feature/EPO-733 branch April 27, 2023 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants