* bug#59537: `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation
@ 2022-11-24 9:01 Ramesh Nedunchezian
2022-11-24 10:23 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Ramesh Nedunchezian @ 2022-11-24 9:01 UTC (permalink / raw)
To: 59537
[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]
`libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation.
Stripping out the NAMESPACE information is a bug.
FWIW, the XML file under question is a OpenDocument styles file.
See the attached =xml.org= file for more information. That is, ...execute the org babel blocks, and follow the inline comments in there.
In GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version
3.24.34, cairo version 1.16.0) of 2022-11-19 built on debian
Repository revision: a6ae13af42ede6618c326855ea4c95e0298fb75b
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Debian GNU/Linux bookworm/sid
Configured using:
'configure --with-imagemagick --with-xwidgets --with-json
--without-compress-install'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2
M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3
ZLIB
[-- Attachment #2: xml.org --]
[-- Type: text/org, Size: 100160 bytes --]
* Bug Description
- Compare ~document-styles~ in [[pp-dom-of-an-xml-file]] and [[document-styles]].
Note the absence of ~xmlns:*~ attributes.
Stripping out namespace information from the DOM is a bug.
- Compare ~font-face-decls~ in [[pp-dom-of-an-xml-file]] and [[font-face-decls]].
Note that the element =font-face-decls= in the DOM doesn't have the prefix ~office:~.
AFAICT, every element in the input XML file carries a prefix, and the DOM of all these nodes
doesn't carry the part of the string before the ~:~.
That is,
- ~<office:font-face-decls/>~ is reported as ~(font-face-decls nil ...)~ without the ~office:~
prefix.
- ~<style:font-face style:name~"OpenSymbol" svg:font-family~"OpenSymbol"/>~ is reported as
~(font-face ((name . "OpenSymbol") (font-family . "OpenSymbol")))~ without the ~style:~ and
~svg:~ prefixes.
Stripping out namespace information from the DOM is a bug
#+name: document-styles
#+begin_src nxml
<office:document-styles
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
xmlns:ooo="http://openoffice.org/2004/office"
xmlns:ooow="http://openoffice.org/2004/writer"
xmlns:oooc="http://openoffice.org/2004/calc"
xmlns:dom="http://www.w3.org/2001/xml-events"
xmlns:rpt="http://openoffice.org/2005/report"
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:grddl="http://www.w3.org/2003/g/data-view#"
office:version="1.2"
/>
#+end_src
#+name: font-face-decls
#+begin_src nxml
<office:font-face-decls>
<style:font-face style:name="OpenSymbol"
svg:font-family="OpenSymbol"/>
</office:font-face-decls>
#+end_src
* Install this elisp helper
#+begin_src elisp
(defun xml-file-name-to-dom (file-name)
(with-temp-buffer
(insert-file-contents file-name)
(libxml-parse-xml-region (point-min) (point-max))))
#+end_src
#+RESULTS:
: xml-file-name-to-dom
* This is the XML file that will be converted to a DOM
#+name: xml-file
#+begin_src elisp :results value
(expand-file-name
"org/OrgOdtStyles.xml"
data-directory)
#+end_src
#+RESULTS: xml-file
: /usr/local/share/emacs/29.0.50/etc/org/OrgOdtStyles.xml
* DOM of the above XML file
#+name: dom-of-xml-file
#+begin_src elisp :var file-name=xml-file :wrap src elisp :results value pp
(xml-file-name-to-dom file-name)
#+end_src
#+name: pp-dom-of-an-xml-file
#+RESULTS: dom-of-xml-file
#+begin_src elisp
(top nil
(comment nil " See etc/org/README for copyright information ")
(document-styles
((version . "1.2"))
(font-face-decls nil
(font-face
((name . "OpenSymbol")
(font-family . "OpenSymbol")))
(font-face
((name . "Tahoma1")
(font-family . "Tahoma")))
(font-face
((name . "Courier New")
(font-family . "'Courier New'")
(font-family-generic . "modern")
(font-pitch . "fixed")))
(font-face
((name . "NSimSun")
(font-family . "NSimSun")
(font-family-generic . "modern")
(font-pitch . "fixed")))
(font-face
((name . "Times New Roman")
(font-family . "'Times New Roman'")
(font-family-generic . "roman")
(font-pitch . "variable")))
(font-face
((name . "Arial")
(font-family . "Arial")
(font-family-generic . "swiss")
(font-pitch . "variable")))
(font-face
((name . "SimSun")
(font-family . "SimSun")
(font-family-generic . "system")
(font-pitch . "variable")))
(font-face
((name . "Tahoma")
(font-family . "Tahoma")
(font-family-generic . "system")
(font-pitch . "variable"))))
(styles nil
(default-style
((family . "graphic"))
(graphic-properties
((shadow-offset-x . "0.3cm")
(shadow-offset-y . "0.3cm")
(start-line-spacing-horizontal . "0.283cm")
(start-line-spacing-vertical . "0.283cm")
(end-line-spacing-horizontal . "0.283cm")
(end-line-spacing-vertical . "0.283cm")
(flow-with-text . "false")))
(paragraph-properties
((text-autospace . "ideograph-alpha")
(line-break . "strict")
(writing-mode . "lr-tb")
(font-independent-line-spacing . "false"))
(tab-stops nil))
(text-properties
((use-window-font-color . "true")
(font-size . "12pt")
(language . "en")
(country . "GB")
(letter-kerning . "true")
(font-size-asian . "12pt")
(language-asian . "zh")
(country-asian . "CN")
(font-size-complex . "12pt")
(language-complex . "hi")
(country-complex . "IN"))))
(default-style
((family . "paragraph"))
(paragraph-properties
((hyphenation-ladder-count . "no-limit")
(text-autospace . "ideograph-alpha")
(punctuation-wrap . "hanging")
(line-break . "strict")
(tab-stop-distance . "1.251cm")
(writing-mode . "page")))
(text-properties
((use-window-font-color . "true")
(font-name . "Times New Roman")
(font-size . "12pt")
(language . "en")
(country . "GB")
(letter-kerning . "true")
(font-name-asian . "SimSun")
(font-size-asian . "12pt")
(language-asian . "zh")
(country-asian . "CN")
(font-name-complex . "Tahoma")
(font-size-complex . "12pt")
(language-complex . "hi")
(country-complex . "IN")
(hyphenate . "false")
(hyphenation-remain-char-count . "2")
(hyphenation-push-char-count . "2"))))
(default-style
((family . "table"))
(table-properties
((border-model . "collapsing"))))
(default-style
((family . "table-row"))
(table-row-properties
((keep-together . "auto"))))
(comment nil " Outline numbering ")
(outline-style
((name . "OrgOutline"))
(outline-level-style
((level . "1")
(num-suffix . ". ")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "nothing")
(text-indent . "-0.762cm")
(margin-left . "0.762cm")))))
(outline-level-style
((level . "2")
(num-suffix . ". ")
(num-format . "1")
(display-levels . "2"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "nothing")
(text-indent . "-1.016cm")
(margin-left . "1.016cm")))))
(outline-level-style
((level . "3")
(num-suffix . ". ")
(num-format . "1")
(display-levels . "3"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "nothing")
(text-indent . "-1.27cm")
(margin-left . "1.27cm")))))
(outline-level-style
((level . "4")
(num-suffix . ". ")
(num-format . "1")
(display-levels . "4"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "nothing")
(text-indent . "-1.524cm")
(margin-left . "1.524cm")))))
(outline-level-style
((level . "5")
(num-suffix . ". ")
(num-format . "1")
(display-levels . "5"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "nothing")
(text-indent . "-1.778cm")
(margin-left . "1.778cm")))))
(outline-level-style
((level . "6")
(num-suffix . ". ")
(num-format . "1")
(display-levels . "6"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "nothing")
(text-indent . "-2.032cm")
(margin-left . "2.032cm")))))
(outline-level-style
((level . "7")
(num-suffix . ". ")
(num-format . "1")
(display-levels . "7"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "nothing")
(text-indent . "-2.286cm")
(margin-left . "2.286cm")))))
(outline-level-style
((level . "8")
(num-suffix . ". ")
(num-format . "1")
(display-levels . "8"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "nothing")
(text-indent . "-2.54cm")
(margin-left . "2.54cm")))))
(outline-level-style
((level . "9")
(num-suffix . ". ")
(num-format . "1")
(display-levels . "9"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "nothing")
(text-indent . "-2.794cm")
(margin-left . "2.794cm")))))
(outline-level-style
((level . "10")
(num-suffix . ". ")
(num-format . "1")
(display-levels . "10"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "nothing")
(text-indent . "-3.048cm")
(margin-left . "3.048cm"))))))
(style
((name . "Standard")
(family . "paragraph")
(class . "text")))
(style
((name . "Heading")
(family . "paragraph")
(parent-style-name . "Standard")
(next-style-name . "Text_20_body")
(class . "text"))
(paragraph-properties
((margin-top . "0.423cm")
(margin-bottom . "0.212cm")
(keep-with-next . "always"))
(tab-stops nil
(tab-stop
((position . "17cm")
(type . "right")))))
(text-properties
((font-name . "Arial")
(font-size . "14pt")
(font-name-asian . "SimSun")
(font-size-asian . "14pt")
(font-name-complex . "Tahoma")
(font-size-complex . "14pt"))))
(style
((name . "Text_20_body")
(display-name . "Text body")
(family . "paragraph")
(parent-style-name . "Standard")
(class . "text"))
(paragraph-properties
((margin-top . "0cm")
(margin-bottom . "0.212cm"))))
(style
((name . "List")
(family . "paragraph")
(parent-style-name . "Text_20_body")
(class . "list"))
(text-properties
((font-name-complex . "Tahoma1"))))
(style
((name . "Caption")
(family . "paragraph")
(parent-style-name . "Standard")
(class . "extra"))
(paragraph-properties
((margin-top . "0.212cm")
(margin-bottom . "0.212cm")
(number-lines . "false")
(line-number . "0")))
(text-properties
((font-size . "12pt")
(font-style . "italic")
(font-size-asian . "12pt")
(font-style-asian . "italic")
(font-name-complex . "Tahoma1")
(font-size-complex . "12pt")
(font-style-complex . "italic"))))
(style
((name . "Index")
(family . "paragraph")
(parent-style-name . "Standard")
(class . "index"))
(paragraph-properties
((number-lines . "false")
(line-number . "0")))
(text-properties
((font-name-complex . "Tahoma1"))))
(style
((name . "Heading_20_1")
(display-name . "Heading 1")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(default-outline-level . "1")
(class . "text"))
(text-properties
((font-size . "115%")
(font-weight . "bold")
(font-size-asian . "115%")
(font-weight-asian . "bold")
(font-size-complex . "115%")
(font-weight-complex . "bold"))))
(style
((name . "Heading_20_1_unnumbered")
(family . "paragraph")
(parent-style-name . "Heading_20_1")
(list-style-name . #1=""))
"\n ")
(style
((name . "Heading_20_2")
(display-name . "Heading 2")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(default-outline-level . "2")
(class . "text"))
(text-properties
((font-size . "14pt")
(font-style . "italic")
(font-weight . "bold")
(font-size-asian . "14pt")
(font-style-asian . "italic")
(font-weight-asian . "bold")
(font-size-complex . "14pt")
(font-style-complex . "italic")
(font-weight-complex . "bold"))))
(style
((name . "Heading_20_2_unnumbered")
(family . "paragraph")
(parent-style-name . "Heading_20_2")
(list-style-name . #1#))
"\n ")
(style
((name . "Heading_20_3")
(display-name . "Heading 3")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(default-outline-level . "3")
(class . "text"))
(text-properties
((font-size . "14pt")
(font-weight . "bold")
(font-size-asian . "14pt")
(font-weight-asian . "bold")
(font-size-complex . "14pt")
(font-weight-complex . "bold"))))
(style
((name . "Heading_20_3_unnumbered")
(family . "paragraph")
(parent-style-name . "Heading_20_3")
(list-style-name . #1#))
"\n ")
(style
((name . "Heading_20_4")
(display-name . "Heading 4")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(default-outline-level . "4")
(class . "text"))
(text-properties
((font-size . "85%")
(font-style . "italic")
(font-weight . "bold")
(font-size-asian . "85%")
(font-style-asian . "italic")
(font-weight-asian . "bold")
(font-size-complex . "85%")
(font-style-complex . "italic")
(font-weight-complex . "bold"))))
(style
((name . "Heading_20_4_unnumbered")
(family . "paragraph")
(parent-style-name . "Heading_20_4")
(list-style-name . #1#))
"\n ")
(style
((name . "Heading_20_5")
(display-name . "Heading 5")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(default-outline-level . "5")
(class . "text"))
(text-properties
((font-size . "85%")
(font-weight . "bold")
(font-size-asian . "85%")
(font-weight-asian . "bold")
(font-size-complex . "85%")
(font-weight-complex . "bold"))))
(style
((name . "Heading_20_5_unnumbered")
(family . "paragraph")
(parent-style-name . "Heading_20_5")
(list-style-name . #1#))
"\n ")
(style
((name . "Heading_20_6")
(display-name . "Heading 6")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(default-outline-level . "6")
(class . "text"))
(text-properties
((font-size . "75%")
(font-weight . "bold")
(font-size-asian . "75%")
(font-weight-asian . "bold")
(font-size-complex . "75%")
(font-weight-complex . "bold"))))
(style
((name . "Heading_20_6_unnumbered")
(family . "paragraph")
(parent-style-name . "Heading_20_6")
(list-style-name . #1#))
"\n ")
(style
((name . "Heading_20_7")
(display-name . "Heading 7")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(default-outline-level . "7")
(class . "text"))
(text-properties
((font-size . "75%")
(font-weight . "bold")
(font-size-asian . "75%")
(font-weight-asian . "bold")
(font-size-complex . "75%")
(font-weight-complex . "bold"))))
(style
((name . "Heading_20_7_unnumbered")
(family . "paragraph")
(parent-style-name . "Heading_20_7")
(list-style-name . #1#))
"\n ")
(style
((name . "Heading_20_8")
(display-name . "Heading 8")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(default-outline-level . "8")
(class . "text"))
(text-properties
((font-size . "75%")
(font-weight . "bold")
(font-size-asian . "75%")
(font-weight-asian . "bold")
(font-size-complex . "75%")
(font-weight-complex . "bold"))))
(style
((name . "Heading_20_8_unnumbered")
(family . "paragraph")
(parent-style-name . "Heading_20_8")
(list-style-name . #1#))
"\n ")
(style
((name . "Heading_20_9")
(display-name . "Heading 9")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(default-outline-level . "9")
(class . "text"))
(text-properties
((font-size . "75%")
(font-weight . "bold")
(font-size-asian . "75%")
(font-weight-asian . "bold")
(font-size-complex . "75%")
(font-weight-complex . "bold"))))
(style
((name . "Heading_20_9_unnumbered")
(family . "paragraph")
(parent-style-name . "Heading_20_9")
(list-style-name . #1#))
"\n ")
(style
((name . "Heading_20_10")
(display-name . "Heading 10")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(default-outline-level . "10")
(class . "text"))
(text-properties
((font-size . "75%")
(font-weight . "bold")
(font-size-asian . "75%")
(font-weight-asian . "bold")
(font-size-complex . "75%")
(font-weight-complex . "bold"))))
(style
((name . "Heading_20_10_unnumbered")
(family . "paragraph")
(parent-style-name . "Heading_20_10")
(list-style-name . #1#))
"\n ")
(style
((name . "Heading_20_1.title")
(display-name . "Heading 1.title")
(family . "paragraph")
(parent-style-name . "Heading_20_1"))
(paragraph-properties
((text-align . "center")
(justify-single-word . "false"))))
(style
((name . "Title")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Subtitle")
(class . "chapter"))
(paragraph-properties
((text-align . "center")
(justify-single-word . "false")))
(text-properties
((font-size . "18pt")
(font-weight . "bold")
(font-size-asian . "18pt")
(font-weight-asian . "bold")
(font-size-complex . "18pt")
(font-weight-complex . "bold"))))
(style
((name . "OrgTitle")
(family . "paragraph")
(parent-style-name . "Title"))
(paragraph-properties
((margin-top . "0cm")
(margin-bottom . "0cm")))
(text-properties
((font-size . "24pt"))))
(style
((name . "Subtitle")
(family . "paragraph")
(parent-style-name . "Heading")
(next-style-name . "Text_20_body")
(class . "chapter"))
(paragraph-properties
((text-align . "center")
(justify-single-word . "false")))
(text-properties
((font-size . "14pt")
(font-style . "italic")
(font-size-asian . "14pt")
(font-style-asian . "italic")
(font-size-complex . "14pt")
(font-style-complex . "italic"))))
(style
((name . "OrgSubtitle")
(family . "paragraph")
(parent-style-name . "Subtitle"))
(paragraph-properties
((margin-top . "0cm")
(margin-bottom . "0cm")))
(text-properties
((font-size . "20pt"))))
(style
((name . "Text_20_body_20_indent")
(display-name . "Text body indent")
(family . "paragraph")
(parent-style-name . "Text_20_body")
(class . "text"))
(paragraph-properties
((margin-left . "0.499cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))))
(style
((name . "List_20_Indent")
(display-name . "List Indent")
(family . "paragraph")
(parent-style-name . "Text_20_body")
(class . "text"))
(paragraph-properties
((margin-left . "5.001cm")
(margin-right . "0cm")
(text-indent . "-4.5cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "0cm"))))))
(style
((name . "First_20_line_20_indent")
(display-name . "First line indent")
(family . "paragraph")
(parent-style-name . "Text_20_body")
(class . "text"))
(paragraph-properties
((margin-left . "0cm")
(margin-right . "0cm")
(text-indent . "0.499cm")
(auto-text-indent . "false"))))
(style
((name . "Hanging_20_indent")
(display-name . "Hanging indent")
(family . "paragraph")
(parent-style-name . "Text_20_body")
(class . "text"))
(paragraph-properties
((margin-left . "1cm")
(margin-right . "0cm")
(text-indent . "-0.499cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "0cm"))))))
(style
((name . "Salutation")
(family . "paragraph")
(parent-style-name . "Standard")
(class . "text"))
(paragraph-properties
((number-lines . "false")
(line-number . "0"))))
(style
((name . "Contents_20_Heading")
(display-name . "Contents Heading")
(family . "paragraph")
(parent-style-name . "Heading")
(class . "index"))
(paragraph-properties
((margin-left . "0cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false")
(number-lines . "false")
(line-number . "0")))
(text-properties
((font-size . "16pt")
(font-weight . "bold")
(font-size-asian . "16pt")
(font-weight-asian . "bold")
(font-size-complex . "16pt")
(font-weight-complex . "bold"))))
(style
((name . "Contents_20_1")
(display-name . "Contents 1")
(family . "paragraph")
(parent-style-name . "Index")
(class . "index"))
(paragraph-properties
((margin-left . "0cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "17cm")
(type . "right")
(leader-style . "dotted")
(leader-text . "."))))))
(style
((name . "Contents_20_2")
(display-name . "Contents 2")
(family . "paragraph")
(parent-style-name . "Index")
(class . "index"))
(paragraph-properties
((margin-left . "0.499cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "16.501cm")
(type . "right")
(leader-style . "dotted")
(leader-text . "."))))))
(style
((name . "Contents_20_3")
(display-name . "Contents 3")
(family . "paragraph")
(parent-style-name . "Index")
(class . "index"))
(paragraph-properties
((margin-left . "0.998cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "16.002cm")
(type . "right")
(leader-style . "dotted")
(leader-text . "."))))))
(style
((name . "Contents_20_4")
(display-name . "Contents 4")
(family . "paragraph")
(parent-style-name . "Index")
(class . "index"))
(paragraph-properties
((margin-left . "1.498cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "15.503cm")
(type . "right")
(leader-style . "dotted")
(leader-text . "."))))))
(style
((name . "Contents_20_5")
(display-name . "Contents 5")
(family . "paragraph")
(parent-style-name . "Index")
(class . "index"))
(paragraph-properties
((margin-left . "1.997cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "15.004cm")
(type . "right")
(leader-style . "dotted")
(leader-text . "."))))))
(style
((name . "Contents_20_6")
(display-name . "Contents 6")
(family . "paragraph")
(parent-style-name . "Index")
(class . "index"))
(paragraph-properties
((margin-left . "2.496cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "14.504cm")
(type . "right")
(leader-style . "dotted")
(leader-text . "."))))))
(style
((name . "Contents_20_7")
(display-name . "Contents 7")
(family . "paragraph")
(parent-style-name . "Index")
(class . "index"))
(paragraph-properties
((margin-left . "2.995cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "14.005cm")
(type . "right")
(leader-style . "dotted")
(leader-text . "."))))))
(style
((name . "Contents_20_8")
(display-name . "Contents 8")
(family . "paragraph")
(parent-style-name . "Index")
(class . "index"))
(paragraph-properties
((margin-left . "3.494cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "13.506cm")
(type . "right")
(leader-style . "dotted")
(leader-text . "."))))))
(style
((name . "Contents_20_9")
(display-name . "Contents 9")
(family . "paragraph")
(parent-style-name . "Index")
(class . "index"))
(paragraph-properties
((margin-left . "3.993cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "13.007cm")
(type . "right")
(leader-style . "dotted")
(leader-text . "."))))))
(style
((name . "Contents_20_10")
(display-name . "Contents 10")
(family . "paragraph")
(parent-style-name . "Index")
(class . "index"))
(paragraph-properties
((margin-left . "4.493cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false"))
(tab-stops nil
(tab-stop
((position . "12.508cm")
(type . "right")
(leader-style . "dotted")
(leader-text . "."))))))
(style
((name . "Quotations")
(family . "paragraph")
(parent-style-name . "Standard")
(class . "html"))
(paragraph-properties
((margin-left . "1cm")
(margin-right . "1cm")
(margin-top . "0cm")
(margin-bottom . "0.499cm")
(text-indent . "0cm")
(auto-text-indent . "false"))))
(style
((name . "OrgFootnoteQuotations")
(family . "paragraph")
(parent-style-name . "Footnote")
(class . "html"))
(paragraph-properties
((margin-left . "1cm")
(margin-right . "1cm")
(margin-top . "0cm")
(margin-bottom . "0.499cm")
(text-indent . "0cm")
(auto-text-indent . "false"))))
(style
((name . "Preformatted_20_Text")
(display-name . "Preformatted Text")
(family . "paragraph")
(parent-style-name . "Standard")
(class . "html"))
(paragraph-properties
((margin-top . "0cm")
(margin-bottom . "0cm")))
(text-properties
((font-name . "Courier New")
(font-size . "10pt")
(font-name-asian . "NSimSun")
(font-size-asian . "10pt")
(font-name-complex . "Courier New")
(font-size-complex . "10pt"))))
(style
((name . "OrgVerse")
(family . "paragraph")
(parent-style-name . "Preformatted_20_Text"))
(paragraph-properties
((background-color . "transparent")
(padding . "0cm")
(border . "none")
(shadow . "none"))
(background-image nil)))
(style
((name . "OrgClock")
(family . "paragraph")
(parent-style-name . "Text_20_body"))
(paragraph-properties
((margin-top . "0cm")
(margin-bottom . "0cm"))))
(style
((name . "OrgClockLastLine")
(family . "paragraph")
(parent-style-name . "OrgClock")))
(style
((name . "OrgPlanning")
(family . "paragraph")
(parent-style-name . "Text_20_body")))
(comment nil " Fixed width block ")
(style
((name . "OrgFixedWidthBlock")
(family . "paragraph")
(parent-style-name . "Preformatted_20_Text"))
(paragraph-properties
((background-color . "#c0c0c0")
(padding . "0.049cm")
(border . "0.06pt solid #000000")
(shadow . "none"))
(background-image nil)))
(style
((name . "OrgFixedWidthBlockLastLine")
(family . "paragraph")
(parent-style-name . "OrgFixedWidthBlock"))
(paragraph-properties
((margin-top . "0cm")
(margin-bottom . "0.21cm"))))
(style
((name . "OrgFormula")
(family . "paragraph")
(parent-style-name . "Text_20_body"))
(paragraph-properties nil
(tab-stops nil
(tab-stop
((position . "17cm")
(type . "right"))))))
(style
((name . "OrgSrcBlockLastLine")
(family . "paragraph")
(parent-style-name . "OrgSrcBlock"))
(paragraph-properties
((margin-top . "0cm")
(margin-bottom . "0.21cm"))))
(style
((name . "OrgCenter")
(family . "paragraph")
(parent-style-name . "Text_20_body"))
(paragraph-properties
((text-align . "center")
(justify-single-word . "false"))))
(style
((name . "OrgFootnoteCenter")
(family . "paragraph")
(parent-style-name . "Footnote"))
(paragraph-properties
((text-align . "center")
(justify-single-word . "false"))))
(style
((name . "OrgTableContents")
(family . "paragraph")
(parent-style-name . "Text_20_body")))
(style
((name . "OrgTableHeading")
(family . "paragraph")
(parent-style-name . "OrgTableContents")
(class . "extra"))
(paragraph-properties
((text-align . "center")
(justify-single-word . "false")
(number-lines . "false")
(line-number . "0")))
(text-properties
((font-weight . "bold")
(font-weight-asian . "bold")
(font-weight-complex . "bold"))))
(style
((name . "OrgTableHeadingLeft")
(family . "paragraph")
(parent-style-name . "OrgTableHeading"))
(paragraph-properties
((text-align . "left")
(justify-single-word . "false"))))
(style
((name . "OrgTableHeadingRight")
(family . "paragraph")
(parent-style-name . "OrgTableHeading"))
(paragraph-properties
((text-align . "right")
(justify-single-word . "false"))))
(style
((name . "OrgTableHeadingCenter")
(family . "paragraph")
(parent-style-name . "OrgTableHeading"))
(paragraph-properties
((text-align . "center")
(justify-single-word . "false"))))
(style
((name . "OrgTableContentsLeft")
(family . "paragraph")
(parent-style-name . "OrgTableContents"))
(paragraph-properties
((text-align . "left")
(justify-single-word . "false"))))
(style
((name . "OrgTableContentsRight")
(family . "paragraph")
(parent-style-name . "OrgTableContents"))
(paragraph-properties
((text-align . "right")
(justify-single-word . "false"))))
(style
((name . "OrgTableContentsCenter")
(family . "paragraph")
(parent-style-name . "OrgTableContents"))
(paragraph-properties
((text-align . "center")
(justify-single-word . "false"))))
(style
((name . "Text_20_body_20_bold")
(display-name . "Text body bold")
(family . "paragraph")
(parent-style-name . "Text_20_body")
(next-style-name . "Text_20_body"))
(text-properties
((font-weight . "bold"))))
(style
((name . "Footnote")
(family . "paragraph")
(parent-style-name . "Standard")
(class . "extra"))
(paragraph-properties
((margin-left . "0.499cm")
(margin-right . "0cm")
(text-indent . "-0.499cm")
(auto-text-indent . "false")
(number-lines . "false")
(line-number . "0")))
(text-properties
((font-size . "10pt")
(font-size-asian . "10pt")
(font-size-complex . "10pt"))))
(style
((name . "Figure")
(family . "paragraph")
(parent-style-name . "Caption")))
(style
((name . "Illustration_20_Index_20_Heading")
(display-name . "Illustration Index Heading")
(family . "paragraph")
(parent-style-name . "Heading")
(class . "index"))
(paragraph-properties
((margin-left . "0cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false")
(number-lines . "false")
(line-number . "0")))
(text-properties
((font-size . "16pt")
(font-weight . "bold")
(font-size-asian . "16pt")
(font-weight-asian . "bold")
(font-size-complex . "16pt")
(font-weight-complex . "bold"))))
(style
((name . "Table")
(family . "paragraph")
(parent-style-name . "Caption")
(class . "extra"))
(paragraph-properties
((text-align . "center")
(justify-single-word . "false"))))
(style
((name . "Listing")
(family . "paragraph")
(parent-style-name . "Caption")
(class . "extra"))
(paragraph-properties
((margin-left . "0cm")
(margin-right . "0cm")
(text-indent . "0cm")
(auto-text-indent . "false")
(keep-with-next . "always"))
(tab-stops nil)))
(style
((name . "Horizontal_20_Line")
(display-name . "Horizontal Line")
(family . "paragraph")
(parent-style-name . "Standard")
(next-style-name . "Text_20_body")
(class . "html"))
(paragraph-properties
((margin-top . "0cm")
(margin-bottom . "0.21cm")
(page-number . "auto")
(padding . "0cm")
(border-left . "none")
(border-right . "none")
(border-top . "none")
(border-bottom . "0.06pt solid #000000")
(shadow . "none")
(number-lines . "false")
(line-number . "0")
(join-border . "false")))
(text-properties
((font-size . "6pt")
(font-size-asian . "6pt")
(font-size-complex . "6pt"))))
(style
((name . "Emphasis")
(family . "text"))
(text-properties
((font-style . "italic")
(font-style-asian . "italic")
(font-style-complex . "italic"))))
(style
((name . "Underline")
(family . "text"))
(text-properties
((text-underline-style . "solid")
(text-underline-width . "auto")
(text-underline-color . "font-color")
(background-color . "transparent"))))
(style
((name . "Strikethrough")
(family . "text"))
(text-properties
((text-line-through-style . "solid"))))
(style
((name . "Source_20_Text")
(display-name . "Source Text")
(family . "text"))
(text-properties
((font-name . "Courier New")
(background-color . "transparent")
(font-name-asian . "NSimSun")
(font-name-complex . "Courier New"))))
(style
((name . "Citation")
(family . "text"))
(text-properties
((font-style . "italic")
(font-style-asian . "italic")
(font-style-complex . "italic"))))
(style
((name . "Example")
(family . "text"))
(text-properties
((font-name . "Courier New")
(background-color . "transparent")
(font-name-asian . "NSimSun")
(font-name-complex . "Courier New"))))
(style
((name . "OrgCode")
(family . "text")
(parent-style-name . "Source_20_Text")))
(comment nil " BEGIN: Org Agenda Styles ")
(style
((name . "OrgTodo")
(family . "text")))
(style
((name . "OrgDone")
(family . "text")))
(style
((name . "OrgTag")
(family . "text"))
(text-properties
((font-variant . "small-caps")
(background-color . "transparent"))))
(style
((name . "OrgTags")
(family . "text")))
(style
((name . "OrgPriority")
(family . "text")))
(style
((name . "OrgPriority-A")
(family . "text")
(parent-style-name . "OrgPriority")))
(style
((name . "OrgPriority-B")
(family . "text")
(parent-style-name . "OrgPriority")))
(style
((name . "OrgPriority-C")
(family . "text")
(parent-style-name . "OrgPriority")))
(style
((name . "OrgTimestamp")
(display-name . "OrgTimestamp")
(family . "text"))
(text-properties
((font-name . "Courier New")
(background-color . "transparent")
(font-name-asian . "NSimSun")
(font-name-complex . "Courier New"))))
(style
((name . "OrgActiveTimestamp")
(family . "text")
(parent-style-name . "OrgTimestamp")))
(style
((name . "OrgInactiveTimestamp")
(family . "text")
(parent-style-name . "OrgTimestamp")))
(style
((name . "OrgTimestampKeyword")
(family . "text"))
(text-properties
((use-window-font-color . "true")
(font-weight . "bold"))))
(style
((name . "OrgScheduledKeyword")
(family . "text")
(parent-style-name . "OrgTimestampKeyword")))
(style
((name . "OrgDeadlineKeyword")
(family . "text")
(parent-style-name . "OrgTimestampKeyword")))
(style
((name . "OrgClockKeyword")
(family . "text")
(parent-style-name . "OrgTimestampKeyword")))
(style
((name . "OrgClosedKeyword")
(family . "text")
(parent-style-name . "OrgTimestampKeyword")))
(style
((name . "OrgTimestampWrapper")
(family . "text")))
(style
((name . "OrgTarget")
(family . "text")))
(date-style
((name . "OrgDate")
(automatic-order . "true"))
(day
((style . "long")))
(text nil "/")
(month
((style . "long")))
(text nil "/")
(year
((style . "long"))))
(comment nil " END: Org Agenda Styles ")
(style
((name . "Bold")
(family . "text"))
(text-properties
((font-weight . "bold"))))
(style
((name . "Numbering_20_Symbols")
(display-name . "Numbering Symbols")
(family . "text")))
(style
((name . "Footnote_20_Symbol")
(display-name . "Footnote Symbol")
(family . "text")))
(style
((name . "Footnote_20_anchor")
(display-name . "Footnote anchor")
(family . "text"))
(text-properties
((text-position . "super 58%"))))
(style
((name . "OrgSuperscript")
(family . "text"))
(text-properties
((text-position . "super 58%"))))
(style
((name . "OrgSubscript")
(family . "text"))
(text-properties
((text-position . "sub 58%"))))
(style
((name . "Internet_20_link")
(display-name . "Internet link")
(family . "text"))
(text-properties
((color . "#000080")
(language . "zxx")
(country . "none")
(text-underline-style . "solid")
(text-underline-width . "auto")
(text-underline-color . "font-color")
(language-asian . "zxx")
(country-asian . "none")
(language-complex . "zxx")
(country-complex . "none"))))
(style
((name . "Graphics")
(family . "graphic"))
(graphic-properties
((anchor-type . "paragraph")
(x . "0cm")
(y . "0cm")
(wrap . "none")
(vertical-pos . "top")
(vertical-rel . "paragraph")
(horizontal-pos . "center")
(horizontal-rel . "paragraph"))))
(style
((name . "Frame")
(family . "graphic"))
(graphic-properties
((anchor-type . "paragraph")
(x . "0cm")
(y . "0cm")
(margin-left . "0.201cm")
(margin-right . "0.201cm")
(margin-top . "0.201cm")
(margin-bottom . "0.201cm")
(wrap . "parallel")
(number-wrapped-paragraphs . "no-limit")
(wrap-contour . "false")
(vertical-pos . "top")
(vertical-rel . "paragraph-content")
(horizontal-pos . "center")
(horizontal-rel . "paragraph-content")
(padding . "0.15cm")
(border . "0.002cm solid #000000"))))
(comment nil " Simple Images ")
(style
((name . "OrgDisplayImage")
(family . "graphic")
(parent-style-name . "Graphics"))
(graphic-properties
((anchor-type . "paragraph")
(wrap . "none")
(vertical-pos . "top")
(vertical-rel . "paragraph")
(horizontal-pos . "center")
(horizontal-rel . "paragraph"))))
(style
((name . "OrgPageImage")
(family . "graphic")
(parent-style-name . "Graphics"))
(graphic-properties
((anchor-type . "page")
(margin-top . "0.21cm")
(margin-bottom . "0.21cm")
(vertical-pos . "middle")
(vertical-rel . "page")
(horizontal-pos . "center")
(horizontal-rel . "page")
(background-color . "transparent")
(background-transparency . "100%")
(shadow . "none")
(mirror . "none")
(clip . "rect(0cm, 0cm, 0cm, 0cm)")
(luminance . "0%")
(contrast . "0%")
(red . "0%")
(green . "0%")
(blue . "0%")
(gamma . "100%")
(color-inversion . "false")
(image-opacity . "100%")
(color-mode . "standard"))
(background-image nil)))
(comment nil " Captioned Images ")
(style
((name . "OrgCaptionedImage")
(family . "graphic")
(parent-style-name . "Graphics"))
(graphic-properties
((rel-width . "100%")
(anchor-type . "paragraph")
(margin-left . "0cm")
(margin-right . "0cm")
(margin-top . "0cm")
(margin-bottom . "0cm")
(run-through . "foreground")
(wrap . "none")
(vertical-pos . "from-top")
(vertical-rel . "paragraph-content")
(horizontal-pos . "from-left")
(horizontal-rel . "paragraph-content")
(padding . "0cm")
(border . "none")
(shadow . "none"))))
(style
((name . "OrgImageCaptionFrame")
(family . "graphic")
(parent-style-name . "Frame"))
(graphic-properties
((anchor-type . "paragraph")
(margin-left . "0cm")
(margin-right . "0cm")
(margin-top . "0cm")
(margin-bottom . "0cm")
(wrap . "none")
(vertical-pos . "top")
(vertical-rel . "paragraph")
(horizontal-pos . "center")
(horizontal-rel . "paragraph")
(padding . "0cm")
(border . "none"))))
(style
((name . "OrgPageImageCaptionFrame")
(family . "graphic")
(parent-style-name . "Frame"))
(graphic-properties
((anchor-type . "paragraph")
(margin-left . "0cm")
(margin-right . "0cm")
(margin-top . "0.21cm")
(margin-bottom . "0.21cm")
(wrap . "none")
(vertical-pos . "middle")
(vertical-rel . "page")
(horizontal-pos . "center")
(horizontal-rel . "page")
(background-color . "transparent")
(background-transparency . "100%")
(padding . "0cm")
(border . "none")
(shadow . "none"))
(background-image nil)))
(comment nil " Inlined Images ")
(style
((name . "OrgInlineImage")
(family . "graphic")
(parent-style-name . "Graphics"))
(graphic-properties
((anchor-type . "as-char")
(vertical-pos . "top")
(vertical-rel . "baseline")
(horizontal-pos . "center")
(horizontal-rel . "paragraph"))))
(comment nil " Inline Formula ")
(style
((name . "OrgFormula")
(family . "graphic"))
(graphic-properties
((anchor-type . "as-char")
(y . "0cm")
(margin-left . "0.201cm")
(margin-right . "0.201cm")
(vertical-pos . "middle")
(vertical-rel . "text")
(shadow . "none"))))
(style
((name . "OrgInlineFormula")
(family . "graphic")
(parent-style-name . "Formula"))
(graphic-properties
((anchor-type . "as-char")
(margin-left . "0.201cm")
(margin-right . "0.201cm")
(vertical-pos . "middle")
(vertical-rel . "text"))))
(style
((name . "OrgInlineFormula")
(family . "graphic")
(parent-style-name . "Formula"))
(graphic-properties
((vertical-pos . "middle")
(vertical-rel . "text")
(ole-draw-aspect . "1"))))
(style
((name . "OrgDisplayFormula")
(family . "graphic")
(parent-style-name . "OrgFormula"))
(graphic-properties
((vertical-pos . "middle")
(vertical-rel . "text")
(horizontal-pos . "from-left")
(horizontal-rel . "paragraph-content")
(ole-draw-aspect . "1"))))
(style
((name . "OrgFormulaCaptionFrame")
(family . "graphic")
(parent-style-name . "Frame"))
(graphic-properties
((anchor-type . "paragraph")
(margin-left . "0cm")
(margin-right . "0cm")
(margin-top . "0cm")
(margin-bottom . "0cm")
(wrap . "right")
(number-wrapped-paragraphs . "1")
(wrap-contour . "false")
(vertical-pos . "top")
(vertical-rel . "paragraph")
(horizontal-pos . "center")
(horizontal-rel . "paragraph")
(padding . "0cm")
(border . "none"))))
(style
((name . "OrgCaptionedFormula")
(family . "graphic")
(parent-style-name . "OrgFormula"))
(graphic-properties
((margin-left . "0cm")
(margin-right . "0cm")
(margin-top . "0cm")
(margin-bottom . "0cm")
(run-through . "foreground")
(wrap . "none")
(vertical-pos . "from-top")
(vertical-rel . "paragraph-content")
(horizontal-pos . "center")
(horizontal-rel . "paragraph-content")
(padding . "0cm")
(border . "none")
(shadow . "none")
(ole-draw-aspect . "1"))))
(comment nil " Inline Tasks ")
(style
((name . "OrgInlineTaskHeading")
(family . "paragraph")
(parent-style-name . "Caption")
(next-style-name . "Text_20_body"))
(text-properties
((font-name . "Arial1")
(font-style . "normal")
(font-weight . "bold"))))
(style
((name . "OrgInlineTaskFrame")
(family . "graphic")
(parent-style-name . "Frame"))
(graphic-properties
((x . "0cm")
(y . "0cm")
(wrap . "none")
(vertical-pos . "top")
(vertical-rel . "paragraph-content")
(horizontal-pos . "center")
(horizontal-rel . "paragraph-content")
(background-color . "#ffffcc")
(background-transparency . "0%")
(padding . "0.15cm")
(border . "0.26pt solid #000000")
(shadow . "none"))
(background-image nil)))
(list-style
((name . "Numbering_20_1")
(display-name . "Numbering 1"))
(list-level-style-number
((level . "1")
(style-name . "Numbering_20_Symbols")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "0.499cm")
(text-indent . "-0.499cm")
(margin-left . "0.499cm")))))
(list-level-style-number
((level . "2")
(style-name . "Numbering_20_Symbols")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "1cm")
(text-indent . "-0.499cm")
(margin-left . "1cm")))))
(list-level-style-number
((level . "3")
(style-name . "Numbering_20_Symbols")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "1.499cm")
(text-indent . "-0.499cm")
(margin-left . "1.499cm")))))
(list-level-style-number
((level . "4")
(style-name . "Numbering_20_Symbols")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "2cm")
(text-indent . "-0.499cm")
(margin-left . "2cm")))))
(list-level-style-number
((level . "5")
(style-name . "Numbering_20_Symbols")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "2.499cm")
(text-indent . "-0.499cm")
(margin-left . "2.499cm")))))
(list-level-style-number
((level . "6")
(style-name . "Numbering_20_Symbols")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "3cm")
(text-indent . "-0.499cm")
(margin-left . "3cm")))))
(list-level-style-number
((level . "7")
(style-name . "Numbering_20_Symbols")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "3.5cm")
(text-indent . "-0.499cm")
(margin-left . "3.5cm")))))
(list-level-style-number
((level . "8")
(style-name . "Numbering_20_Symbols")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "4.001cm")
(text-indent . "-0.499cm")
(margin-left . "4.001cm")))))
(list-level-style-number
((level . "9")
(style-name . "Numbering_20_Symbols")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "4.5cm")
(text-indent . "-0.499cm")
(margin-left . "4.5cm")))))
(list-level-style-number
((level . "10")
(style-name . "Numbering_20_Symbols")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "5.001cm")
(text-indent . "-0.499cm")
(margin-left . "5.001cm"))))))
(list-style
((name . "List_20_1")
(display-name . "List 1"))
(list-level-style-bullet
((level . "1")
(style-name . "Numbering_20_Symbols")
(bullet-char . "•"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "0.4cm")
(text-indent . "-0.4cm")
(margin-left . "0.4cm"))))
(text-properties
((font-name . "OpenSymbol"))))
(list-level-style-bullet
((level . "2")
(style-name . "Numbering_20_Symbols")
(bullet-char . "•"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "0.801cm")
(text-indent . "-0.4cm")
(margin-left . "0.801cm"))))
(text-properties
((font-name . "OpenSymbol"))))
(list-level-style-bullet
((level . "3")
(style-name . "Numbering_20_Symbols")
(bullet-char . "•"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "1.199cm")
(text-indent . "-0.4cm")
(margin-left . "1.199cm"))))
(text-properties
((font-name . "OpenSymbol"))))
(list-level-style-bullet
((level . "4")
(style-name . "Numbering_20_Symbols")
(bullet-char . "•"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "1.6cm")
(text-indent . "-0.4cm")
(margin-left . "1.6cm"))))
(text-properties
((font-name . "OpenSymbol"))))
(list-level-style-bullet
((level . "5")
(style-name . "Numbering_20_Symbols")
(bullet-char . "•"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "2cm")
(text-indent . "-0.4cm")
(margin-left . "2cm"))))
(text-properties
((font-name . "OpenSymbol"))))
(list-level-style-bullet
((level . "6")
(style-name . "Numbering_20_Symbols")
(bullet-char . "•"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "2.401cm")
(text-indent . "-0.4cm")
(margin-left . "2.401cm"))))
(text-properties
((font-name . "OpenSymbol"))))
(list-level-style-bullet
((level . "7")
(style-name . "Numbering_20_Symbols")
(bullet-char . "•"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "2.799cm")
(text-indent . "-0.4cm")
(margin-left . "2.799cm"))))
(text-properties
((font-name . "OpenSymbol"))))
(list-level-style-bullet
((level . "8")
(style-name . "Numbering_20_Symbols")
(bullet-char . "•"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "3.2cm")
(text-indent . "-0.4cm")
(margin-left . "3.2cm"))))
(text-properties
((font-name . "OpenSymbol"))))
(list-level-style-bullet
((level . "9")
(style-name . "Numbering_20_Symbols")
(bullet-char . "•"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "3.6cm")
(text-indent . "-0.4cm")
(margin-left . "3.6cm"))))
(text-properties
((font-name . "OpenSymbol"))))
(list-level-style-bullet
((level . "10")
(style-name . "Numbering_20_Symbols")
(bullet-char . "•"))
(list-level-properties
((list-level-position-and-space-mode . "label-alignment"))
(list-level-label-alignment
((label-followed-by . "listtab")
(list-tab-stop-position . "4.001cm")
(text-indent . "-0.4cm")
(margin-left . "4.001cm"))))
(text-properties
((font-name . "OpenSymbol")))))
(comment nil " Numbered List ")
(list-style
((name . "OrgNumberedList"))
(list-level-style-number
((level . "1")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((space-before . "0.635cm")
(min-label-width . "0.635cm"))))
(list-level-style-number
((level . "2")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((space-before . "1.27cm")
(min-label-width . "0.635cm"))))
(list-level-style-number
((level . "3")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((space-before . "1.905cm")
(min-label-width . "0.635cm"))))
(list-level-style-number
((level . "4")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((space-before . "2.54cm")
(min-label-width . "0.635cm"))))
(list-level-style-number
((level . "5")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((space-before . "3.175cm")
(min-label-width . "0.635cm"))))
(list-level-style-number
((level . "6")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((space-before . "3.81cm")
(min-label-width . "0.635cm"))))
(list-level-style-number
((level . "7")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((space-before . "4.445cm")
(min-label-width . "0.635cm"))))
(list-level-style-number
((level . "8")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((space-before . "5.08cm")
(min-label-width . "0.635cm"))))
(list-level-style-number
((level . "9")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((space-before . "5.715cm")
(min-label-width . "0.635cm"))))
(list-level-style-number
((level . "10")
(num-suffix . ".")
(num-format . "1"))
(list-level-properties
((space-before . "6.35cm")
(min-label-width . "0.635cm")))))
(comment nil " Bulleted List ")
(list-style
((name . "OrgBulletedList"))
(list-level-style-bullet
((level . "1")
(style-name . "Bullet_20_Symbols")
(num-suffix . ".")
(bullet-char . "•"))
(list-level-properties
((space-before . "0.635cm")
(min-label-width . "0.635cm")))
(text-properties
((font-family . "StarSymbol")
(font-charset . "x-symbol"))))
(list-level-style-bullet
((level . "2")
(style-name . "Bullet_20_Symbols")
(num-suffix . ".")
(bullet-char . "•"))
(list-level-properties
((space-before . "1.27cm")
(min-label-width . "0.635cm")))
(text-properties
((font-family . "StarSymbol")
(font-charset . "x-symbol"))))
(list-level-style-bullet
((level . "3")
(style-name . "Bullet_20_Symbols")
(num-suffix . ".")
(bullet-char . "•"))
(list-level-properties
((space-before . "1.905cm")
(min-label-width . "0.635cm")))
(text-properties
((font-family . "StarSymbol")
(font-charset . "x-symbol"))))
(list-level-style-bullet
((level . "4")
(style-name . "Bullet_20_Symbols")
(num-suffix . ".")
(bullet-char . "•"))
(list-level-properties
((space-before . "2.54cm")
(min-label-width . "0.635cm")))
(text-properties
((font-family . "StarSymbol")
(font-charset . "x-symbol"))))
(list-level-style-bullet
((level . "5")
(style-name . "Bullet_20_Symbols")
(num-suffix . ".")
(bullet-char . "•"))
(list-level-properties
((space-before . "3.175cm")
(min-label-width . "0.635cm")))
(text-properties
((font-family . "StarSymbol")
(font-charset . "x-symbol"))))
(list-level-style-bullet
((level . "6")
(style-name . "Bullet_20_Symbols")
(num-suffix . ".")
(bullet-char . "•"))
(list-level-properties
((space-before . "3.81cm")
(min-label-width . "0.635cm")))
(text-properties
((font-family . "StarSymbol")
(font-charset . "x-symbol"))))
(list-level-style-bullet
((level . "7")
(style-name . "Bullet_20_Symbols")
(num-suffix . ".")
(bullet-char . "•"))
(list-level-properties
((space-before . "4.445cm")
(min-label-width . "0.635cm")))
(text-properties
((font-family . "StarSymbol")
(font-charset . "x-symbol"))))
(list-level-style-bullet
((level . "8")
(style-name . "Bullet_20_Symbols")
(num-suffix . ".")
(bullet-char . "•"))
(list-level-properties
((space-before . "5.08cm")
(min-label-width . "0.635cm")))
(text-properties
((font-family . "StarSymbol")
(font-charset . "x-symbol"))))
(list-level-style-bullet
((level . "9")
(style-name . "Bullet_20_Symbols")
(num-suffix . ".")
(bullet-char . "•"))
(list-level-properties
((space-before . "5.715cm")
(min-label-width . "0.635cm")))
(text-properties
((font-family . "StarSymbol")
(font-charset . "x-symbol"))))
(list-level-style-bullet
((level . "10")
(style-name . "Bullet_20_Symbols")
(num-suffix . ".")
(bullet-char . "•"))
(list-level-properties
((space-before . "6.35cm")
(min-label-width . "0.635cm")))
(text-properties
((font-family . "StarSymbol")
(font-charset . "x-symbol")))))
(comment nil " Description List ")
(list-style
((name . "OrgDescriptionList"))
(list-level-style-number
((level . "1")
(num-format . #1#))
(list-level-properties
((space-before . "0.635cm"))))
(list-level-style-number
((level . "2")
(num-format . #1#))
(list-level-properties
((space-before . "1.27cm"))))
(list-level-style-number
((level . "3")
(num-format . #1#))
(list-level-properties
((space-before . "1.905cm"))))
(list-level-style-number
((level . "4")
(num-format . #1#))
(list-level-properties
((space-before . "2.54cm"))))
(list-level-style-number
((level . "5")
(num-format . #1#))
(list-level-properties
((space-before . "3.175cm"))))
(list-level-style-number
((level . "6")
(num-format . #1#))
(list-level-properties
((space-before . "3.81cm"))))
(list-level-style-number
((level . "7")
(num-format . #1#))
(list-level-properties
((space-before . "4.445cm"))))
(list-level-style-number
((level . "8")
(num-format . #1#))
(list-level-properties
((space-before . "5.08cm"))))
(list-level-style-number
((level . "9")
(num-format . #1#))
(list-level-properties
((space-before . "5.715cm"))))
(list-level-style-number
((level . "10")
(num-format . #1#))
(list-level-properties
((space-before . "6.35cm")))))
(list-style
((name . "OrgSrcBlockNumberedLine"))
(list-level-style-number
((level . "1")
(num-format . "1"))
(list-level-properties
((space-before . "0.635cm")
(min-label-width . "0.635cm")
(min-label-distance . "0.101cm")
(text-align . "end"))))
(list-level-style-number
((level . "2")
(num-format . "1"))
(list-level-properties
((space-before . "1.27cm")
(min-label-width . "0.635cm")
(min-label-distance . "0.101cm")
(text-align . "end"))))
(list-level-style-number
((level . "3")
(num-format . "1"))
(list-level-properties
((space-before . "1.905cm")
(min-label-width . "0.635cm")
(min-label-distance . "0.101cm")
(text-align . "end"))))
(list-level-style-number
((level . "4")
(num-format . "1"))
(list-level-properties
((space-before . "2.54cm")
(min-label-width . "0.635cm")
(min-label-distance . "0.101cm")
(text-align . "end"))))
(list-level-style-number
((level . "5")
(num-format . "1"))
(list-level-properties
((space-before . "3.175cm")
(min-label-width . "0.635cm")
(min-label-distance . "0.101cm")
(text-align . "end"))))
(list-level-style-number
((level . "6")
(num-format . "1"))
(list-level-properties
((space-before . "3.81cm")
(min-label-width . "0.635cm")
(min-label-distance . "0.101cm")
(text-align . "end"))))
(list-level-style-number
((level . "7")
(num-format . "1"))
(list-level-properties
((space-before . "4.445cm")
(min-label-width . "0.635cm")
(min-label-distance . "0.101cm")
(text-align . "end"))))
(list-level-style-number
((level . "8")
(num-format . "1"))
(list-level-properties
((space-before . "5.08cm")
(min-label-width . "0.635cm")
(min-label-distance . "0.101cm")
(text-align . "end"))))
(list-level-style-number
((level . "9")
(num-format . "1"))
(list-level-properties
((space-before . "5.715cm")
(min-label-width . "0.635cm")
(min-label-distance . "0.101cm")
(text-align . "end"))))
(list-level-style-number
((level . "10")
(num-format . "1"))
(list-level-properties
((space-before . "6.35cm")
(min-label-width . "0.635cm")
(min-label-distance . "0.101cm")
(text-align . "end")))))
(notes-configuration
((note-class . "footnote")
(citation-style-name . "Footnote_20_Symbol")
(citation-body-style-name . "Footnote_20_anchor")
(num-format . "1")
(start-value . "0")
(footnotes-position . "page")
(start-numbering-at . "document")))
(notes-configuration
((note-class . "endnote")
(num-format . "i")
(start-value . "0")))
(linenumbering-configuration
((number-lines . "false")
(offset . "0.499cm")
(num-format . "1")
(number-position . "left")
(increment . "5"))))
(automatic-styles nil
(style
((name . "MP1")
(family . "paragraph")
(parent-style-name . "Footer"))
(paragraph-properties
((text-align . "center")
(justify-single-word . "false"))))
(page-layout
((name . "Mpm1")
(page-usage . "mirrored"))
(page-layout-properties
((page-width . "21.001cm")
(page-height . "29.7cm")
(num-format . "1")
(print-orientation . "portrait")
(margin-top . "2cm")
(margin-bottom . "2cm")
(margin-left . "2cm")
(margin-right . "2cm")
(writing-mode . "lr-tb")
(footnote-max-height . "0cm"))
(footnote-sep
((width . "0.018cm")
(distance-before-sep . "0.101cm")
(distance-after-sep . "0.101cm")
(line-style . "none")
(adjustment . "left")
(rel-width . "25%")
(color . "#000000"))))
(header-style nil)
(footer-style nil
(header-footer-properties
((min-height . "0.6cm")
(margin-left . "0cm")
(margin-right . "0cm")
(margin-top . "0.499cm")
(dynamic-spacing . "false")))))
(page-layout
((name . "Mpm2"))
(page-layout-properties
((page-width . "21.001cm")
(page-height . "29.7cm")
(num-format . "1")
(print-orientation . "portrait")
(margin-top . "2cm")
(margin-bottom . "2cm")
(margin-left . "2cm")
(margin-right . "2cm")
(writing-mode . "lr-tb")
(footnote-max-height . "0cm"))
(footnote-sep
((width . "0.018cm")
(distance-before-sep . "0.101cm")
(distance-after-sep . "0.101cm")
(line-style . "solid")
(adjustment . "left")
(rel-width . "25%")
(color . "#000000"))))
(header-style nil)
(footer-style nil))
(page-layout
((name . "Mpm3")
(page-usage . "mirrored"))
(page-layout-properties
((page-width . "21.001cm")
(page-height . "29.7cm")
(num-format . "i")
(print-orientation . "portrait")
(margin-top . "2cm")
(margin-bottom . "2cm")
(margin-left . "2cm")
(margin-right . "2cm")
(writing-mode . "lr-tb")
(footnote-max-height . "0cm"))
(footnote-sep
((width . "0.018cm")
(distance-before-sep . "0.101cm")
(distance-after-sep . "0.101cm")
(line-style . "solid")
(adjustment . "left")
(rel-width . "25%")
(color . "#000000"))))
(header-style nil)
(footer-style nil
(header-footer-properties
((min-height . "0cm")
(margin-left . "0cm")
(margin-right . "0cm")
(margin-top . "0.499cm")))))
(page-layout
((name . "Mpm4")
(page-usage . "right"))
(page-layout-properties
((page-width . "21.001cm")
(page-height . "29.7cm")
(num-format . "1")
(print-orientation . "portrait")
(margin-top . "2cm")
(margin-bottom . "2cm")
(margin-left . "2cm")
(margin-right . "2cm")
(background-color . "transparent")
(writing-mode . "lr-tb")
(footnote-max-height . "0cm"))
(background-image nil)
(footnote-sep
((width . "0.018cm")
(distance-before-sep . "0.101cm")
(distance-after-sep . "0.101cm")
(line-style . "solid")
(adjustment . "left")
(rel-width . "25%")
(color . "#000000"))))
(header-style nil)
(footer-style nil
(header-footer-properties
((min-height . "0.6cm")
(margin-left . "0cm")
(margin-right . "0cm")
(margin-top . "0.499cm")
(dynamic-spacing . "false")))))
(page-layout
((name . "Mpm5")
(page-usage . "mirrored"))
(page-layout-properties
((page-width . "21.001cm")
(page-height . "29.7cm")
(num-format . "1")
(print-orientation . "portrait")
(margin-top . "2cm")
(margin-bottom . "2cm")
(margin-left . "2cm")
(margin-right . "2cm")
(writing-mode . "lr-tb")
(footnote-max-height . "0cm"))
(footnote-sep
((width . "0.018cm")
(distance-before-sep . "0.101cm")
(distance-after-sep . "0.101cm")
(line-style . "solid")
(adjustment . "left")
(rel-width . "25%")
(color . "#000000"))))
(header-style nil)
(footer-style nil
(header-footer-properties
((min-height . "0.6cm")
(margin-left . "0cm")
(margin-right . "0cm")
(margin-top . "0.499cm")
(dynamic-spacing . "false"))))))
(master-styles nil
(master-page
((name . "Standard")
(page-layout-name . "Mpm1"))
(footer nil
(p
((style-name . "MP1"))
(page-number
((select-page . "current"))))))
(master-page
((name . "OrgTitlePage")
(page-layout-name . "Mpm2")
(next-style-name . "OrgFrontMatterPage")))
(master-page
((name . "OrgFrontMatterPage")
(page-layout-name . "Mpm3"))
(footer nil
(p
((style-name . "MP1"))
(page-number
((select-page . "current"))))))
(master-page
((name . "OrgFirstPage")
(page-layout-name . "Mpm4")
(next-style-name . "OrgPage"))
(footer nil
(p
((style-name . "MP1"))
(page-number
((select-page . "current"))))))
(master-page
((name . "OrgPage")
(page-layout-name . "Mpm5"))
(footer nil
(p
((style-name . "MP1"))
(page-number
((select-page . "current")))))))))
#+end_src
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#59537: `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation
2022-11-24 9:01 bug#59537: `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation Ramesh Nedunchezian
@ 2022-11-24 10:23 ` Eli Zaretskii
2022-11-24 10:51 ` Ramesh Nedunchezian
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2022-11-24 10:23 UTC (permalink / raw)
To: Ramesh Nedunchezian; +Cc: 59537
> Date: Thu, 24 Nov 2022 14:31:52 +0530
> From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
>
> `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation.
>
> Stripping out the NAMESPACE information is a bug.
AFAICT, we just call a function from libxml2. So I guess the bug is in that
library?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#59537: `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation
2022-11-24 10:23 ` Eli Zaretskii
@ 2022-11-24 10:51 ` Ramesh Nedunchezian
2022-11-24 11:00 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Ramesh Nedunchezian @ 2022-11-24 10:51 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 59537
On 24/11/22 15:52, Eli Zaretskii wrote:
>> Date: Thu, 24 Nov 2022 14:31:52 +0530
>> From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
>>
>> `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation.
>>
>> Stripping out the NAMESPACE information is a bug.
> AFAICT, we just call a function from libxml2. So I guess the bug is in that
> library?
Do I need to upgrade?
I am on a Debian Unstable, and my laptop was updated only 3-months ago. I would think that for all practical purposes, my libraries are "recent".
I am not familiar with XML or XML libraries much.
May be Emacs should provide other entry points to libxml which would preserve (or return) the namespace information ..
The problem with current state of affairs is that round tripping wouldn't work. That is if I move from XML1->DOM->XML2, XML1 and XML2 will no longer be the same.
I believe, libxml was introduced to cater to Eww's HTML rendering. So, would it be "reasonable" to say that the current entry point is sufficient to work with HTML-like XML, and not for ANY XML.
I am on debian unstable
$ uname -a
Linux debian 5.19.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.19.6-1 (2022-09-01) x86_64 GNU/Linux
~$ ldd `which emacs` | grep xml
libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f5a62052000)
~$ ls -al /lib/x86_64-linux-gnu/libxml2.so.2
lrwxrwxrwx 1 root root 17 Jul 24 01:33 /lib/x86_64-linux-gnu/libxml2.so.2 -> libxml2.so.2.9.14
~$ dpkg -S libxml2.so.2.9.14
libxml2:amd64: /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.14
~$ apt show libxml2:amd64
Package: libxml2
Version: 2.9.14+dfsg-1+b1
Priority: optional
Section: libs
Source: libxml2 (2.9.14+dfsg-1)
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
Installed-Size: 1,938 kB
Depends: libc6 (>= 2.33), libicu71 (>= 71.1-1~), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.2.3.3)
Conflicts: w3c-dtd-xhtml
Homepage: http://xmlsoft.org
Tag: role::shared-lib
Download-Size: 708 kB
APT-Manual-Installed: no
APT-Sources: https://deb.debian.org/debian unstable/main amd64 Packages
Description: GNOME XML library
XML is a metalanguage to let you design your own markup language.
A regular markup language defines a way to describe information in
a certain class of documents (eg HTML). XML lets you define your
own customized markup languages for many classes of document. It
can do this because it's written in SGML, the international standard
metalanguage for markup languages.
.
This package provides a library providing an extensive API to handle
such XML data files.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#59537: `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation
2022-11-24 10:51 ` Ramesh Nedunchezian
@ 2022-11-24 11:00 ` Eli Zaretskii
2022-12-03 0:58 ` Stefan Kangas
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2022-11-24 11:00 UTC (permalink / raw)
To: Ramesh Nedunchezian; +Cc: 59537
> Date: Thu, 24 Nov 2022 16:21:30 +0530
> Cc: 59537@debbugs.gnu.org
> From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
>
> On 24/11/22 15:52, Eli Zaretskii wrote:
> >> Date: Thu, 24 Nov 2022 14:31:52 +0530
> >> From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
> >>
> >> `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation.
> >>
> >> Stripping out the NAMESPACE information is a bug.
> > AFAICT, we just call a function from libxml2. So I guess the bug is in that
> > library?
>
> Do I need to upgrade?
I don't know. I'm not sure the latest libxml2 has this fixed.
I'm saying that you should probably discuss this with the libxml2
developers.
> I believe, libxml was introduced to cater to Eww's HTML rendering.
No, we introduced it for any kind of HTML and XML processing we need.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#59537: `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation
2022-11-24 11:00 ` Eli Zaretskii
@ 2022-12-03 0:58 ` Stefan Kangas
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Kangas @ 2022-12-03 0:58 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 59537-done, Ramesh Nedunchezian
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Thu, 24 Nov 2022 16:21:30 +0530
>> Cc: 59537@debbugs.gnu.org
>> From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
>>
>> On 24/11/22 15:52, Eli Zaretskii wrote:
>> >> Date: Thu, 24 Nov 2022 14:31:52 +0530
>> >> From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
>> >>
>> >> `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation.
>> >>
>> >> Stripping out the NAMESPACE information is a bug.
>> > AFAICT, we just call a function from libxml2. So I guess the bug is in that
>> > library?
>>
>> Do I need to upgrade?
>
> I don't know. I'm not sure the latest libxml2 has this fixed.
>
> I'm saying that you should probably discuss this with the libxml2
> developers.
>
>> I believe, libxml was introduced to cater to Eww's HTML rendering.
>
> No, we introduced it for any kind of HTML and XML processing we need.
Since this doesn't look like a bug in Emacs, I'm closing it now. Please
report it to the libxml2 developers. Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-12-03 0:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-24 9:01 bug#59537: `libxml-parse-xml-region` strips out the namespace information, and namespace prefix in the DOM representation Ramesh Nedunchezian
2022-11-24 10:23 ` Eli Zaretskii
2022-11-24 10:51 ` Ramesh Nedunchezian
2022-11-24 11:00 ` Eli Zaretskii
2022-12-03 0:58 ` Stefan Kangas
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).