W3C home > Mailing lists > Public > xml-editor@w3.org > October to December 2000

XML Conformance Test

From: Rob Lugt <roblugt@bigfoot.com>
Date: Wed, 8 Nov 2000 23:09:36 -0000
Message-ID: <009c01c049d8$fb2a7080$0200a8c0@elcel.ldn>
To: <xml-editor@w3.org>
We have been using the Oasis XML conformance suite to test our Parser.  This
has exposed a potential error in our implementation and we would like some

The Oasis test file: xmltest/valid/sa/049.xml contains a Byte Order Mark,
the first 4 octets are:- 0xFF 0xFE 0x3C 0x00

The 2nd edition of the XML1.0 recommendation lists these possible Byte Order

      00 00 FE FF UCS-4, big-endian machine (1234 order)
      FF FE 00 00 UCS-4, little-endian machine (4321 order)
      00 00 FF FE UCS-4, unusual octet order (2143)
      FE FF 00 00 UCS-4, unusual octet order (3412)
      FE FF ## ## UTF-16, big-endian
      FF FE ## ## UTF-16, little-endian
      EF BB BF UTF-8

None of these match the Byte Order Mark in 049.xml.  Can you tell us what is
right, the test file or the XML 1.0 recomendation?

Rob Lugt
ElCel Technology
Received on Wednesday, 8 November 2000 18:06:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:40 UTC