xmldom icon indicating copy to clipboard operation
xmldom copied to clipboard

Don't treat XML declarations as Processing Instructions

Open Holzhaus opened this issue 8 years ago • 1 comments
trafficstars

XML declarations are not processing instructions. This fixes #174.

According to XML 1.0 (5th Edition), Section 2.6, the PI target names "xml", "XML" and so on are reserved.

Production Rule 17 states:

PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))

Holzhaus avatar Jun 11 '17 15:06 Holzhaus

Just hit this myself.

Anything I can do to help get this one merged? The test cases look correct, but let me know if I can help get it ready for release.

CodyReichert avatar Nov 12 '17 21:11 CodyReichert