ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Error with xml files and attribute lists
@ 2025-05-11 13:59 Wolfgang Schuster
  0 siblings, 0 replies; only message in thread
From: Wolfgang Schuster @ 2025-05-11 13:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

the xml parser fails on attribute list settings in xml files.

%%%% begin example
\startbuffer[jmdict]
<!DOCTYPE JMdict [
<!ATTLIST lsource xml:lang CDATA "eng">
]>
<JMdict>
</JMdict>
\stopbuffer

\starttext

\startluacode

local jmdict = lxml.loadbuffer("","jmdict",false)

inspect(jmdict)

\stopluacode

\stoptext
%%%% end example

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-11 14:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-11 13:59 [NTG-context] Error with xml files and attribute lists Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).