PageRenderTime 94ms CodeModel.GetById 90ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 0ms

/tools/Ruby/lib/ruby/1.8/xsd/datatypes1999.rb

http://github.com/agross/netopenspace
Ruby | 20 lines | 10 code | 5 blank | 5 comment | 0 complexity | 65f59699b40db5a2d8bb79e0e4577a54 MD5 | raw file
 1# XSD4R - XML Schema Datatype 1999 support
 2# Copyright (C) 2001, 2003  NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
 3
 4# This program is copyrighted free software by NAKAMURA, Hiroshi.  You can
 5# redistribute it and/or modify it under the same terms of Ruby's license;
 6# either the dual license version in 2003, or any later version.
 7
 8
 9require 'xsd/datatypes'
10
11
12module XSD
13  Namespace.replace('http://www.w3.org/1999/XMLSchema')
14  InstanceNamespace.replace('http://www.w3.org/1999/XMLSchema-instance')
15  AnyTypeLiteral.replace('ur-type')
16  AnySimpleTypeLiteral.replace('ur-type')
17  NilLiteral.replace('null')
18  NilValue.replace('1')
19  DateTimeLiteral.replace('timeInstant')
20end