Skip to main content
11 events
when toggle format whatbylicensecomment
Sep 18, 2024 at 15:20commentadded Michael Kay A further observation: the task is intrinsically streamable, and your code would be more scaleable, but more complex, if you used a streaming parser API (either push (SAX), or pull (StAX)) in preference to DOM. You have made a design tradeoff here which is perfectly OK, but you haven't said anything about the reason for your choice.
Sep 18, 2024 at 8:46voteacceptTobias Grothe
Sep 18, 2024 at 8:45commentadded Tobias Grothe Thanks. I have taken your two points into account and edited the question.
Sep 18, 2024 at 8:42history edited Tobias GrotheCC BY-SA 4.0
Requirements supplemented
Sep 18, 2024 at 8:13history edited Tobias GrotheCC BY-SA 4.0
typo
Sep 18, 2024 at 3:20history became hot network question
Sep 18, 2024 at 2:42history edited Alexander IvanchenkoCC BY-SA 4.0
edited body
Sep 18, 2024 at 2:26history edited Alexander Ivanchenko
edited tags
Sep 18, 2024 at 1:18answeraddedAlexander Ivanchenkotimelinescore: 5
Sep 17, 2024 at 22:38commentadded Michael Kay I think you have made the assumption that the document will not contain mixed content (or comments or processing instructions). You should make that explicit in your requirements.
Sep 17, 2024 at 19:20history asked Tobias GrotheCC BY-SA 4.0
close