GB/T 29810-2013 信息技术 学习、教育和培训 测试试题信息模型XML绑定规范

GB/T 29810-2013 Information technology—Learning,education and training—Test and question information model XML binding specification

国家标准 中文简体 现行 页数:73页 | 格式:PDF

基本信息

标准号
GB/T 29810-2013
相关服务
标准类型
国家标准
标准状态
现行
中国标准分类号(CCS)
国际标准分类号(ICS)
发布日期
2013-11-12
实施日期
2014-05-01
发布单位/组织
中华人民共和国国家质量监督检验检疫总局、中国国家标准化管理委员会
归口单位
全国信息技术标准化技术委员会(SAC/TC 28)
适用范围
本标准规定了GB/T 29802—2013 《信息技术学习、教育和培训测试试题信息模型》的XML编码方法。
本标准适用于信息技术 学习、教育和培训领域对用XML文档绑定测试试题信息模型的方法进行规范性描述。

研制信息

起草单位:
华中科技大学、华中师范大学、中国电子技术标准化研究院
起草人:
吴砥、程文青、李小侠、魏晓光、彭娴、冯颖、余云涛
出版信息:
页数:73页 | 字数:131 千字 | 开本: 大16开

内容描述

ICS35.240.99,_____

67

中华人民共和国国彖标准

GB/T29810—2013

信息技术学习、教育和培训

测试试题信息模型XML绑定规范

Informationtechnology——Learning,educationandtraining——

Testandquestioninformationmodel

XMLbindingspecification

2013-11-12发布2014-05-01实施

GB/T29810—2013

目次

前言m

引言N

1范围1

2规范性引用文件1

3缩略语1

4数据类型1

5XML绑定数据元素2

6XMLSchema64

参考文献69

T

GB/T29810—2013

■ir■■i

刖吕

本标准按照GB/T1.1—2009给出的规则起草。

请注意本文件的某些内容可能涉及专利。本文件的发布机构不承担识别这些专利的结构。

本标准由全国信息技术标准化技术委员会(SAC/TC28)提出并归口。

本标准起草单位:华中科技大学、华中师范大学、中国电子技术标准化研究。

本标准主要起草人:吴砥、程文青、李小侠、魏晓光、彭娴、冯颖、余云涛。

m

GB/T29810—2013

引言

本标准为测试试题信息模型提供了XML绑定,用以定义测试试题信息模型的XML编码方法。

本标准使用GB/T18793-2002《信息技术可扩展置标语言(XML)1.0》来描述关于测试试题信

息模型的XML绑定规范。

IV

GB/T29810—2013

信息技术学习、教育和培训

测试试题信息模型XML绑定规范

1范围

本标准规定了GB/T29802—2013《信息技术学习、教育和培训测试试题信息模型》的XML

编码方法。

本标准适用于信息技术学习、教育和培训领域对用XML文档绑定测试试题信息模型的方法进行

规范性描述。

2规范性引用文件

下列文件对于本文件的应用是必不可少的。凡是注日期的应用文件,仅注日期的版本适用于本文

件。凡是不注日期的引用文件,其最新版本(包括所有的修改单)适用于本文件。

GB/T1988—1998信息技术信息交换用七位编码字符集

GB/T2659—2000世界各国和地区名称代码

GB/T4880.1—2005语种名称代码第1部分:2字码代码

GB/T7408—2005数据元和交换格式信息交换日期和时间表示法(IS8601:2000,IDT)

GB/T29802—2013信息技术学习、教育和培训测试试题信息模型

3缩略语

下列缩略语适用于本文件。

MathML:数学置标语言(malhcmaticalmarkuplanguage)

XHTML:可扩展超文本置标语言(extensiblehyperTextmarkuplanguage)

XML:可扩展置标语言(extensiblemarkuplanguage)

4数据类型

本标准规定的数据类型如下:

通用资源标识符anyURI

uri格式中的字符串[1—1024]。例值如:"http://www.example,com/images/icon.gif","mailto:

user©example,com"。

逻辑数据类型boolean

用于规定true或false值,所定义的合法字符为:“true"、“false"

日期date

遵循GB/T7408-2005定义的日历日期表示法,本标准中只有扩展的日历格式被支持(以连字符

作分隔符),且所有的日期组件须详细指定,日期类型的值空间不包含时区信息或扩展形式(负日期或超

过9999的日期)。例值如:“2006-03-22”。

