node-xml icon indicating copy to clipboard operation
node-xml copied to clipboard

Parser accepts and translates non-XML entities

Open laurie71 opened this issue 14 years ago • 0 comments

I didn't see anything in the documentation about defining additional entities for the parser to recognize, so I was a bit surprised to discover it recognizes entities not defined in XML -- for example, © is translated into © in spite of being undefined by the XML specification. The only entities defined by XML are " / & / ' / < / > and those are the only ones that should be accepted by the parser unless the document contains additional definitions.

laurie71 avatar Feb 08 '11 09:02 laurie71