Groups | Search | Server Info | Login | Register


Groups > comp.text.xml > #877

> or >

From Manfred Lotz <manfred.lotz@arcor.de>
Newsgroups comp.text.xml
Subject > or &gt;
Date 2017-01-30 21:33 +0100
Message-ID <20170130213323.44a3c525@arcor.com> (permalink)

Show all headers | View raw


Hi there, 
Let us assume I have the following document t.xml

<?xml version="1.0"  encoding="utf-8"?>
<entry>
   bla --> more bla
</entry>


Running xmllint t.xml gives a "corrected' output with &gt;. instead of
>.

However, xmllint doesn't return a non zero return code which means
(if I understand xmllint correctly) that from xmllint's point of view
the document is well formed.

Question: Is the above document really well formed? Or is it required
to have &gt; instead of '>'?

-- 
Manfred



Back to comp.text.xml | Previous | NextNext in thread | Find similar


Thread

> or &gt; Manfred Lotz <manfred.lotz@arcor.de> - 2017-01-30 21:33 +0100
  Re: > or &gt; richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-01-30 21:07 +0000
    Re: > or &gt; Manfred Lotz <manfred.lotz@arcor.de> - 2017-01-31 17:41 +0100
      Re: > or &gt; Peter Flynn <peter@silmaril.ie> - 2017-02-05 15:02 +0000

csiph-web