Is there an option to disable nesting into text elements containing HTML?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- erlang
- Ambito
- backend
Direzione di ricerca
Start with the fxml_stream:parse_element/1 entry point shown in the issue and trace how nested elements inside text content are represented. Determine whether an option can preserve the body as one Erlang binary, then verify that the chosen behavior is covered by parser tests; the issue does not name specific files or tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi,
I'm probably missing somehing but I am trying to figure out if it is possible to consider the body of a particular element as sometihng that does not need to be nested into (as is done in the below example with the granular tokenizing of the HTML elements inside the "body" element). I can see the logic for the outcome I'm getting but if I would like it just as one big CDATA is there any way I can specify that?
My goal is to simply extract the "body" as one erlang binary.
Thanks,
7> fxml_stream:parse_element(<<"<message><body>?OTRv2?\n<b>[email protected]</b> has requested an <a href=\"http://otr.cypherpunks.ca/\">Off-the-Record private conversation</a>. However, you do not have a plugin to support that.\nSee <a href=\"http://otr.cypherpunks.ca/\">http://otr.cypherpunks.ca/</a> for more information.</body></message>">>).
{xmlel,<<"message">>,[],
[{xmlel,<<"body">>,[],
[{xmlcdata,<<"?OTRv2?\n">>},
{xmlel,<<"b">>,[],[{xmlcdata,<<"[email protected]">>}]},
{xmlcdata,<<" has requested an ">>},
{xmlel,<<"a">>,
[{<<"href">>,<<"http://otr.cypherpunks.ca/">>}],
[{xmlcdata,<<"Off-the-Record private conversation">>}]},
{xmlcdata,<<". However, you do not have a plugin to support that"...>>},
{xmlel,<<"a">>,
[{<<"href">>,<<"http://otr.cypherpunks.ca/">>}],
[{xmlcdata,<<"http://otr.cypherpunks.ca/">>}]},
{xmlcdata,<<" for more information.">>}]}]}
- Lingua principale
- Erlang
- Stelle
- 139
- Fork
- 44
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di processone/fast_xml
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
processone/fast_xml#52 ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
processone/fast_xml#32 · 3 commenti · 1 reazione ·
-
Support for dirty schedulerApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
processone/fast_xml#25 · 1 commento ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
processone/fast_xml#21 · 5 commenti ·
-
xmlel vs xmerl recordsApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
processone/fast_xml#5 · 7 commenti ·
Tutte le issue di processone/fast_xml
Issue simili
-
Warm-up comes out as one climb, or none, when the target is near the bottom of the board's gradesApertabug epic:minimal-layout epic:workouts good first issue mobile priority:P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ColeMurray/background-agents#2305 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
oblien/openship#1086 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100