Metacity error: The file format is invalid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eboyjr14
    New Member
    • Apr 2007
    • 27

    Metacity error: The file format is invalid

    I have this xml metacity thing, and it is giving off this error:

    The file format is invalid.
    [code=xml]
    <?xml version="1.0"?>
    <metacity_theme >
    <info>
    <name>Royale</name>
    <author>Devin Samarin</author>
    <copyright>Devi n Samarin, 2007</copyright>
    <date>June 30, 2007</date>
    <description>Ro yale - A copy of the theme used in Windows Media Center Edition</description>
    </info>
    <constant name="IconTitle Spacing" value="0"/>
    <frame_geomet ry name="normal" rounded_top_lef t="true" rounded_top_rig ht="true" rounded_bottom_ left="false" rounded_bottom_ right="false" title_scale="me dium">
    <distance name="left_widt h" value="5"/>
    <distance name="right_wid th" value="5"/>
    <distance name="bottom_he ight" value="5"/>
    <distance name="left_titl ebar_edge" value="1"/>
    <distance name="right_tit lebar_edge" value="7"/>
    <distance name="button_wi dth" value="27"/>
    <distance name="button_he ight" value="23"/>
    <distance name="title_ver tical_pad" value="0"/>
    <border name="title_bor der" left="0" right="0" top="0" bottom="0"/>
    <border name="button_bo rder" left="0" right="0" top="0" bottom="0"/>
    </frame_geometry>
    <frame_geomet ry name="border" parent="normal" has_title="fals e">
    <distance name="button_wi dth" value="0"/>
    <distance name="button_he ight" value="24"/>
    <border name="title_bor der" left="0" right="0" top="0" bottom="0"/>
    <border name="button_bo rder" left="0" right="0" top="0" bottom="0"/>
    </frame_geometry>
    <draw_ops name="title-text-focused">
    <title color="#060606" x="(width - title_width) / 2 +1" y="(height - title_height) / 2 + 1"/>
    <title color="#ffffff" x="(width - title_width) / 2" y="(height - title_height) / 2"/>
    </draw_ops>
    <draw_ops name="title-text-unfocused">
    <title color="#cecece" x="(width - title_width) / 2 +1" y="(height - title_height) / 2 + 1"/>
    <title color="#ffffff" x="(width - title_width) / 2" y="(height - title_height) / 2"/>
    </draw_ops>
    <draw_ops name="blank">
    </draw_ops>
    <draw_ops name="title">
    <image filename="title bar-left-focused.png" x="0" y="0" width="object_w idth" height="height"/>
    <image filename="title bar-mid-focused.png" x="10" y="0" width="width - 10" height="height"/>
    <image filename="title bar-right-focused.png" x="width - object_width" y="0" width="object_w idth" height="height"/>
    </draw_ops>
    <draw_ops name="title-shaded">
    <image filename="title bar-left-shaded-focused.png" x="0" y="0" width="object_w idth" height="height"/>
    <image filename="title bar-mid-shaded-focused.png" x="10" y="0" width="width - 10" height="height"/>
    <image filename="title bar-right-shaded-focused.png" x="width - object_width" y="0" width="object_w idth" height="height"/>
    </draw_ops>
    <draw_ops name="frame-left-focused">
    <image filename="frame-left-focused.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="frame-right-focused">
    <image filename="frame-right-focused.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="frame-bottom-focused">
    <image filename="frame-bottom-left-focused.png" x="0" y="0" width="5" height="object_ height"/>
    <image filename="frame-bottom-mid-focused.png" x="5" y="0" width="width - 10" height="object_ height"/>
    <image filename="frame-bottom-right-focused.png" x="width - object_width" y="0" width="object_w idth" height="object_ height"/>
    </draw_ops>
    <draw_ops name="button-close-focused">
    <image filename="close _normal.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-close-unfocused">
    <image filename="close _inactive.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-close-pressed">
    <image filename="close _down.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-maximize-focused">
    <image filename="max_n ormal.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-maximize-unfocused">
    <image filename="max_i nactive.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-maximize-pressed">
    <image filename="max_d own.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-minimize-focused">
    <image filename="min_n ormal.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-minimize-unfocused">
    <image filename="min_i nactive.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-minimize-pressed">
    <image filename="min_d own.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-menu-focused">
    <image filename="butto n-menu-focused.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-menu-unfocused">
    <image filename="butto n-menu-unfocused.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <draw_ops name="button-menu-pressed">
    <image filename="butto n-menu-pressed.png" x="0" y="0" width="width" height="height"/>
    </draw_ops>
    <frame_style name="normal-focused" geometry="norma l">
    <piece position="title bar" draw_ops="title "/>
    <piece position="left_ edge" draw_ops="frame-left-focused"/>
    <piece position="right _edge" draw_ops="frame-right-focused"/>
    <piece position="botto m_edge" draw_ops="frame-bottom-focused"/>
    <piece position="title " draw_ops="title-text-focused"/>
    <button function="close " state="normal" draw_ops="butto n-close-unfocused"/>
    <button function="close " state="prelight " draw_ops="butto n-close-focused"/>
    <button function="close " state="pressed" draw_ops="butto n-close-pressed"/>
    <button function="minim ize" state="normal" draw_ops="butto n-minimize-unfocused"/>
    <button function="minim ize" state="prelight " draw_ops="butto n-minimize-focused"/>
    <button function="minim ize" state="pressed" draw_ops="butto n-minimize-pressed"/>
    <button function="maxim ize" state="normal" draw_ops="butto n-maximize-unfocused"/>
    <button function="maxim ize" state="prelight " draw_ops="butto n-maximize-focused"/>
    <button function="maxim ize" state="pressed" draw_ops="butto n-maximize-pressed"/>
    <button function="menu" state="normal" draw_ops="butto n-menu-unfocused"/>
    <button function="menu" state="prelight " draw_ops="butto n-menu-focused"/>
    <button function="menu" state="pressed" draw_ops="butto n-menu-pressed"/>
    </frame_style>
    <frame_style name="normal-unfocused" geometry="norma l">
    <piece position="title bar" draw_ops="title "/>
    <piece position="left_ edge" draw_ops="frame-left-focused"/>
    <piece position="right _edge" draw_ops="frame-right-focused"/>
    <piece position="botto m_edge" draw_ops="frame-bottom-focused"/>
    <piece position="title " draw_ops="title-text-unfocused"/>
    <button function="close " state="normal" draw_ops="butto n-close-unfocused"/>
    <button function="close " state="prelight " draw_ops="butto n-close-focused"/>
    <button function="close " state="pressed" draw_ops="butto n-close-pressed"/>
    <button function="minim ize" state="normal" draw_ops="butto n-minimize-unfocused"/>
    <button function="minim ize" state="prelight " draw_ops="butto n-minimize-focused"/>
    <button function="minim ize" state="pressed" draw_ops="butto n-minimize-pressed"/>
    <button function="maxim ize" state="normal" draw_ops="butto n-maximize-unfocused"/>
    <button function="maxim ize" state="prelight " draw_ops="butto n-maximize-focused"/>
    <button function="maxim ize" state="pressed" draw_ops="butto n-maximize-pressed"/>
    <button function="menu" state="normal" draw_ops="butto n-menu-unfocused"/>
    <button function="menu" state="prelight " draw_ops="butto n-menu-focused"/>
    <button function="menu" state="pressed" draw_ops="butto n-menu-pressed"/>
    </frame_style>
    <frame_style name="normal-shaded-focused" geometry="norma l" parent="normal-focused">
    <piece position="title bar" draw_ops="title-shaded"/>
    </frame_style>
    <frame_style name="normal-shaded-unfocused" geometry="norma l" parent="normal-unfocused">
    <piece position="title bar" draw_ops="title-shaded"/>
    </frame_style>
    <frame_style_se t name="normal">
    <frame focus="yes" state="normal" resize="both" style="normal-focused"/>
    <frame focus="no" state="normal" resize="both" style="normal-unfocused"/>
    <frame focus="yes" state="maximize d" style="normal-focused"/>
    <frame focus="no" state="maximize d" style="normal-unfocused"/>
    <frame focus="yes" state="shaded" style="normal-shaded-focused"/>
    <frame focus="no" state="shaded" style="normal-shaded-unfocused"/>
    <frame focus="yes" state="maximize d_and_shaded" style="normal-shaded-focused"/>
    <frame focus="no" state="maximize d_and_shaded" style="normal-shaded-unfocused"/>
    </frame_style_set >
    <window type="normal" style_set="norm al"/>
    <window type="dialog" style_set="norm al"/>
    <window type="modal_dia log" style_set="norm al"/>
    <window type="menu" style_set="norm al"/>
    <window type="utility" style_set="norm al"/>
    <window type="border" style_set="norm al"/>
    <menu_icon function="close " state="normal" draw_ops="butto n-close-focused"/>
    <menu_icon function="maxim ize" state="normal" draw_ops="butto n-maximize-focused"/>
    <menu_icon function="unmax imize" state="normal" draw_ops="butto n-maximize-focused"/>
    <menu_icon function="minim ize" state="normal" draw_ops="butto n-minimize-focused"/>
    </metacity_theme>
    [/code]
Working...