日期时间dateTime

遵循GB/T7408-2005定义的日期和日的时间的组合完全表示法,扩展类型不可用。例值如:

1

GB/T29810—2013

“26-O3-22T12:33:25TZ",“26-O3-O22T12:33:25+O1:”。

浮点型变量float

float默认的取值范围对应XML模式中double类型的范围,而并非float类型的。例值如:“1”,

“3.14”,“3E+08”。

整型变量integer

前面无“一”号时为正,有“一”号时为负,例值如:“1”,“一4”。

语种language

形式为语言编码子编码],语言编码是对不同语言的编码,由GB/T4880.1-2005定义,子编

码(可以出现任意多次)是对国家的编码,由GB/T2659—2000定义,例值如:“en-US”,“en-GB”。

短字符串string

由GB/T1988—1998定义的字符序列组成。

5XML绑定数据元素

本标准定义的测试试题信息模型XML绑定数据元素如下。

〈a〉兀素

描述:由XHTML定义,用于定义锚。

参考:

flow.ElementGroup

flowStatic.ElementGroup

inline.ElementGroup

inlineStatic.ElementGroup

objectFlow.ElementGroup

属性:〈a〉的属性及属性数据类型和约束如表1所示。

表1〈a〉的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstring0

langlanguage0

labelstring0

hrefstringM

注:“约束”栏中“0”表示“可选”;“M”表示“必备”。下同。

<abbr)元素

描述:由XHTML定义,用于表示一个缩写形式。

参考:

flow.ElementGroup

flowStatic.ElementGroup

inline.ElementGroup

inlineStatic.ElementGroup

objectFlow.ElementGroup

属性:<abbr>的属性及属性数据类型和约束如表2所示。

2

GB/T29810—2013

表2<abbr>的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstring0

langlanguage0

labelstring0

<acronym〉元素

描述:由XHTML定义,用于定义只取首字母缩写。

参考:

flow.ElementGroup

flowStatic.ElementGroup

inline.ElementGroup

inlineStatic.ElementGroup

objectFlow.ElementGroup

属性:<acronym〉的属性及属性数据类型和约束如表3所示。

表3<acronym)的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstring0

langlanguage0

labelstring0

<adaptive〉元素

描述:对自适应试题的特征作标志性描述。

频度:

在<contentProfile>中出现1次

<address〉元素

描述:由XHTML定义,用于定义一个地址(比如电子邮件地址)。

参考:

block.ElementGroup

blockStatic.ElementGroup

flow.ElementGroup

flowStatic.ElementGroup

objectFlow.ElementGroup

属性:(address)的属性及属性数据类型和约束如表4所示。

表4〈address〉的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstring0

langlanguage0

labelstring0

3

GB/T29810—2013

〈and〉元素

描述:执行布尔型"and"的表达式。

参考:

expression.ElementGroup

〈anyN〉元素

描述:测试一组布尔型子表达式的表达式。

参考:

expression.ElementGroup

属性:<anyN>的属性及属性数据类型和约束如表5所示。

表5<anyN>的属性及属性数据类型和约束信息列表

属性名称数据类型约束

minintegerM

maxintegerM

<areaMapEntry〉元素

描述:定义将点集合映射到单个实数上的区域。

频度:

在<areaMapping>中出现1次或多次

属性:<areaMapEntry)的属性及属性数据类型和约束如表6所示。

表6〈areaMapEntry〉的属性及属性数据类型和约束信息列表

属性名称数据类型约束

mappedValuefloatM

<areaMapping〉元素

描述:定义一个利用区域从点集合到实数的映射。

频度:

在〈responseDeclaration〉中出现0次或1次

属性:<areaMapping>的属性及属性数据类型和约束如表7所示。

表7<areaMapping>的属性及属性数据类型和约束信息列表

属性名称数据类型约束

lowerBoundfloat0

upperBoundfloat0

defaultValuefloatM

兀素:areaMapEntry0

<assessmentitem)元素

描述:测试试题的根元素。

背景:可以作为XML文档的根元素。

属性:<assessmentitem)的属性及属性数据类型和约束如表8所示。

4

GB/T29810—2013

表8<assessmentitem〉的属性及属性数据类型和约束信息列表

属性名称数据类型约束

identifierstringM

titlestringM

labelstring0

langlanguage0

adaptivebooleanM

timeDependentbooleanM

toolNamestring0

