Official Murl Engine Forum

Full Version: Unintended TraceUnusedAttributes()?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
when using the "excludeForUserConfigurations" attribute in a package.xml file, probably unintended warnings will show up in the debug console.
Example:

<Resource id="gfx_popup_youwin_en"          fileName="gfx_popup_youwin_en_mid1136.png"
       includeForUserConfigurations="MID"
       includeForOperatingSystems="IOS,OSX"
       excludeForUserConfigurations="DEBUG_ANDROID_QUALITY_LEVELS"
       outputStreamFormat="WEBP"
       outputPixelFormat="R8_G8_B8_A8"
       outputCompressionType="LOSSY"
       outputCompressionQuality="90"/>


Output:
Murl::Util::XmlParser::TraceUnusedAttributes(), line 208: Resource::XmlPackage: Package 'popup_youwin_en.murlres': Line 13, unknown attribute "outputStreamFormat"
Murl::Util::XmlParser::TraceUnusedAttributes(), line 208: Resource::XmlPackage: Package 'popup_youwin_en.murlres': Line 13, unknown attribute "outputPixelFormat"
Murl::Util::XmlParser::TraceUnusedAttributes(), line 208: Resource::XmlPackage: Package 'popup_youwin_en.murlres': Line 13, unknown attribute "outputCompressionType"
Murl::Util::XmlParser::TraceUnusedAttributes(), line 208: Resource::XmlPackage: Package 'popup_youwin_en.murlres': Line 13, unknown attribute "outputCompressionQuality"
Thanks for the report, the fix is already done and will be available with the upcoming update (next week).

The problem only occurred when there were both an "include" and "exclude" condition for a given item at the same time.

Best regards,

dizzy