/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. # This program is copyrighted free software by NAKAMURA, Hiroshi. You can
  4. # redistribute it and/or modify it under the same terms of Ruby's license;
  5. # either the dual license version in 2003, or any later version.
  6. require 'xsd/datatypes'
  7. module XSD
  8. Namespace.replace('http://www.w3.org/1999/XMLSchema')
  9. InstanceNamespace.replace('http://www.w3.org/1999/XMLSchema-instance')
  10. AnyTypeLiteral.replace('ur-type')
  11. AnySimpleTypeLiteral.replace('ur-type')
  12. NilLiteral.replace('null')
  13. NilValue.replace('1')
  14. DateTimeLiteral.replace('timeInstant')
  15. end