Profile:
  profile_html_1:
    name: "html"
    is_required: 0
    form_type: "textarea"
    value_type: "string"
    is_disp_regist: 1
    is_disp_config: 1
    is_disp_search: 1
    is_edit_public_flag: 0
    default_public_flag: 1
    sort_order: 1055
    Translation:
      ja_JP:
        caption: "<&\"'>Profile.caption ESCAPING HTML TEST DATA"
        info:    "<&\"'>Profile.info ESCAPING HTML TEST DATA"
      en:
        caption: "<&\"'>Profile.caption ESCAPING HTML TEST DATA"
        info:    "<&\"'>Profile.info ESCAPING HTML TEST DATA"

ProfileOption:
  profile_option_html_1:
    sort_order: 1055
    Profile: profile_select_item
    Translation:
      ja_JP:
        value: "<&\"'>ProfileOption.value ESCAPING HTML TEST DATA"
      en:
        value: "<&\"'>ProfileOption.value ESCAPING HTML TEST DATA"

Member:
  html_member_1:
    id: 1055 # it means "XSS (X-55)"
    name: "<&\"'>Member.name ESCAPING HTML TEST DATA"
    is_active: 1
  html_member_2:
    id: 1056
    name: "<&\"'>Member.name ESCAPING HTML TEST DATA"
    is_active: 1
  html_member_3:
    id: 1057
    name: "<&\"'>Member.name ESCAPING HTML TEST DATA"
    is_active: 1


MemberRelationship:
  first_member_html_member_1:
    Member: first_member
    MemberRelatedByMemberIdFrom: html_member_1
    is_friend: 1
  html_member_1_first_member:
    Member: html_member_1
    MemberRelatedByMemberIdFrom: first_member
    is_friend: 1
  html_member_2_html_member_1:
    Member: html_member_2
    MemberRelatedByMemberIdFrom: html_member_1
    is_friend: 1
  html_member_1_first_member_2:
    Member: html_member_1
    MemberRelatedByMemberIdFrom: html_member_2
    is_friend: 1
  html_member_3_html_member_1:
    Member: html_member_3
    MemberRelatedByMemberIdFrom: html_member_1
    is_friend_pre: 1
  html_member_1_first_member_3:
    Member: html_member_1
    MemberRelatedByMemberIdFrom: html_member_3
    is_friend_pre: 1

MemberProfile:
  html_member_1_profile_html_1:
    value: "<&\"'>MemberProfile.value ESCAPING HTML TEST DATA"
    public_flag: 1
    Member: html_member_1
    Profile: profile_html_1

  html_member_1_profile_select_item:
    public_flag: 1
    Profile: profile_select_item
    ProfileOption: profile_option_html_1
    Member: html_member_1
    children: []

MemberConfig:
  html_member_1_pc_address:
    name: "pc_address"
    value: "html1@example.com"
    Member: html_member_1
  html_member_1_password:
    name: "password"
    value: <?php echo md5('password') . "\n"; ?>
    Member: html_member_1
  html_member_2_pc_address:
    name: "pc_address"
    value: "html2@example.com"
    Member: html_member_2
  html_member_2_password:
    name: "password"
    value: <?php echo md5('password') . "\n"; ?>
    Member: html_member_2
  html_member_3_pc_address:
    name: "pc_address"
    value: "html3@example.com"
    Member: html_member_3
  html_member_3_password:
    name: "password"
    value: <?php echo md5('password') . "\n"; ?>
    Member: html_member_3

Community:
  html_community_1:
    id: 1055
    name: "<&\"'>Community.name ESCAPING HTML TEST DATA"
  html_community_2:
    id: 1056
    name: "<&\"'>Community.name2 ESCAPING HTML TEST DATA"

CommunityCategory:
  html_community_category_1:
    name: "<&\"'>CommunityCategory.name ESCAPING HTML TEST DATA"
    tree_key: 1
    is_allow_member_community: 1
    sort_order: 1055

