Commit df7dfe3
Add lowercaseElementNames unit test and make method public (#1860)
* Add XPath JSoup filter tests and make lowercaseElementNames public
Tests cover attribute extraction (/@attr), tidyText(), allText(),
html() functions, uppercase element name handling, fallback expression
logic, and the lowercaseElementNames() utility method.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Formatting fix again
Signed-off-by: Julien Nioche <julien@digitalpebble.com>
---------
Signed-off-by: Julien Nioche <julien@digitalpebble.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7f10122 commit df7dfe3
2 files changed
Lines changed: 16 additions & 1 deletion
File tree
- core/src
- main/java/org/apache/stormcrawler/jsoup
- test/java/org/apache/stormcrawler/jsoup
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
158 | 173 | | |
0 commit comments