JIS X 0138-3:2004 CASEデータ交換形式-CDIF転送形式-第3部:符号化ENCODING.1 | ページ 4

                                                                                             13
X 0138-3 : 2004 (ISO/IEC 15475-3 : 2002)
附属書A(規定)ENCODING.1 形式文法
ここ附属書では,符号化の生成規則を規定する。規則の中には,7. で出現したものもある。BNF単独
でENCODING.1を完全に規定しているわけではない。追加の定義及び制約は, 6. 及び 7. に示す。
欧文アルファベットでは<GeneralPrintableChar>, <UpperCaseAlphabeticChar> 及び
<UpperOrLowerCaseAlphabeticChar>の符号化において大文字と小文字とを区別し,それ以外では区別しな
い。
符号化規則を次に示す。
<Absolute> ::= ABSOLUTE
<AbsoluteUTC> ::= ABSOLUTEUTC
<AbsoluteLocal> ::= ABSOLUTELOCAL
<BinaryDigit> ::= 0 | 1
<BinaryNumber> ::= [ <Sign> ] <BinaryDigit> ...
<BinaryRadix> ::= #B
<BinaryValue> ::= <BinaryRadix> <BinaryNumber>
<BitmapKeyword> ::= :BITMAP
<CloseComment> ::= |#
<CloseScope> ::= )
<CloseText> ::= ]#
<Comment> ::= <OpenComment> <CommentBody> <CloseComment>
<CommentBody> ::= [ <CommentBodyChar> ] ... [ | ]
<CommentBodyChar> ::= <WhiteSpace>
| <GeneralPrintableChar>
| "
| ]
| #
| <EscapeCharacter> <CloseComment>
| <EscapeCharacter> <EscapeCharacter>
| | <CommentBodyCharExcludingHashSign>
<CommentBodyCharExcludingHashSign> ::=
<WhiteSpace>
| <GeneralPrintableChar>
| "
| ]
| <EscapeCharacter> <CloseComment>
| <EscapeCharacter> <EscapeCharacter>
| | <CommentBodyCharExcludingHashSign>
<Date> ::= <YearValue> <DateDelimiter>
<MonthValue> <DateDelimiter>

――――― [JIS X 0138-3 pdf 16] ―――――

14
X 0138-3 : 2004 (ISO/IEC 15475-3 : 2002)
<DayValue>
<DateKeyword> ::= :DATE
<DateDelimiter> ::= /
<DayValue> ::= <Integer>
<DecimalIntegerValue> ::= <DecimalRadix> <Integer>
<DecimalPoint> ::= .
<DecimalRadix> ::= #D
<Digit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
<Dot> ::= .
<EnumeratedSeparator> ::= ,
<EnumeratedValue> ::= < <MultibyteIdentifier> >
<EscapeCharacter> ::=
<Exp> ::= E
<Exponent> ::= <Exp> <Integer>
<ExtendMetaAttributeKeyword> ::=
:EXTENDMETA-ATTRIBUTE
<FalseValue> ::= -FALSE-
<FloatDesignator> ::= #F
<FloatValue> ::= <FloatDesignator> <Mantissa> <Exponent>
<GeneralPrintableChar> ::= !! Printable characters defined in the character set specified
by the Transfer Header, excluding '', '"', ']', '|' and '#'.
!! Note The characters , ", ], |, and # have been purposely left out
of <GeneralPrintableChar> because is used as an escape
character and the others are used as or in delimiters.
参考 <GeneralPrintableChar>は,転送ヘッダで指定した文字集合で規定する印字可能な文字である。
ただし,'','"', ']','|'及び'#'を除く。''は退避文字として利用し,'"', ']','|'及び'#'は区切り記号と
して利用するため,'','"', ']','|'及び'#'を<GeneralPrintableChar>から除く。
<HeaderKeyword> ::= :HEADER
<HeightKeyword> ::= :HEIGHT
<HexaDecimalValue> ::= <HexRadix> <HexNumber>
<HexDigit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
| A | B | C | D | E | F
| a | b | c | d | e | f
<HexNumber> ::= [ <Sign> ] <HexDigit> ...
<HexRadix> ::= #H
<Hours> ::= <Integer>
<Hyphen> ::= -
<Identifier> ::= [{ <UpperOrLowerCaseAlphabeticChar>
| <Digit>}]

――――― [JIS X 0138-3 pdf 17] ―――――

                                                                                             15