toolVersionstring0

元素:responseDcclaration,outcomeDeclaration,templateDcclaration,templatcProcessing,stylesheet,

itemBody,responscProcessing,modalFeedbacko

associableChoice.ElementGroup元素组

描述:被用在association-type交互中的一组元素。

背景:无应用。

组成员:associableHotspot,gap,gaplmg,gapText,simpleAssociableChoice0

<associableHotspot)元素

描述:为图形的相关任务定义热区的元素。

频度:

在<graphicAssociateinteraction)中出现1次或多次

在〈graphicGapMatchlnteraclion〉中出现1次或多次

属性:<associableHotspot)的属性及属性数据类型和约束如表9所示。

表9〈associableHotspot〉的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstring0

langlanguage0

labelstring0

identifierstringM

fixedboolean0

hotspotLabelstring0

matchMaxintegerM

〈associateinteraction〉元素

描述:应考者应从一个选项集中识别岀正确的选项对的交互。

参考:

block.ElementGroup

flow.ElementGroup

objectFlow.ElementGroup

GB/T29810—2013

属性:(associateinteraction)的属性及属性数据类型和约束如表10所示。

表10〈assoc诒telnteraction〉的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstring0

langlanguage0

labelstring0

responseidentifierstringM

shufflebooleanM

maxAssociationintegerM

元素:prompt,simpleAssociableChoiceo

atomicBlock.ElementGroup元素组

描述:提供只包含跨文本行为结构的一组元素。

组成员:address9hl,h2,h3,h4,h5,h6,p,pre。

参考:

block.ElementGroup

blockStatic.ElementGroup

flow.ElementGroup

flowStatic.ElementGroup

objectFlow.ElementGroup

atomiclnline.ElementGroup元素组

描述:一组跨文本行为的空元素。

组成员:br,imgo

参考:

flow.ElementGroup

flowStatic.ElementGroup

inline・ElementGroup

inlineStatic.ElementGroup

objectFlow.ElementGroup

〈b〉兀素

描述:由XHTML定义,用于定义粗体文本样式。

参考:

flow.ElementGroup

flowStatic.ElementGroup

inline・ElementGroup

inlineStatic.ElementGroup

objectFlow.ElementGroup

属性:〈b〉元素的属性及属性数据类型和约束如表11所示。

6

GB/T29810—2013

表11〈b〉元素的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstring0

langlanguage0

labelstring0

<bankProfile)元素

描述:描述题库系统的性能或需求的元素。

背景:可以作为XML文档的根元素。

元素:usagcDataVocabulary,metadataProfile,其他命名空间的元素。

<baseValue〉元素

描述:返回给定基本数据类型的常量值的简单表达式。

参考:

expression.ElementGroup

〈big〉元素

描述:由XHTML定义,用于定义大号字体样式。

参考:

flow.ElementGroup

flowStatic.ElementGroup

inline・ElementGroup

inlineStatic.ElementGroup

objectFlow.ElementGroup

属性:<big>元素的属性及属性数据类型和约束如表12所示。

表12<big>元素的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstring0

langlanguage0

labelstring0

block.ElementGroup元素组

描述:为试题正文提供结构的一组元素。

组成员:address,associateinteraction,blockquote,choiceinteraction,custominteraction?div,dl9

drawinginteraction,extendedTextlnteraction,feedbackBlock,gapMatchlnteraction,

graphicAssociateinteraction9graphicGapMatchlnteraction9graphicOrderlnteraction,hl9

h2,h3,h4,h5,h6,hotspotinteraction,hottextlnteraction,hr,matchinteraction,ol,order­

interaction,p,positionObjectStage9pre,rubricBlock,selectPointlnteraction,sliderinter­

action,table9templateBlock,ul,uploadinteraction0

频度:

在<itemBody>中出现多次

在simpleBlock.ElementGroup的成员中出现多次

7

GB/T29810—2013

blocklnteraction.ElementGroup元素组

描述:从自身继承结构一组交互。

组成员:associateinteraction,choiceinteraction,drawinginteraction,extendedTextinteraction,gap-

Matchlnteraction,graphicAssociateinteraction,graphicGapMatchlnteraction,graphicOrd-

erlnteraction,hotspotinteraction,hottextlnteraction,matchinteraction,orderinteraction,

selectPointlnteraction,sliderinteraction,uploadinteraction。

参考:

block.ElementGroup

