Gets of sets whether undefined attributes on the folder-listing items found while parsing will produce an error, or will simply be discarded. By default an error is produced and parsing is abandoned.
The OBEX folder-listing document is defined formally by an XML DTD (Document Type Definition), see OBEX13.pdf section 9.1.4.1. This defines what items types it can contain and the attributes that can exist on each. For instance, the parent item can contain no attributes, and the file and folder items can contain attributes including Name, Type, Size, Owner etc.
Any valid folder-listing XML document must follow that DTD. However in testing it was found that not all devices follow the specification. The Nokia 6670, for instance, produces documents where the folder item can contain mem-type and label attributes. Normally an XML parser would disallow such additions however the documents produced by such devices include an extra internal subset of the DTD and thus the XML parser will accept such documents as legal.
This folder-listing XML parser application (this class) will also validate the attributes returned by the parser. This property controls whether we will produce an error for undefined attributes, or instead ignore and discard them.
ObexFolderListingParser Class | Brecham.Obex.Objects Namespace