CommunityConfig:
  html_community_description_1:
    Community: html_community_1
    name: "description"
    value: "<&\"'>CommunityConfig.value ESCAPING HTML TEST DATA"
  html_community_1_register_policy:
    Community: html_community_1
    name: "register_policy"
    value: "open"
  html_community_2_is_default:
    Community: html_community_2
    name: "is_default"
    value: 1

CommunityMember:
  html_community_1_html_member_1:
    Community: html_community_1
    Member: html_member_1
  html_community_1_html_member_2:
    Community: html_community_1
    Member: html_member_2
  html_community_2_html_member_1:
    Community: html_community_2
    Member: html_member_1
  html_community_2_html_member_2:
    Community: html_community_2
    Member: html_member_2
  html_community_1_html_member_3:
    Community: html_community_1
    Member: html_member_3
    is_pre: 1

CommunityMemberPosition:
  html_community_1_admin:
    Community: html_community_1
    Member: html_member_1
    CommunityMember: html_community_1_html_member_1
    name: "admin"
  html_community_2_admin:
    Community: html_community_2
    Member: html_member_1
    CommunityMember: html_community_2_html_member_1
    name: "admin"
  html_community_1_sub_admin_confirm:
    Community: html_community_1
    Member: html_member_2
    CommunityMember: html_community_1_html_member_2
    name: "sub_admin_confirm"
  html_community_1_admin_confirm:
    Community: html_community_1
    Member: html_member_2
    CommunityMember: html_community_1_html_member_2
    name: "admin_confirm"
  html_community_2_sub_admin:
    Community: html_community_2
    Member: html_member_2
    CommunityMember: html_community_2_html_member_2
    name: "sub_admin"

File:
  html_file1:
    id: 1055
    name: "<&\"'>File.name ESCAPING HTML TEST DATA"
    type: "image/png"
    original_filename: "<&\"'>File.original_filename ESCAPING HTML TEST DATA"
    FileBin:
      bin: ~
  html_file2:
    id: 1056
    name: "<&\"'>File.name2 ESCAPING HTML TEST DATA"
    type: "text/plain"
    original_filename: "<&\"'>File.original_filename ESCAPING HTML TEST DATA"
    FileBin:
      bin: ~

ActivityData:
  html_activity1:
    id: 1055
    Member: html_member_1
    body: "<&\"'>ActivityData.body ESCAPING HTML TEST DATA"
    created_at: "<?php echo date('Y-m-d H:i:s', strtotime('+1 day')) ?>"
    updated_at: "<?php echo date('Y-m-d H:i:s', strtotime('+1 day')) ?>"
  html_activity2:
    id: 1056
    Member: html_member_2
    body: "<&\"'>ActivityData.body ESCAPING HTML TEST DATA"
    created_at: "<?php echo date('Y-m-d H:i:s', strtotime('+1 day')) ?>"
    updated_at: "<?php echo date('Y-m-d H:i:s', strtotime('+1 day')) ?>"

GadgetConfig:
  gadget_config_rss_box_title:
    Gadget: gadget_rss_box 
    name: "title"
    value: "XSS test feed"
  gadget_config_rss_box_url:
    Gadget: gadget_rss_box 
    name: "url"
    value: "<?php echo dirname(__FILE__) ?>/feeds/www.xss.feed.rss"

OpenIDTrustLog:
  html_openid_trust1:
    id: 2
    Member:  html_member_1
    uri:     "<&\"'>OpenIDTrustLog.uri ESCAPING HTML TEST DATA"
    uri_key: "__hash__"
    is_permanent: true

OAuthConsumerInformation:
  html_oauth_consumer1:
    id:          1055
    name:        "<&\"'>OAuthConsumerInformation.name ESCAPING HTML TEST DATA"
    description: "<&\"'>OAuthConsumerInformation.description ESCAPING HTML TEST DATA"
    using_apis: ["webapi_member_get"]
    Member: html_member_1

OAuthMemberToken:
  first_member_html_oauth_token:
    key_string: "fIrStMeMbErHtMlOaUtHtOkEn"
    secret: "fIrStMeMbErHtMlOaUtHsEcReT"
    type: "access"
    is_active: 1
    Consumer: html_oauth_consumer1
    Member: first_member
