You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated PR description to clarify fast-xml-parser throws the error, not xml2js
- Removed all xml2js interference references from code and comments
- Updated tests to reflect the actual issue (fast-xml-parser error on complex XML)
- The issue is about fast-xml-parser limitations, not external extension interference
Copy file name to clipboardExpand all lines: src/core/tools/multiApplyDiffTool.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,7 @@ export async function applyDiffTool(
174
174
1. The XML structure is malformed or incomplete
175
175
2. Missing required <file>, <path>, or <diff> tags
176
176
3. Invalid characters or encoding in the XML
177
+
4. The XML structure is too complex for the parser
177
178
178
179
Expected structure:
179
180
<args>
@@ -187,7 +188,7 @@ Expected structure:
187
188
</args>
188
189
189
190
Original error: ${errorMessage}
190
-
${hasAddChild ? "\n⚠️ NOTE: There may be a conflict with another extension. If you have XML-related extensions installed in VSCode, try disabling them and retrying." : ""}`
191
+
${hasAddChild ? "\n⚠️ NOTE: The parser encountered an error with complex XML structure. The fallback parser will be used if available." : ""}`
0 commit comments