none
Microsoft BINXML format RRS feed

  • Question

  • According to the MSDN spec for BinXML format ( http://msdn.microsoft.com/en-us/library/cc231308.aspx) an XML element starts with:

    StartElement = OpenStartElementToken 0*1DependencyId ElementByteLength

    How can identify the cases where dependencyId is present and when is not?

    That is needed in order to parse the structure.

    Thank you,

    Adrians

    Thank you

    Thursday, May 29, 2014 1:16 AM

All replies

  • Hi,

    Thank you for this inquiry. One of team members will review this and follow-up soon.

    Regards,

    Edgar

    Thursday, May 29, 2014 3:30 AM
    Moderator
  • Hello adrianNotimportannt -

    I'm researching this for you and keep you posted on the progress.

    Regards


    Tarun Chopra | Escalation Engineer | Open Specifications Support Team

    Thursday, May 29, 2014 4:52 PM
  • Hello adrianNotimportant -

    Per analysis, dependency field is guaranteed to be present for binary xml defining templates. Your parser is expected to be aware (external to the binary format) whether it is reading a template definition or not.

    Hope this resolves your query.

    Regards.


    Tarun Chopra | Escalation Engineer | Open Specifications Support Team

    Thursday, May 29, 2014 5:25 PM
  • Hi Tarun,

    Thank you for the reply.

    I have several Microsoft produced files that sometimes have the dependencyId field present, and sometimes not.

    They are all BinXML files and sometimes the field is present in one section of the XML and is not present later on.

    One should be able to detect when this happens so the parsing is done correctly.

    Here is one example where the field is not present.



    Wednesday, June 4, 2014 3:22 AM
  • Hello adrianNotimportant -

    MS-EVEN6 describes only "on the wire" behavior with event log. The byte sequence you have presented is from data on the disk which has a different encoding. Parsing details for on disk data are out of scope as mentioned in section 3.1.1.6 of MS-EVEN6 open spec.

    Thanks.


    Tarun Chopra | Escalation Engineer | Open Specifications Support Team

    Wednesday, June 4, 2014 10:09 PM