Package: emacs25-common
Version: 25.1+1-3
Severity: normal

Consider the file generated by:

  printf '<?xml version="1.0"?>\n<root>\f</root>\n'

i.e. a file that contains a ^L character.

nXML regards this file as valid XML, while the ^L character is invalid
in XML 1.0: https://www.w3.org/TR/2006/REC-xml-20060816/#charsets

As a comparison, xmllint complains:

file.xml:2: parser error : PCDATA invalid Char value 12
<root>
      </root>
      ^

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs25-common depends on:
ii  dpkg            1.18.22
ii  emacsen-common  2.0.8
ii  install-info    6.3.0.dfsg.1-1+b1

Versions of packages emacs25-common recommends:
ii  emacs25-el  25.1+1-3

Versions of packages emacs25-common suggests:
ii  emacs25-common-non-dfsg  25.1+1-1
ii  ncurses-term             6.0+20161126-1

-- no debconf information

Reply via email to