0

Is it fine to use special characters in xbrl context IDs? If not, could anyone throw some light on the characters that can be used? I went through the xbrl 2.1 specification(section 4.7.1 regarding the id attribute), but im not able to understand what characters are allowed. In some example XBRLs, the special characters were omitted. I'm using certain domain member values for forming context names, so I'm not sure if I should omit special characters or if I should retain them. Appreciate any help.

4

1 に答える 1

1

ID 属性の内容は、ID タイプの属性の XML 規則に準拠する必要があります。http://www.w3.org/TR/REC-xml/#NT-Nameによると、次のいずれかの文字で始まる必要があります。

  • ":"
  • [AZ] の範囲内の任意の文字
  • "_" 範囲 [az] 内の任意の文字
  • [#xC0-#xD6] の範囲の任意の文字
  • [#xD8-#xF6] の範囲内の任意の文字
  • [#xF8-#x2FF] の範囲の任意の文字
  • [#x370-#x37D] の範囲内の任意の文字
  • [#x37F-#x1FFF] の範囲内の任意の文字
  • [#x200C-#x200D] の範囲内の任意の文字
  • [#x2070-#x218F] の範囲内の任意の文字
  • [#x2C00-#x2FEF] の範囲内の任意の文字
  • [#x3001-#xD7FF] の範囲内の任意の文字
  • [#xF900-#xFDCF] の範囲内の任意の文字
  • [#xFDF0-#xFFFD] の範囲内の任意の文字
  • [#x10000-#xEFFFF] の範囲内の任意の文字

名前のその他の文字は、上記のリストの任意の文字、またはさらに次のいずれかの文字にすることができます。

  • 「-」
  • 「。」
  • [0-9] の範囲の任意の文字
  • #xB7
  • [#x0300-#x036F] の範囲内の任意の文字
  • [#x203F-#x2040] の範囲内の任意の文字
于 2014-12-08T14:00:53.253 に答える