Commit Graph

20 Commits

Author SHA1 Message Date
Martin Porsch
ff7a7635d8 characters(...) fills StringBuilder instead of String
I startet to implement an XML parser from this tutorial and ran into a problem with empty elements, e.g. <elem></elem>. I found this SO post (https://stackoverflow.com/questions/44570604/sax-parser-is-not-working-properly-when-xml-input-is-given-as-stream-and-some-xm) and realised, that characters(...) can be called zero or multiple times, so one should fixed it conceptually by using a StringBuffer or StringBuilder.
2021-02-18 10:39:41 +01:00
yassin.hajaj
83535d53c8 BAEL-3219 2019-09-28 14:19:11 +02:00
YassinHajaj
f82e007672 BAEL-3219 2019-09-28 11:00:56 +02:00
yassin.hajaj
59729b7e23 BAEL-3219
Parsing an XML File Using SAX Parser
2019-09-28 11:00:56 +02:00
yassin.hajaj
a846c037cb BAEL-3219
Parsing an XML File Using SAX Parser
2019-09-28 11:00:56 +02:00
Juan Moreno
2140022058 BAEL 2338 - Updated code for the article Convert XML to HTML in Java (#7813)
* FEAT Added close handling to resources & extra security configurations

* UPDATE Added extra security configuration

* UPDATE Closed input stream & rename local variables to avoid shadowing
2019-09-17 20:35:11 -05:00
Juan Moreno
c291aae952 BAEL 2338 - Sample code for the article (#7762)
* FEAT Added Jaxp transformer to convert xml to html

* CHORE Added additional refactors

* UPDATE Refactor to use Map instead of Element navigation

* FEAT Added Stax transformer to convert from XML to HTML

* FEAT Added Freemarker transformer

* FEAT Added Mustache transformer
2019-09-14 09:30:41 -05:00
pazis
0eedbaa5f4 stax fix 2019-08-28 11:00:23 +00:00
pazis
a14c19d4e2 stax 2019-08-23 21:21:20 +00:00
Juan Moreno
a02fcfbb06 UPDATE Added additional tests, security config, and fix format issues (#7421) 2019-08-05 17:35:34 -05:00
Juan Moreno
4bf6b77067 Sample code for BAEL-2539 (#7238)
* UPDATE Added junit5 & assertJ configuration in order to run tests

* FEAT Added JaxpTransformer basic implementation

* UPDATE Added JAXP polish version

* UPDATE Polish jaxp implementation

* FEAT Added complete JAXP Sample

* FIX typo

* Added additional samples and JMH benchmark

* FIX indent in Joox sample
2019-07-22 22:16:48 -05:00
Adam InTae Gerard
57a1096c1f BAEL-2338 (#6150)
* BAEL-2338

* Update Application.java

* merged and updated

* updated pom.xml

* improved and updated

* corrected per request

* removed annotations

* formatting
2019-03-12 22:55:59 -05:00
Priyesh Mashelkar
f824da90ba Converting DOM Document to File
Issue: BAEL-2167
2018-10-11 22:59:44 -06:00
Nikhil Khatwani
97c1291359 BAEL-952 Removed mutable state by having separate files for tests (#1994) 2017-06-05 18:02:27 +02:00
baljeet20
de29f6af4b BALE-707 Refactoring changes (#1418)
* BAEL-707 Add the changes as per review comment

* BAEL-707 Refactored the code as per review comments
2017-03-16 10:02:00 +01:00
baljeet20
a5f8bf91be BAEL-707 Introduction to JiBX (#1340) 2017-03-09 09:06:06 +01:00
eugenp
966e53a85b formatting work 2017-01-29 16:06:01 +02:00
Raquel Garrido
0ab62700ca Last changes (#468)
* dom4j

* added more parsers

* StaxParser

* Jaxb binding

* Jaxb binding

* Finish article

* apply some changes

* Organize imports
2016-06-28 21:11:04 +02:00
Raquel Garrido
330c8680c9 XML libraries support (#463)
* dom4j

* added more parsers

* StaxParser

* Jaxb binding

* Jaxb binding

* Finish article
2016-06-26 11:55:42 +02:00
Raquel Garrido Crespo
a156fa8590 Introduction to XPath 2016-06-08 23:13:45 +02:00