This project is read-only.

.rels xml missing header

Mar 29, 2013 at 12:16 AM
When I create a custom opc package using libopc on MacOS X and add a relationship with opcRelationAdd the produced .rels xml file does not have the usual xml header:
<?xml version= ...

This does not seem to be a problem, but is not equivalent to what microsoft is doing.
Mar 30, 2013 at 11:37 AM
Hi, well --- it should not be a problem. But you can easily add the header in opcContainerWriteRels (container.c). Simply put a opcContainerWriteUtf8Raw(out, _X("<?xml version=....")); in there. Best, Florian
Mar 30, 2013 at 9:44 PM
Hi Florian,
thank you for your reply. I'm using the compiled version libopc-sdk-darwin-debug/release-gcc-x64-0.0.3 and do not feel confident to compile the library myself at this stage.
If you don't mind could you please add this line:
opcContainerWriteUtf8Raw(out, _X('<?xml version="1" encoding="utf-8"?>')) 
before your next release?
Thank you for this very useful library.