Unintended TraceUnusedAttributes()?
#1
Apost 
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"
Reply
#2
Apost 
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
Reply


Forum Jump:


Copyright © 2011-2017 Spraylight GmbH.