Talk:Dev:Semantic Constraints: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
(Created page with "==Diskussion März 2020== Ausgangsfrage: Was ist eine Semcon und was nicht. ;Fragen: *Definition **Vorschlag:<br>Eine Semantic Constraint ist eine Restriktion, die (von wem?)...")
 
(Translated with www.DeepL.com/Translator (free version))
Line 1: Line 1:
==Diskussion März 2020==
==Discussion March 2020==
Ausgangsfrage: Was ist eine Semcon und was nicht.
Initial question: what are semcons and what are no semcons?


;Fragen:
;Questions:
*Definition
*Definition
**Vorschlag:<br>Eine Semantic Constraint ist eine Restriktion, die (von wem?) eingehalten werden muss, die jedoch nicht im XSD implementiert ist.
**Suggestion: <br>A semantic constraint is a constraint that has to be satified (by whom?) without being implemented within the XSD.
**Was fällt sicher darunter?
**What is obviously a semcon?
**Was fällt sicher ''nicht'' darunter?
**What is obviously not a semcon?
***Elementsemantik und Attributsemantik – sonst wäre jede Elementsemantik und Attributsemantik eine Semcon (obwohl es potentiell gefährlich ist, unter {{Tag|RS|vehicle|@=nettoWeight}} das Eigengewicht unterzubringen und unter {{Tag|RS|vehicle|@=tareWeight}} die Ladekapazität).
***Element semantics and attribute semantics - otherwise every element semantics and attribute semantics would be a semcon (although it is potentially dangerous to put the dead weight under {{Tag|RS|vehicle|@=nettoWeight}} and the load capacity under {{Tag|RS|vehicle|@=tareWeight}}).
**Vgl. [https://stackoverflow.com/questions/10231919/what-does-semantic-constraints-mean-regarding-software-testing]→[http://ix.cs.uoregon.edu/~michal/book/free.php]
**Cf. [https://stackoverflow.com/questions/10231919/what-does-semantic-constraints-mean-regarding-software-testing]→[http://ix.cs.uoregon.edu/~michal/book/free.php]
*Ziele
*Goals
**Sicherheit?
**Security?
**Interoperabilität?
**Interoperability?
*Gelten sie für den Entwickler oder für den User?
**Do they apply to the developer or the user?
*Wer kann die Einhaltung kontrollieren/gewährleisten?
**Who can control/guarantee compliance?
*Gestaltung
*Design
**Recycling verworfener Nummern erlauben/verbieten?
**Allow/deny the recycling of discarded numbers?


;Gestaltungsrichtlinien
;Design guidelines
*Verwendung der Vorlage mit allen Pflichtparametern
*Use the template with all mandatory parameters
*Hinterlegung auf [[Dev:Semantic_Constraints/table]]
*Record on [[Dev:Semantic_Constraints/table]]
*Nummerierung entsprechend [[Dev:Semantic_Constraints/table]]
*numbering according to [[Dev:Semantic_Constraints/table]]

Revision as of 12:05, 30 March 2020

Discussion March 2020

Initial question: what are semcons and what are no semcons?

Questions
  • Definition
    • Suggestion:
      A semantic constraint is a constraint that has to be satified (by whom?) without being implemented within the XSD.
    • What is obviously a semcon?
    • What is obviously not a semcon?
      • Element semantics and attribute semantics - otherwise every element semantics and attribute semantics would be a semcon (although it is potentially dangerous to put the dead weight under <vehicle>@nettoWeight and the load capacity under <vehicle>@tareWeight).
    • Cf. [1][2]
  • Goals
    • Security?
    • Interoperability?
    • Do they apply to the developer or the user?
    • Who can control/guarantee compliance?
  • Design
    • Allow/deny the recycling of discarded numbers?
Design guidelines