I am processing a set of xml documents which have a BOM (EFBBBF) and xqilla
does not seem to output the BOM again after processing them.
I have then tried to hack the xqilla source (which I am building under
windows with vc6 btw) so that it would always add a BOM, but without luck.
The following snippet ilustrates the change that I made to
EventSerializer.cpp:
static const XMLByte BOM_utf8[] = {(XMLByte)0xEF, (XMLByte)0xBB,
(XMLByte)0xBF, (XMLByte) 0};
void EventSerializer::startDocumentEvent(const XMLCh *documentURI, const
XMLCh *encoding)
{
// TBD XML decl? - jpcs
formatter_.writeBOM(BOM_utf8,3);
++level_;
}
I would be very grateful if someone could at least shed some light on how I
could do it and then I would do it on my own, eventually releasing the
source if that is needed.
John Snelson
None
None
Public
|
Date: 2008-08-19 12:40
|
|
Date: 2008-08-18 10:50
|
|
Date: 2008-08-18 10:36
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-08-19 12:40 | unicolet |
| close_date | - | 2008-08-19 12:40 | unicolet |
| assigned_to | nobody | 2008-08-18 10:36 | jpcs |
| priority | 5 | 2008-08-05 10:18 | unicolet |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use