OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] What is Xml ?

Hi Richard,

the authorative source would be http://www.w3.org/TR/2008/REC-xml-20081126/ (XML-1.0).

Hope this helps,


On 30.07.2012 14:51, Kerry, Richard wrote:


Thanks for that, but I know most of it already.

The issue is that if I'm to get the supplier to change their software or docs I'll need to be able refer to an authoritative source.


-----Original Message-----
From: Stefan Hinz [mailto:stefan.hinz@oracle.com]
Sent: 30 July 2012 13:45
To: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] What is Xml ?

Hi Richard,

  >  Please can someone direct me to an authoritative
explanation of what
constitutes a valid XML file ?

Let me try with expert knowledge freshly gained from Wikipedia

For your below document, this means:

* The<?xml?>  prolog is optional.
* There's no single "root" element that contains all the
other elements.
Therefore, the XML isn't well-formed, and thus not valid.




I've been provided with some "XML" files which are a bit like this :
<category id="information">
   <section id="general">
    <element id="fileinfo" />
<category id="device">
   <section id="Status">
    <element id="1" />
    <element id="2" />
They are described as "XML", together with a note that "...
file can be
created using any XML editor providing the format and tags
required are
used", though I get various errors from emacs+nxml-mode,
XmlMind and Serna.
I think that they are not well-formed, on account of having
two "root
I'm also a bit surprised by the lack of the usual version,
encoding and
standalone attributes in the xml PI, though I suspect they
are actually
And I've just found that it starts with (hex) ef bb bf,
before the "<?"
- is that a byte-order mark ?  Or just another non-standardness ?
I will need to pass this back to the originators so that
they can either :
1.  Change their software to produce/use real XML.
2.  Change their documentation to refer to "XML-like" or similar.
In the meantime I'll need to do some sort of processing to
get it into a
form that I can process.
Blue line

*Richard Kerry*

BNCS Engineer

T: +44 (0)20 82259063

M: +44 (0)7812 325518

Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ



Atos logo

This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you
receive this
e-mail in error, please notify the sender immediately and
destroy it. As
its integrity cannot be secured on the Internet, the Atos group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free
network, the sender
does not warrant that this transmission is virus-free and
will not be
liable for any damages resulting from any virus transmitted.


Stefan Hinz<stefan.hinz@oracle.com>, MySQL Documentation Manager

Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc

ORACLE Deutschland B.V.&   Co. KG
Registered Office: Riesstr. 25, 80992 Muenchen, Germany
Commercial Register: Local Court Of Munich, HRA 95603
Managing Director: Jürgen Kunz

General Partner: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697
Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail:

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

Torsten Stolpmann
Managing Director

verit Informationssysteme GmbH
Europaallee 10
67657 Kaiserslautern

Email: stolpmann@verit.de
Phone: +49 631 520 840 00
Fax: +49 631 520 840 01
Web: http://www.verit.de/

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]