fast-xml-parser 4.2.3 → 4.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/src/xmlparser/DocTypeReader.js +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -142,7 +142,7 @@ function isNotation(xmlData, i){
|
|
|
142
142
|
|
|
143
143
|
//an entity name should not contains special characters that may be used in regex
|
|
144
144
|
//Eg !?\\\/[]$%{}^&*()<>
|
|
145
|
-
const specialChar = "!?\\\/[]$%{}^&*()
|
|
145
|
+
const specialChar = "!?\\\/[]$%{}^&*()<>|+";
|
|
146
146
|
|
|
147
147
|
function validateEntityName(name){
|
|
148
148
|
for (let i = 0; i < specialChar.length; i++) {
|