|
99 | 99 | <xsl:variable name="coreAcceptableMediaTypesAliased" select="concat($coreAlias,'.AcceptableMediaTypes')" /> |
100 | 100 | <xsl:variable name="coreComputed" select="concat($coreNamespace,'.Computed')" /> |
101 | 101 | <xsl:variable name="coreComputedAliased" select="concat($coreAlias,'.Computed')" /> |
| 102 | + <xsl:variable name="coreComputedDefaultValue" select="concat($coreNamespace,'.ComputedDefaultValue')" /> |
| 103 | + <xsl:variable name="coreComputedDefaultValueAliased" select="concat($coreAlias,'.ComputedDefaultValue')" /> |
102 | 104 | <xsl:variable name="coreDefaultNamespace" select="concat($coreNamespace,'.DefaultNamespace')" /> |
103 | 105 | <xsl:variable name="coreDefaultNamespaceAliased" select="concat($coreAlias,'.DefaultNamespace')" /> |
104 | 106 | <xsl:variable name="coreDescription" select="concat($coreNamespace,'.Description')" /> |
|
1496 | 1498 | <xsl:variable name="computed" select="$structuredType/edm:Property[edm:Annotation[@Term=$coreComputed or @Term=$coreComputedAliased]]/@Name" /> |
1497 | 1499 | <xsl:variable name="computed-ext" select="(key('externalPropertyAnnotations',$qualifiedName)|key('externalPropertyAnnotations',$aliasQualifiedName)) |
1498 | 1500 | [edm:Annotation[@Term=$coreComputed or @Term=$coreComputedAliased]]/@Target" /> |
| 1501 | + <xsl:variable name="computeddefaultvalue" select="$structuredType/edm:Property[edm:Annotation[@Term=$coreComputedDefaultValue or @Term=$coreComputedDefaultValueAliased]]/@Name" /> |
| 1502 | + <xsl:variable name="computeddefaultvalue-ext" select="(key('externalPropertyAnnotations',$qualifiedName)|key('externalPropertyAnnotations',$aliasQualifiedName)) |
| 1503 | + [edm:Annotation[@Term=$coreComputedDefaultValue or @Term=$coreComputedDefaultValueAliased]]/@Target" /> |
1499 | 1504 |
|
1500 | 1505 | <xsl:variable name="immutable" select="$structuredType/edm:Property[edm:Annotation[@Term=$coreImmutable or @Term=$coreImmutableAliased]]/@Name" /> |
1501 | 1506 | <xsl:variable name="immutable-ext" select="(key('externalPropertyAnnotations',$qualifiedName)|key('externalPropertyAnnotations',$aliasQualifiedName)) |
|
1577 | 1582 | and not( |
1578 | 1583 | @Name = $read-only |
1579 | 1584 | or @Name = $computed |
| 1585 | + or @Name = $computeddefaultvalue |
1580 | 1586 | or concat($qualifiedName, '/', @Name) = $computed-ext |
1581 | 1587 | or concat($aliasQualifiedName, '/', @Name) = $computed-ext |
| 1588 | + or concat($qualifiedName, '/', @Name) = $computeddefaultvalue-ext |
| 1589 | + or concat($aliasQualifiedName, '/', @Name) = $computeddefaultvalue-ext |
1582 | 1590 | ) |
1583 | 1591 | ) |
1584 | 1592 | or concat($qualifiedName, '/', @Name) = $mandatory |
|
0 commit comments