The filename is resolved relative to a directory with the same name as the XML file, in the same place as the XML file. So in this case, mdns_replies/lgairplay would be loaded as the example, instead of the contents of the <example> element.
Needed because:
example data may be very large (for web page body fingerprinting)
base64 encoding is very error prone due to the variety of standards
example data may need to contain zero bytes, which cannot be represented in XML
Sample fingerprint XML:
The filename is resolved relative to a directory with the same name as the XML file, in the same place as the XML file. So in this case,
mdns_replies/lgairplay
would be loaded as the example, instead of the contents of the<example>
element.Needed because:
Also needs implementation in Ruby recog.