wall-brew-co / clj-xml Goto Github PK
View Code? Open in Web Editor NEWThe missing link between clj and xml
License: MIT License
The missing link between clj and xml
License: MIT License
To give users full control over the behavior of XML parsing, we ought to open up and pass through all options to the underlying clojure/data.xml parsers
https://github.com/clojure/data.xml/blob/master/src/main/clojure/clojure/data/xml.clj
Relevant updates: https://github.com/Wall-Brew-Co/spoon/pull/6/files
This option exists today and does exactly what it's supposed to:
force-seq?
- to coerce child XML nodes into an array of maps.
Sometimes, there will only ever be a single child XML node, but the edn returned will be a vector of maps instead of a single map.
A new option, something like:
force-seq-for-nested-keys
- to coerce child XML nodes using the supplied nested keys into an array of maps
Workaround.
When cli-xml sometimes returns a map and other times a vector of maps, we put the single map into a vector so we can consistently handle a vector of maps.
(defn vectorize
[x]
(if (vector? x)
x
[x]))
Add any other context or screenshots about the feature request here.
(e.g. quick build, coding style checks, etc.).
(e.g. quick build, coding style checks, etc.).
To remove warnings related to update-keys
and update-vals
on projects using Clojure 1.11, can clj-xml
be updated to use the new core functions?
Starting a server running Clojure 1.11 and a clj-xml
dependency shows warnings.
E.g.
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: clj-xml.impl, being replaced by: #'clj-xml.impl/update-keys
Update to Clojure 1.11 and use the new core functions.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/cljdoc_test.yml
actions/checkout v4.1.4
actions/cache v4
cljdoc/cljdoc-check-action v0.0.3
.github/workflows/clojure.yml
actions/checkout v4.1.4
actions/cache v4
.github/workflows/contributors.yml
wow-actions/contributors-list v1
.github/workflows/deploy_to_clojars.yml
actions/checkout v4.1.4
actions/cache v4
hole19/git-tag-action v1.0
.github/workflows/format.yml
actions/checkout v4.1.4
just-sultanov/setup-cljstyle v1
stefanzweifel/git-auto-commit-action v5.0.1
.github/workflows/greetings.yml
actions/first-interaction v1
.github/workflows/label.yml
actions/labeler v5
.github/workflows/lint.yml
actions/checkout v4.1.4
reviewdog/action-misspell v1
actions/checkout v4.1.4
nnichols/clojure-lint-action v2
actions/checkout v4.1.4
.github/workflows/scanner.yml
actions/checkout v4.1.4
clj-holmes/clj-holmes-action 53daa4da4ff495cccf791e4ba4222a8317ddae9e
github/codeql-action v3
.github/workflows/sync_labels.yml
actions/checkout v4.1.4
micnncim/action-label-syncer v1
.github/workflows/todo.yml
actions/checkout v4.1.4
project.clj
org.clojure:clojure 1.11.3
org.clojure:data.xml 0.2.0-alpha9
com.github.clj-kondo:lein-clj-kondo 2024.03.13
com.wallbrew:lein-sealog 1.6.0
lein-project-version:lein-project-version 0.1.0
mvxcvi:cljstyle 0.16.630
pom.xml
org.clojure:clojure 1.11.3
org.clojure:data.xml 0.2.0-alpha9
A new contributor creates a Pull Request. After a WB maintainer approves the CI Runner to execute, most of the actions fail.
Example here: #20
The CI works the same as if a WB maintainer executed it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.