0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AUTOSAR CountdownAdvent Calendar 2023

Day 14

AUTOSAR XML Schema Production Rules, AUTOSAR 122, R23-11, FO

Last updated at Posted at 2023-12-17

AUTOSARが、2023年の版、R23-11を公開しました。
https://www.autosar.org/fileadmin/standards/R23-11/FO/AUTOSAR_FO_TPS_XMLSchemaProductionRules.pdf

2023年文書公開後、Rの文字が抜けていたのを訂正したため、一部の記事でURLがリンク切れになっています。ごめんなさい。文書名にFO,CP,APの区分をつけるようになった点は更新点です。過去の文書を見る場合は、URLの年を変更するだけでなく文書によってはFO,CP, APを削除してみてください。

この文書は、20231217現在、検索すると古いURLをしめしてリンク切れになりました。なにしてくれちゃうとAUTOSAR。

R22-11
https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_TPS_XMLSchemaProductionRules.pdf

R21-11
https://www.autosar.org/fileadmin/standards/R21-11/FO/AUTOSAR_TPS_XMLSchemaProductionRules.pdf

R20-11
https://www.autosar.org/fileadmin/standards/R20-11/FO/AUTOSAR_TPS_XMLSchemaProductionRules.pdf

R20-11にCPからFOに移動しました。

R19-11
https://www.autosar.org/fileadmin/standards/R19-11/CP/AUTOSAR_TPS_XMLSchemaProductionRules.pdf

文書は検索してダウンロードできます。

各分類ごとのRelease Overviewはこちら。

Classic Platform Release Overview, AUTOSAR No.0 ,R23-11, CP
https://qiita.com/kaizen_nagoya/items/8468435185e109189ead

Foundation Release Overview, AUTOSAR 781, R23-11, FO
https://qiita.com/kaizen_nagoya/items/f249bdb8c313d8bff883

Adaptive Platform Release Overview, AUTOSAR 782, R23-11, AP
https://qiita.com/kaizen_nagoya/items/13a104606a34fe24fcf7

Abstract Platformとの関係

ARXMLとjson形式との変換方法も定義するとよい。 
複雑な入れ子構造を生成したり、矛盾が生じる構造を生成しないための方法を追記する。

<この項は書きかけです。順次追記します。>
This article is not completed. I will add some words in order.

文書変更(Document Change)

• Editorial changes

用語(terms)

Term Description
Applies to The meta-meta-model (UML2.0) element the rule applies to
Precondition The rule can only be applied if the precondition evaluates to true
Target pattern The target pattern describes how the respective meta-model element is mapped to XML schema. Values that need to be read out of the AUTOSAR meta-model are denoted by script tags "<%" and "%>": e.g.: <%=my variable %>.
Description The description explains the target pattern and how it can be parameterized.
UML example, XML schema example and XML instance example These examples illustrate the application of the rule.

参照(Reference)

[1] XML Schema 1.0
http://www.w3.org/TR/xmlschema-1
[2] Meta Model
AUTOSAR_MMOD_MetaModel
[3] XML Metadata Interchange (XMI) Specification version 2.1
http://www.omg.org/cgi-bin/apps/doc?formal/05-09-01.pdf

XML Metadata Interchange (XMI) Specification, Version 2.5.1
https://www.omg.org/spec/XMI/2.5.1/PDF

参考 
http://theo.cs.ovgu.de/lehre/lehre14s/modellierung/slides10.pdf

• XMI 1.1 corresponds to MOF 1.3
• XMI 1.2 corresponds to MOF 1.4
• XMI 1.3 (added schema support) corresponds to MOF 1.4
• XMI 2.0 (adds schema support and changes document format) corresponds to MOF 1.4
• XMI 2.1 corresponds to MOF 2.0
• XMI 2.4.1 corresponds to MOF 2.4.1

[4] XML Metadata Interchange (XMI) Specification version 1.2
http://www.omg.org/cgi-bin/apps/doc?formal/02-01-01.pdf
[5] Unified Modeling Language: Superstructure, Version 2.0, OMG Available Specification, ptc/05-07-04
http://www.omg.org/cgi-bin/apps/doc?formal/05-07-04

Unified Modeling Language: Superstructure, version 2.0 formal/05-07-04
https://www.omg.org/spec/UML/2.0/Superstructure/PDF

[6] Unified Modeling Language OCL, Version 2.0, OMG Available Specification, ptc/05-06-06
http://www.omg.org/cgi-bin/apps/doc?ptc/05-06-06.pdf
Object Constraint Language OMG Available Specification Version 2.0 formal/06-05-01
https://www.omg.org/spec/OCL/2.0/PDF
[7] ARXML Serialization Rules
AUTOSAR_TPS_ARXMLSerializationRules
[8] MSR-SW
http://www.msr-wg.de/medoc/download/msrsw/v230/msrsw_v230-eadocen/msrsw_v2_3_0.sl-eadoc.pdf
[9] XHTML
http://www.w3.org/TR/xhtml11/
[10] Generic Structure Template
AUTOSAR_TPS_GenericStructureTemplate
[11] Meta-Object Facility MOF, Version 2.0, OMG Available Specification, ptc/04-10-15
http://www.omg.org/cgi-bin/apps/doc?ptc/04-10-15.pdf

Meta Object Facility (MOF) Core Specification, OMG Available Specification Version 2.0, formal/06-01-01

Glossary も 参考に入れましょう。
https://www.autosar.org/fileadmin/standards/R23-11/FO/AUTOSAR_FO_TR_Glossary.pdf

補足資料(Additions)

2023 Countdown Calendar 主催・参加一覧
https://qiita.com/kaizen_nagoya/items/c4c2f08ac97f38d08543

CountDownCalendar月間 いいねをいただいた記事群 views 順
https://qiita.com/kaizen_nagoya/items/583c5cbc225dac23398a

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.

文書履歴(document history)

ver. 0.01 初稿  20231217

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?