Mike Farah
d474bb8ba4
Fixing sef fault on bad XML #1888
2023-12-05 13:21:12 +11:00
Mike Farah
13d1bbb45f
Generic ast ( #1829 )
...
Remove dependency on yaml.Node for internal AST representation. Yaml decoder is now just another decoder.
2023-10-18 12:11:53 +11:00
Mike Farah
2195df9e7a
Fixed xml encoding of ProcInst #1563 , improved XML comment handling
2023-03-02 10:57:54 +11:00
Anders Björklund
cf8cfbd865
Allow build without json and xml support ( #1556 )
...
* Refactor ordered_map into separate files
Separate json and xml, from the regular yaml.
Makes it possible to compile, without those...
* Refactor encoder and decoder creation
Use more consistent parameters vs globals
Return errors instead of calling panic()
* Allow build without json and xml support
2023-03-01 13:19:06 +11:00
Mike Farah
48d00f807e
Fixed xml comment in array of scalars #1465
2022-12-17 10:27:54 +11:00
Mike Farah
1617e5de19
XML Decoder: Comment parsing tweak
2022-11-27 19:14:41 +11:00
Mike Farah
77998d1bb3
XML Decoder: Fixed processing comments in empty XML #1446
2022-11-27 17:58:37 +11:00
Mike Farah
68f47c02c8
XML Decoder: Checking for invalid content outside of a root node #1448
2022-11-27 17:46:50 +11:00
Mike Farah
02be2b2918
Fixed issue where content surrounding tags are lost #1447
2022-11-27 17:29:27 +11:00
Mike Farah
43233ce62e
Fixed xml decode bug when there is content after a comment
2022-11-25 13:21:19 +11:00
Mike Farah
880397d549
Refactored decoder responsibilities ( #1402 )
...
- improved comment handling
- yaml decoder now responsible for leading content work around
2022-10-28 14:16:46 +11:00
Mike Farah
24bbffd71e
xml prefs should be part of API
2022-10-25 14:27:16 +11:00
Mike Farah
6d6b693fb3
Added XML processing instructions and directive support ( #1396 )
2022-10-24 10:09:42 +11:00
Mike Farah
8c3a8c085e
Fixes xml decode missing tags #1284
2022-07-29 10:26:50 +10:00
rndmit
b9309a42a4
XML decoder additions ( #1239 )
...
* Add xml-keep-namespace and xml-raw-token features
* Add tests
* Change flags usage strings
* Append docs
2022-06-15 09:40:31 +10:00
Mike Farah
294da55012
Fixed base64/xml decode an empty string #1209
2022-05-27 11:18:38 +10:00
Mike Farah
bbeae229ca
Disable strict XML parsing by default #1155
2022-03-28 14:05:10 +11:00
Mike Farah
3a1e2c7518
Fixed silently ignored error in xml decoder
2022-03-27 11:42:07 +11:00
Mike Farah
a9c3617b4f
Decoder Properties ( #1099 )
...
* Decoder Properties
* Added properties round trip test
* Fixed property decode for github actions
* Refactored XML test to use common functions
* Switched formatScenario parameter order for more readablity
2022-02-10 12:02:53 +11:00
Mike Farah
26356ff4be
Added github action fix for parsing xml, updated linter
2022-02-07 11:55:55 +11:00
Mike Farah
06e944dcb6
Added github action fix for parsing xml
2022-02-07 11:26:48 +11:00
Mike Farah
ec8ef312ef
Added XML encoding/decoding ( #1067 )
...
* Added XML encoding/decoding
* Minor fixes
* Improve yq doc
* Lint
2022-01-15 11:57:59 +11:00
Mike Farah
df32baedf1
Added XML decoder ( #1044 )
2021-12-21 15:02:07 +11:00