flow.ElementGroup

objectFlow.ElementGroup

blockStatic.ElementGroup元素组

描述:提供除交互外的结构的一组元素。

组成员:address,blockquote?div,dl9feedbackBlock,hl,h2,h39h4,h5,h6,hr,ol,p,pre?

rubricBlock,table,templateBlock,ulo

频度:

在<apMatchlnteraction)中出现1次或多次

在<hottextlnteraction)中出现1次或或多次

在〈templateBlock)中出现多次

参考:

block.ElementGroup

<blockquote)元素

描述:由XHTML定义,用于定义块引用,块引用拥有自己的空间,<blockquote)元素包含的所有文

本都会从常规文本中分离出来。

参考:

block.ElementGroup

blockStatic.ElementGroup

flow.ElementGroup

flowStatic.ElementGroup

objectFlow.ElementGroup

属性:(blockquote)元素的属性及属性数据类型和约束如表13所示。

表13<blockquote)元素的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstringo

langlanguage0

labelstring0

citeanyURIM

bodyElement.ElementGroup元素组

描述:用来在题目体中描述结构,素材,和交互的一组元素。

背景:无应用。

组元素:a9abbr,acronym?address,associableHotspot,associateinteraction,b,big,blockquotebr,

8

GB/T29810—2013

caption,choiceinteraction9cite,code,col,colgroup?custominteraction9dd9dfn,div,dl,

drawinglnteractiondt,em,endAttemptinteraction,extendedTextlnteraction,feedback-

Block,feedbackinline9gap,gaplmg,gapMatchlnteraction,gapText,graphicAssociate-In­

teraction,graphicGapMatchlnteraction,graphicOrderlnteraction,hl,h2,h3,h4,h5,h6,

hotspotChoice,hotspotinteraction,hottext,hottextlnteraction,hr,i,img,inlineChoice,in-

lineChoicelnteraction,itemEody,kbd,li,matchinteraction,object,ol,orderinteraction,p,

positionObjectlnteraction?pre>printedVariable?prompt?q,rubricBlock?samp,selectoint-

Interaction,simpleAssociableChoice?simpleChoice,sliderinteraction,small,span?strong,

sub9sup,table?tbody,td9templateBlock,templatelnline,textEntrylnteraction,tfoot,th,

thead,tr,tt,ul,uploadinteraction,varo

<br>元素

描述:由XHTML定义,用于插入一个简单的换行符。

参考:

flow.ElementGroup

flowStatic.ElementGroup

inline・ElementGroup

inlineStatic.ElementGroup

objectFlow.ElementGroup

属性:〈X〉元素的属性及属性数据类型和约束如表14所示。

表14〈br〉元素的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstringo

langlanguage0

labelstring0

<caption>元素

描述:由XHTML定义,用于定义表格标题。

频度:

在<table)中出现0次或1次

属性:<caption)元素的属性及属性数据类型和约束如表15所示。

表15(caption)元素的属性及属性数据类型和约束信息列表

属性名称数拯类型约束

idstring0

langlanguage0

labelstring0

<categorizedStatistic>

描述:一个分类的统计量,例如用映射表示的分数转换表。

参考:

itemStatistic.ElementGroup

9

GB/T29810—2013

属性:<categorizedStatistic>元素的属性及属性数据类型和约束如表16所示。

表16〈categorizezdStatistic〉元素的属性及属性数据类型和约束信息列表

属性名称数据类型约束

namestring0

glossaryanyURIM

contextanyURI0

caseCountintegerM

stdErrorfloat0

stdDeviationfloat0

lastUpdateddate0

元素:targetObject,mappingo

choice.ElementGroup元素组

描述:一组为应考者提供选项的元素。

组成员:associableHotspot,gap,gaplmg?gapText,hotspotChoice,hottext,inlineChoice,simplcAs-

sociableChoice,simpleChoice0

背景:无应用。

<choiceinteraction〉元素

描述:表示简单单项选择和多项选择交互的元素。

参考:

block.ElementGroup

flow.ElementGroup

objectFlow.ElementGroup

属性:(choiceinteraction)元素的属性及属性数据类型和约束如表17所示。

表17<choiceinteraction〉元素的属性及属性数据类型和约束信息列表

属性名称数据类型约束

idstring0

langlanguage0

labelstring0

responseidentifierstringM

shufflebooleanM

元素:prompt

定制服务

    推荐标准