Class XSD::XSDNormalizedString
In: lib/xsd/datatypes.rb
Parent: XSDString

Derived types

Methods

new   screen_data  

Constants

Type = QName.new(Namespace, NormalizedStringLiteral)

Public Class methods

[Source]

     # File lib/xsd/datatypes.rb, line 989
989:   def initialize(value = nil)
990:     init(Type, value)
991:   end

Private Instance methods

[Source]

      # File lib/xsd/datatypes.rb, line 995
 995:   def screen_data(value)
 996:     if /[\t\r\n]/ =~ value
 997:       raise ValueSpaceError.new("#{ type }: cannot accept '#{ value }'.")
 998:     end
 999:     super
1000:   end

[Validate]