Closed naitoh closed 1 month ago
Wow!
Can we also check this in
BaseParser
?
I changed BaseParser to do this check.
If we can do it, can we move the validation to
#write
?
I added validation to Entity.new.
Do we need to update
#unnormalized
and#normalized
too?
Updated #unnormalized
.
No need to update #normalized
.
Thanks.
Why?
In the internal subset of DTD, references to parameter entities are not allowed within markup declarations.
See: https://www.w3.org/TR/xml/#wfc-PEinInternalSubset