equal
deleted
inserted
replaced
725 errorMsg = QtXmlPatterns::tr("Value constraint of derived attribute %1 does not match value constraint of base attribute.").arg(formatAttribute(derivedAttributeUse->attribute()->displayName(namePool))); |
725 errorMsg = QtXmlPatterns::tr("Value constraint of derived attribute %1 does not match value constraint of base attribute.").arg(formatAttribute(derivedAttributeUse->attribute()->displayName(namePool))); |
726 return false; |
726 return false; |
727 } |
727 } |
728 } else { |
728 } else { |
729 if (!wildcard) { |
729 if (!wildcard) { |
730 errorMsg = QtXmlPatterns::tr("Derived attribute %1 does not exists in the base definition.").arg(formatAttribute(derivedAttributeUse->attribute()->displayName(namePool))); |
730 errorMsg = QtXmlPatterns::tr("Derived attribute %1 does not exist in the base definition.").arg(formatAttribute(derivedAttributeUse->attribute()->displayName(namePool))); |
731 return false; |
731 return false; |
732 } |
732 } |
733 |
733 |
734 QXmlName name = derivedAttributeUse->attribute()->name(namePool); |
734 QXmlName name = derivedAttributeUse->attribute()->name(namePool); |
735 |
735 |