Module: XSD

Included in:
XSDAnySimpleType
Defined in:
lib/xsd/datatypes.rb,
lib/xsd/ns.rb,
lib/xsd/qname.rb,
lib/xsd/mapping.rb,
lib/xsd/charset.rb,
lib/xsd/xmlparser.rb,
lib/xsd/iconvcharset.rb,
lib/xsd/datatypes1999.rb,
lib/xsd/namedelements.rb,
lib/xsd/xmlparser/parser.rb,
lib/xsd/codegen/classdef.rb,
lib/xsd/codegen/moduledef.rb,
lib/xsd/codegen/methoddef.rb,
lib/xsd/codegen/commentdef.rb,
lib/xsd/codegen/gensupport.rb,
lib/xsd/xmlparser/xmlparser.rb,
lib/xsd/xmlparser/xmlscanner.rb,
lib/xsd/xmlparser/rexmlparser.rb

Overview

XMLSchamaDatatypes general definitions.

Defined Under Namespace

Modules: Charset, CodeGen, FloatConstants, Mapping, XMLParser, XSDDateTimeImpl Classes: Error, IconvCharset, NS, NSDBase, NamedElements, QName, ValueSpaceError, XSDAnySimpleType, XSDAnyURI, XSDBase64Binary, XSDBoolean, XSDByte, XSDDate, XSDDateTime, XSDDecimal, XSDDouble, XSDDuration, XSDFloat, XSDGDay, XSDGMonth, XSDGMonthDay, XSDGYear, XSDGYearMonth, XSDHexBinary, XSDInt, XSDInteger, XSDLong, XSDNegativeInteger, XSDNil, XSDNonNegativeInteger, XSDNonPositiveInteger, XSDNormalizedString, XSDPositiveInteger, XSDQName, XSDShort, XSDString, XSDTime, XSDUnsignedByte, XSDUnsignedInt, XSDUnsignedLong, XSDUnsignedShort

Constant Summary collapse

Namespace =
'http://www.w3.org/2001/XMLSchema'
InstanceNamespace =
'http://www.w3.org/2001/XMLSchema-instance'
AttrType =
'type'
NilValue =
'true'
AnyTypeLiteral =
'anyType'
AnySimpleTypeLiteral =
'anySimpleType'
NilLiteral =
'nil'
StringLiteral =
'string'
BooleanLiteral =
'boolean'
DecimalLiteral =
'decimal'
FloatLiteral =
'float'
DoubleLiteral =
'double'
DurationLiteral =
'duration'
DateTimeLiteral =
'dateTime'
TimeLiteral =
'time'
DateLiteral =
'date'
GYearMonthLiteral =
'gYearMonth'
GYearLiteral =
'gYear'
GMonthDayLiteral =
'gMonthDay'
GDayLiteral =
'gDay'
GMonthLiteral =
'gMonth'
HexBinaryLiteral =
'hexBinary'
Base64BinaryLiteral =
'base64Binary'
AnyURILiteral =
'anyURI'
QNameLiteral =
'QName'
NormalizedStringLiteral =
'normalizedString'
IntegerLiteral =

3.3.2 token 3.3.3 language 3.3.4 NMTOKEN 3.3.5 NMTOKENS 3.3.6 Name 3.3.7 NCName 3.3.8 ID 3.3.9 IDREF 3.3.10 IDREFS 3.3.11 ENTITY 3.3.12 ENTITIES

'integer'
NonPositiveIntegerLiteral =
'nonPositiveInteger'
NegativeIntegerLiteral =
'negativeInteger'
LongLiteral =
'long'
IntLiteral =
'int'
ShortLiteral =
'short'
ByteLiteral =
'byte'
NonNegativeIntegerLiteral =
'nonNegativeInteger'
UnsignedLongLiteral =
'unsignedLong'
UnsignedIntLiteral =
'unsignedInt'
UnsignedShortLiteral =
'unsignedShort'
UnsignedByteLiteral =
'unsignedByte'
PositiveIntegerLiteral =
'positiveInteger'
AttrTypeName =
QName.new(InstanceNamespace, AttrType)
AttrNilName =
QName.new(InstanceNamespace, NilLiteral)
AnyTypeName =
QName.new(Namespace, AnyTypeLiteral)
AnySimpleTypeName =
QName.new(Namespace, AnySimpleTypeLiteral)