File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ def public
161
161
when "SYSTEM"
162
162
nil
163
163
when "PUBLIC"
164
- strip_quotes ( @long_name )
164
+ @long_name
165
165
end
166
166
end
167
167
@@ -171,9 +171,9 @@ def public
171
171
def system
172
172
case @external_id
173
173
when "SYSTEM"
174
- strip_quotes ( @long_name )
174
+ @long_name
175
175
when "PUBLIC"
176
- @uri . kind_of? ( String ) ? strip_quotes ( @uri ) : nil
176
+ @uri . kind_of? ( String ) ? @uri : nil
177
177
end
178
178
end
179
179
@@ -195,15 +195,6 @@ def notation(name)
195
195
notation_decl . name == name
196
196
}
197
197
end
198
-
199
- private
200
-
201
- # Method contributed by Henrik Martensson
202
- def strip_quotes ( quoted_string )
203
- quoted_string =~ /^[\' \" ].*[\' \" ]$/ ?
204
- quoted_string [ 1 , quoted_string . length -2 ] :
205
- quoted_string
206
- end
207
198
end
208
199
209
200
# We don't really handle any of these since we're not a validating
You can’t perform that action at this time.
0 commit comments