X 0138-3 : 2004 (ISO/IEC 15475-3 : 2002)
[ <UpperOrLowerCaseAlphabeticChar>
| <Digit> | <UnderScore>
| <Hyphen> ] ...
<IdentifierValue> ::= * <MultibyteIdentifier> *
<Integer> ::= [ <Sign> ] <Digit> ...
<IntegerListKeyword> ::= :INTEGERLIST
<ListSeparator> ::= ,
<LowerCaseAlphabeticChar> ::= a | b | c | d | e | f | g | h | i | j | k
| l | m | n | o | p | q | r | s | t | u
| v | w | x | y | z
<Mantissa> ::= [ <Sign> ] <Digit> ...
[ <DecimalPoint> [ <Digit> ... ] ]
<MetaModelKeyword> ::= :META-MODEL
<MetaMetaObjectName> ::= <UpperCaseAlphabeticChar>
[ <UpperOrLowerCaseAlphabeticChar> ] ...
<MetaObjectName> ::= <MultibyteIdentifier>
<Minutes> ::= <Integer>
<ModelKeyword> ::= :MODEL
<MonthValue> ::= <Integer>
<MultibyteIdentifier> ::= <MultibyteIdentifierChar> ...
<MultibyteIdentifierChar> ::= !! Printable characters defined in the character set specified
by the Transfer Header, excluding '', '"','[', ']', '|', '#',
'<', '>', '*', ':','+', '-','(', ')',',','.',and space.
<OctalDigit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
<OctalNumber> ::= [ <Sign> ] <OctalDigit> ...
<OctalRadix> ::= #O
<OctalValue> ::= <OctalRadix> <OctalNumber>
<OpenComment> ::= #|
<OpenScope> ::= (
<OpenText> ::= #[
<OtherChar> ::= <EscapeCharacter> <HexaDecimalValue> <EscapeCharacter>
<PixelIntensity> ::= 0 .. 255
<PixelSeparator> ::= ,
<PointKeyword> ::= :POINT
<PointListKeyword> ::= :POINTLIST
<PointSeparator> ::= <Space>
<PositiveInteger> ::= [ + ] <Digit> ...
<RelativeNegative> ::= RELATIVENEGATIVE
<RelativePositive> ::= RELATIVEPOSITIVE
<Seconds> ::= <Integer>

――――― [JIS X 0138-3 pdf 18] ―――――

16
X 0138-3 : 2004 (ISO/IEC 15475-3 : 2002)
[ <DecimalPoint> <Digit>
[<Digit> [ <Digit> ] ] ]
<Sign> ::= + | -
<Space> ::= !! Space character as defined in the character set specified by
the Transfer Header.
<String> ::= <StringDelimiter> [ <StringElement> ] ...
<StringDelimiter>
<StringDelimiter> ::= "
<StringElement> ::= <GeneralPrintableChar>
| ]
| |
| #
| <EscapeCharacter> <StringDelimiter>
| <EscapeCharacter> <EscapeCharacter>
<SubjectAreaReferenceKeyword> ::=
:SUBJECTAREAREFERENCE
<SummaryKeyword> ::= :SUMMARY
<TextElement> ::= <GeneralPrintableChar>
| "
| |
| #
| <WhiteSpace>
| <EscapeCharacter> <CloseText>
| <EscapeCharacter> <EscapeCharacter>
| ] <TextElementExcludingHashSign>
| <OtherChar>
<TextElementExcludingHashSign> ::=
<GeneralPrintableChar>
| "
| |
| <WhiteSpace>
| <EscapeCharacter> <CloseText>
| <EscapeCharacter> <EscapeCharacter>
| ] <TextElementExcludingHashSign>
| <OtherChar>
<TextString> ::= <OpenText> [ <TextElement> ] ... [ ] ]
<CloseText>
<Time> ::= <Hours> <TimeDelimiter>
<Minutes> <TimeDelimiter>
<Seconds>

――――― [JIS X 0138-3 pdf 19] ―――――

                                                                                             17
X 0138-3 : 2004 (ISO/IEC 15475-3 : 2002)
<TimeKeyword> ::= :TIME
<TimeDelimiter> ::= :
<TrueValue> ::= -TRUE-
<UnderScore> ::=
<UpperCaseAlphabeticChar> ::= A | B | C | D | E | F | G | H | I | J | K
| L | M | N | O | P | Q | R | S | T | U
| V | W | X | Y | Z
<UpperOrLowerCaseAlphabeticChar> ::=
<UpperCaseAlphabeticChar>
| <LowerCaseAlphabeticChar>
<VersionNumberKeyword> ::= :VERSIONNUMBER
<WhiteSpace> ::= !! Space, horizontal tab, vertical tab, carriage return, line
feed or form feed character as defined in the character set
specified by the Transfer Header.
<WidthKeyword> ::= :WIDTH
<YearValue> ::= <Integer>

――――― [JIS X 0138-3 pdf 20] ―――――

次のページ PDF 21

JIS X 0138-3:2004の引用国際規格 ISO 一覧

  • ISO/IEC 15475-3:2002(IDT)

JIS X 0138-3:2004の国際規格 ICS 分類一覧

JIS X 0138-3:2004の関連規格と引用規格一覧

規格番号
規格名称