Bugfix: Java Escape-Sequenz für Pipe-Separator korrigiert

Problem:
- Java-Kompilierung fehlgeschlagen: "illegal escape character"
- Python-String hatte `\|\|\|` statt `\\|\\\|\\|`
- Beim Schreiben in Java-Datei wurde `\|\|\|` geschrieben
- Java interpretiert `\|` als illegale Escape-Sequenz

Lösung:
- Verdoppelte Backslashes: `\\\\|\\\\|\\\\|` in Python
- Python schreibt dann `\\|\\|\\|` in Java-Datei
- Java interpretiert als Regex: `\|\|\|` (escaped Pipes)

Erklärung:
- Python: `\\\\` → `\\` (escaped backslash)
- Java: `\\` → `\` (escaped backslash für Regex)
- Endergebnis: Regex matcht literal `|||` Separator

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-28 15:13:10 +01:00
parent 62d0af9fe3
commit cedd9bfa0f
+1 -1
View File
@@ -55,7 +55,7 @@ public class SaxonWorker {
// Add parameters if present
if (parts.length > 3 && !parts[3].isEmpty()) {
String[] params = parts[3].split("\\|\\|\\|");
String[] params = parts[3].split("\\\\|\\\\|\\\\|");
for (String param : params) {
if (!param.isEmpty()) {
saxonArgs.add(param);