NEWBIE - JAXB and Schema definition

Hi,
I've defined an schema that defines a sequence of elements (of a complex type)
When I use the JAXB tool to generate the classes, the Interfaces created
do not have any kind of setxxx() in orther to add any element, but instead has created the correspondig Lis getxxx()
Anybody knows where can be the problem???

Problem solved <Sorry for the waste of time/space>

Similar Messages

  • JAXB binding schema type conversions

    If your DTD contains something like this:
    <!ELEMENT chicken (egg+)>
    then JAXB gives you a Chicken class with a method that returns a List of Egg objects.
    How can I specify in the binding schema that this collection should be a Hashtable (or other type of collection), not the default List? I think I probably have to write some sort of conversion class, but what is the syntax and how do I get it into my binding schema?

    Hi you can use the <option> tag at the top-level of your binding schema definition. You can define the default collection type of to be used e.g.
    <options default-reference-collection-type="array"/>
    Or you can use the collection attribute of most element bindings e.g.
    <choice property="entries" collection="array"/>
    But only arrays and lists are supported. If you want a different collection type, then you will have to subclass the generated classes and use the Collections class and the collection classes to convert between different collection types.
    Hope this helps.

  • ORA-30937: No schema definition for

    Here are the steps I followed to load the xml
    DBMS_XMLSCHEMA.REGISTERSCHEMA(
    SCHEMAURL => 'security.xsd',
    SCHEMADOC => BFILENAME('XML_DIR', 'security.xsd')
    LOCAL => TRUE
    CREATE TABLE TMP_XML_TABLES
    xml_document XMLType
    XMLType COLUMN xml_document
    XMLSchema "security.xsd"
    ELEMENT "security"
    INSERT INTO TMP_XML_TABLES
    VALUES
    xmltype
    BFILENAME('XML_CLOB_DIR', 'sec.xml'),
    nls_charset_id('AL32UTF8')
    I am getting below error.
    ORA-30937: No schema definition for 'fido_flag' (namespace '##local') in parent '/security/security_
    ORA-06512: at "SYS.XMLTYPE", line 295
    ORA-06512: at line 1
    Below is the XSD and XML file. Please let me know what is wrong with it.
    security.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Cary Liu (Cary Liu) -->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="security">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="security_row" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="variable_rate_row" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
                   <xs:attribute name="security_count" type="xs:long" use="optional"/>
                   <xs:attribute name="variable_rate_count" type="xs:long" use="optional"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="security_row">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="security_id"/>
                        <xs:element ref="primary_asset_id"/>
                        <xs:element ref="delay_days"/>
                        <xs:element ref="arm_indicator"/>
                        <xs:element ref="camra_abs_und_coll"/>
                        <xs:element ref="camra_abs_und_coll_cpn"/>
                        <xs:element ref="initial_principal_pay_date"/>
                        <xs:element ref="final_principal_pay_date"/>
                        <xs:element ref="mtg_term"/>
                        <xs:element ref="original_face"/>
                        <xs:element ref="pool_number"/>
                        <xs:element ref="principal_pay_frequency"/>
                        <xs:element ref="pay_down_date"/>
                        <xs:element ref="principal_pay_bus_day_rule"/>
                        <xs:element ref="seasoned_mbs"/>
                        <xs:element ref="tba_stlmt_month"/>
                        <xs:element ref="accrual_flag"/>
                        <xs:element ref="accrual_rule"/>
                        <xs:element ref="base_payment_date"/>
                        <xs:element ref="day_count"/>
                        <xs:element ref="ex_interest_bond_code"/>
                        <xs:element ref="ex_days"/>
                        <xs:element ref="ex_div_date"/>
                        <xs:element ref="last_coupon_date"/>
                        <xs:element ref="for_bond_security_type"/>
                        <xs:element ref="dated_date"/>
                        <xs:element ref="issue_date"/>
                        <xs:element ref="first_coupon_date"/>
                        <xs:element ref="second_coupon_date"/>
                        <xs:element ref="mat_date"/>
                        <xs:element ref="interest_accrual_method"/>
                        <xs:element ref="odd_first_coupon_date"/>
                        <xs:element ref="odd_last_coupon_date"/>
                        <xs:element ref="payment_eom_rule"/>
                        <xs:element ref="pay_frequency"/>
                        <xs:element ref="pay_business_day_rule"/>
                        <xs:element ref="yield_day_count"/>
                        <xs:element ref="zero_coupon_type"/>
                        <xs:element ref="analyst"/>
                        <xs:element ref="analyst_recomm"/>
                        <xs:element ref="approval_flag"/>
                        <xs:element ref="camra_sec_type"/>
                        <xs:element ref="class"/>
                        <xs:element ref="comments"/>
                        <xs:element ref="holding_style"/>
                        <xs:element ref="issued_capital"/>
                        <xs:element ref="issued_capital_currency"/>
                        <xs:element ref="min_denomination"/>
                        <xs:element ref="price_multiplier"/>
                        <xs:element ref="pricing_identifier"/>
                        <xs:element ref="quantity_issued"/>
                        <xs:element ref="shares_outstanding"/>
                        <xs:element ref="quantity_type"/>
                        <xs:element ref="redemption_value"/>
                        <xs:element ref="scb_industry"/>
                        <xs:element ref="issue_desc1"/>
                        <xs:element ref="issue_desc2"/>
                        <xs:element ref="issue_desc3"/>
                        <xs:element ref="issue_short_name"/>
                        <xs:element ref="trading_lot_size"/>
                        <xs:element ref="unit_factor"/>
                        <xs:element ref="camra_exercise_date"/>
                        <xs:element ref="camra_expiration_date"/>
                        <xs:element ref="alliance_sector"/>
                        <xs:element ref="alliance_industry"/>
                        <xs:element ref="apace_security_type"/>
                        <xs:element ref="camra_gl_type"/>
                        <xs:element ref="emerg_mkt_ind"/>
                        <xs:element ref="form_13f_flag"/>
                        <xs:element ref="instrument_class"/>
                        <xs:element ref="issue_type"/>
                        <xs:element ref="mortgage_sector"/>
                        <xs:element ref="naic_code"/>
                        <xs:element ref="performance_segment"/>
                        <xs:element ref="program_type"/>
                        <xs:element ref="camra_sic_code2"/>
                        <xs:element ref="camra_sched_d_group"/>
                        <xs:element ref="camra_sched_d_state"/>
                        <xs:element ref="security_form"/>
                        <xs:element ref="security_type_distrib"/>
                        <xs:element ref="camra_sic_code"/>
                        <xs:element ref="structured_note_flag"/>
                        <xs:element ref="underlying_category"/>
                        <xs:element ref="primary_asset_id_type"/>
                        <xs:element ref="superticker"/>
                        <xs:element ref="default_status"/>
                        <xs:element ref="default_date"/>
                        <xs:element ref="accrue_in_default_ind"/>
                        <xs:element ref="ctd_bond"/>
                        <xs:element ref="contract_size"/>
                        <xs:element ref="derivative_type"/>
                        <xs:element ref="delivery_method"/>
                        <xs:element ref="conversion_factor"/>
                        <xs:element ref="flex_option_ind"/>
                        <xs:element ref="leap_option_ind"/>
                        <xs:element ref="orig_strike_price"/>
                        <xs:element ref="otc_flag"/>
                        <xs:element ref="part_paid_percent"/>
                        <xs:element ref="strike_price"/>
                        <xs:element ref="put_call_flag"/>
                        <xs:element ref="strike_price_type"/>
                        <xs:element ref="pay_currency"/>
                        <xs:element ref="rec_currency"/>
                        <xs:element ref="premium_amount"/>
                        <xs:element ref="warrant_style"/>
                        <xs:element ref="pay_status"/>
                        <xs:element ref="tick_amount"/>
                        <xs:element ref="right_warrant_option_type"/>
                        <xs:element ref="underlying_cusip"/>
                        <xs:element ref="var_margin_rule"/>
                        <xs:element ref="nominal_annual_income"/>
                        <xs:element ref="dividend_frequency"/>
                        <xs:element ref="dividend_reinvestment_ind"/>
                        <xs:element ref="dr_sponsoring"/>
                        <xs:element ref="dr_sponsor"/>
                        <xs:element ref="claim_type"/>
                        <xs:element ref="dated_date_cpi"/>
                        <xs:element ref="when_issued_ind"/>
                        <xs:element ref="series"/>
                        <xs:element ref="tranche"/>
                        <xs:element ref="guarantee_type"/>
                        <xs:element ref="deep_discount_ind"/>
                        <xs:element ref="perpetual_flag"/>
                        <xs:element ref="maturity_override"/>
                        <xs:element ref="camra_index_desc"/>
                        <xs:element ref="camra_index_spread"/>
                        <xs:element ref="coupon"/>
                        <xs:element ref="rate_benchmark"/>
                        <xs:element ref="rate_multiplier"/>
                        <xs:element ref="spread_to_benchmark"/>
                        <xs:element ref="rate_reset_frequency"/>
                        <xs:element ref="rate_base_reset_date"/>
                        <xs:element ref="reset_lag_days"/>
                        <xs:element ref="reset_lockout_days"/>
                        <xs:element ref="next_reset_date"/>
                        <xs:element ref="rate_calculate_switch"/>
                        <xs:element ref="rate_reset_bus_day_rule"/>
                        <xs:element ref="rate_reset_eom_rule"/>
                        <xs:element ref="rate_type"/>
                        <xs:element ref="mutual_fund_sponsor"/>
                        <xs:element ref="regulated_flag"/>
                        <xs:element ref="tia_1961_flag"/>
                        <xs:element ref="accumulation_income_flag"/>
                        <xs:element ref="fsa_indicator"/>
                        <xs:element ref="income_dist_policy"/>
                        <xs:element ref="mutual_fund_charge_type"/>
                        <xs:element ref="holdings_flag"/>
                        <xs:element ref="issuer_type"/>
                        <xs:element ref="issuer_id"/>
                        <xs:element ref="parent_issuer_id"/>
                        <xs:element ref="country"/>
                        <xs:element ref="currency"/>
                        <xs:element ref="country_of_origin"/>
                        <xs:element ref="risk_country"/>
                        <xs:element ref="currency_of_earnings"/>
                        <xs:element ref="currency_of_income"/>
                        <xs:element ref="currency_of_trade"/>
                        <xs:element ref="principal_currency"/>
                        <xs:element ref="exchange"/>
                        <xs:element ref="state_code"/>
                        <xs:element ref="muni_insurance"/>
                        <xs:element ref="conduit"/>
                        <xs:element ref="muni_note_type"/>
                        <xs:element ref="muni_issuer"/>
                        <xs:element ref="obligation_type"/>
                        <xs:element ref="oes_next_call_date"/>
                        <xs:element ref="offering_yield"/>
                        <xs:element ref="remarketing_agent"/>
                        <xs:element ref="tax_exempt_region"/>
                        <xs:element ref="fed_wire"/>
                        <xs:element ref="oid_flag"/>
                        <xs:element ref="oid_number"/>
                        <xs:element ref="oi_price"/>
                        <xs:element ref="camra_moody_sector"/>
                        <xs:element ref="restricted"/>
                        <xs:element ref="camra_class_144"/>
                        <xs:element ref="foreign_restriction_ind"/>
                        <xs:element ref="foreign_restriction_req"/>
                        <xs:element ref="sec_144a"/>
                        <xs:element ref="reg_s"/>
                        <xs:element ref="prvt_place_ind"/>
                        <xs:element ref="liquid_flag"/>
                        <xs:element ref="call_protection_period"/>
                        <xs:element ref="call_protection_type"/>
                        <xs:element ref="camra_make_whole_ind"/>
                        <xs:element ref="camra_conversion_price"/>
                        <xs:element ref="convertible_flag"/>
                        <xs:element ref="nra_tax_code"/>
                        <xs:element ref="tax_relief_at_source_ind"/>
                        <xs:element ref="tax_withholding_code"/>
                        <xs:element ref="tax_status"/>
                        <xs:element ref="voting_rights"/>
                        <xs:element ref="votes_per_share"/>
                        <xs:element ref="cum_voting_flag"/>
                        <xs:element ref="coupon_cap"/>
                        <xs:element ref="coupon_floor"/>
                        <xs:element ref="cross_currency_country"/>
                        <xs:element ref="cross_currency_fwd_rate"/>
                        <xs:element ref="cross_rate"/>
                        <xs:element ref="fwd_base_rate"/>
                        <xs:element ref="fwd_rate"/>
                        <xs:element ref="fwd_reset_date"/>
                        <xs:element ref="spot_base_rate"/>
                        <xs:element ref="spot_cross_rate"/>
                        <xs:element ref="fwd_point_difference"/>
                        <xs:element ref="fwd_broker_code"/>
                        <xs:element ref="fwd_side"/>
                        <xs:element ref="redemption_currency"/>
                        <xs:element ref="redenomination_date"/>
                        <xs:element ref="redenomination_flag"/>
                        <xs:element ref="amt_flag"/>
                        <xs:element ref="orig_entrydate"/>
                        <xs:element ref="orig_enteredby"/>
                        <xs:element ref="last_entrydate"/>
                        <xs:element ref="last_enteredby"/>
                        <xs:element ref="credit_family_id"/>
                        <xs:element ref="cusip"/>
                        <xs:element ref="isin"/>
                        <xs:element ref="sedol"/>
                        <xs:element ref="ticker"/>
                        <xs:element ref="apace_accrual_type"/>
                        <xs:element ref="capital_income_flag"/>
                        <xs:element ref="wal_date"/>
                        <xs:element ref="cfb_level_pay"/>
                        <xs:element ref="pending_corp_action"/>
                        <xs:element ref="pending_proxy_vote"/>
                        <xs:element ref="pms_live_indicator"/>
                        <xs:element ref="pms_price_type"/>
                        <xs:element ref="spark_flag"/>
                        <xs:element ref="whittingdale_debt_cat"/>
                        <xs:element ref="whittingdale_rating"/>
                        <xs:element ref="whittingdale_code"/>
                        <xs:element ref="expiration_date"/>
                        <xs:element ref="maturity_price"/>
                        <xs:element ref="commencement_date"/>
                        <xs:element ref="declared_payment_date"/>
                        <xs:element ref="drawer"/>
                        <xs:element ref="fv_volatility"/>
                        <xs:element ref="mv_volatility"/>
                        <xs:element ref="settle_period"/>
                        <xs:element ref="trading_margin"/>
                        <xs:element ref="compound_frequency"/>
                        <xs:element ref="coupon_rounding"/>
                        <xs:element ref="duration_to_reset"/>
                        <xs:element ref="float_rate_index_location"/>
                        <xs:element ref="periodic_basis_point_cap"/>
                        <xs:element ref="weighted_average_coupon"/>
                        <xs:element ref="whittingdale_issuer"/>
                        <xs:element ref="settlement_location"/>
                        <xs:element ref="attachment_lower"/>
                        <xs:element ref="attachment_upper"/>
                        <xs:element ref="exposure_type"/>
                        <xs:element ref="nth2default"/>
                        <xs:element ref="restruct_doc_clause"/>
                        <xs:element ref="swap_counterparty"/>
                        <xs:element ref="swaption_issue_date"/>
                        <xs:element ref="swaption_mat_date"/>
                        <xs:element ref="apace_call_price"/>
                        <xs:element ref="apace_call_date"/>
                        <xs:element ref="apace_callable_flag"/>
                        <xs:element ref="apace_put_price"/>
                        <xs:element ref="apace_put_date"/>
                        <xs:element ref="apace_putable_flag"/>
                        <xs:element ref="apace_day_count"/>
                        <xs:element ref="apace_io_ind"/>
                        <xs:element ref="apace_pass_thru_flag"/>
                        <xs:element ref="apace_price_method"/>
                        <xs:element ref="apace_price_source"/>
                        <xs:element ref="apace_depository_type"/>
                        <xs:element ref="apace_conv_ratio"/>
                        <xs:element ref="apace_floating_rate"/>
                        <xs:element ref="apace_frn_reset_code"/>
                        <xs:element ref="apace_frn_reset_date"/>
                        <xs:element ref="apace_step_conversion_date"/>
                        <xs:element ref="apace_step_conversion_rate"/>
                        <xs:element ref="apace_accrual_date_code"/>
                        <xs:element ref="apace_payment_date_code"/>
                        <xs:element ref="apace_payment_cycle_code"/>
                        <xs:element ref="apace_par_call_date"/>
                        <xs:element ref="apace_prerefund_price"/>
                        <xs:element ref="apace_prerefund_date"/>
                        <xs:element ref="apace_sink_fund_flag"/>
                        <xs:element ref="make_whole_call_flag"/>
                        <xs:element ref="fido_security_type_jvst"/>
                        <xs:element ref="fido_security_type_jstp"/>
                        <xs:element ref="fido_issuer_id"/>
                        <xs:element ref="fido_guarantor_id"/>
                        <xs:element ref="fido_name"/>
                        <xs:element ref="draft_id"/>
                        <xs:element ref="bbsw_at_last_reset"/>
                        <xs:element ref="delta"/>
                        <xs:element ref="price"/>
                        <xs:element ref="benchmark_index_sec"/>
                        <xs:element ref="index_multiplier"/>
                        <xs:element ref="index_spread"/>
                        <xs:element ref="index_link_location"/>
                        <xs:element ref="index_lag"/>
                        <xs:element ref="benchmark_rounding"/>
                        <xs:element ref="index_link_bus_day_rule"/>
                        <xs:element ref="calculation_type"/>
                        <xs:element ref="start_day_of_month"/>
                        <xs:element ref="pms_issue"/>
                        <xs:element ref="pms_name"/>
                        <xs:element ref="camra_cusip"/>
                        <xs:element ref="infoexpress_id"/>
                        <xs:element ref="issuer_desc"/>
                        <xs:element ref="parent_issuer_desc"/>
                        <xs:element ref="lead_mgr"/>
                        <xs:element ref="co_mgr"/>
                        <xs:element ref="superticker_desc"/>
                        <xs:element ref="fmc_id"/>
                        <xs:element ref="spintl_id"/>
                        <xs:element ref="tranche_type"/>
                        <xs:element ref="collateral_type"/>
                        <xs:element ref="ab_fund_desc"/>
                        <xs:element ref="adp_number"/>
                        <xs:element ref="underlying_account_id"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
         <xs:element name="variable_rate_row">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="security_id"/>
                        <xs:element ref="primary_asset_id"/>
                        <xs:element ref="sedol"/>
                        <xs:element ref="rate_type"/>
                        <xs:element ref="coupon"/>
                        <xs:element ref="effective_date"/>
                        <xs:element ref="delete_flag"/>
                        <xs:element ref="update_flag"/>
                        <xs:element ref="last_enteredby"/>
                        <xs:element ref="last_entrydate"/>
                        <xs:element ref="pms_live_indicator"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
         <xs:element name="security_id" type="xs:string"/>
         <xs:element name="primary_asset_id" type="xs:string"/>
         <xs:element name="delay_days" type="xs:double" nillable="true"/>
         <xs:element name="arm_indicator" type="xs:string" nillable="true"/>
         <xs:element name="camra_abs_und_coll" type="xs:string" nillable="true"/>
         <xs:element name="camra_abs_und_coll_cpn" type="xs:double" nillable="true"/>
         <xs:element name="initial_principal_pay_date" type="xs:date" nillable="true"/>
         <xs:element name="final_principal_pay_date" type="xs:date" nillable="true"/>
         <xs:element name="mtg_term" type="xs:int" nillable="true"/>
         <xs:element name="original_face" type="xs:double" nillable="true"/>
         <xs:element name="pool_number" type="xs:string" nillable="true"/>
         <xs:element name="principal_pay_frequency" type="xs:string" nillable="true"/>
         <xs:element name="pay_down_date" type="xs:string" nillable="true"/>
         <xs:element name="principal_pay_bus_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="seasoned_mbs" type="xs:string" nillable="true"/>
         <xs:element name="tba_stlmt_month" type="xs:string" nillable="true"/>
         <xs:element name="accrual_flag" type="xs:string" nillable="true"/>
         <xs:element name="accrual_rule" type="xs:string" nillable="true"/>
         <xs:element name="base_payment_date" type="xs:string" nillable="true"/>
         <xs:element name="day_count" type="xs:string" nillable="true"/>
         <xs:element name="ex_interest_bond_code" type="xs:string" nillable="true"/>
         <xs:element name="ex_days" type="xs:int" nillable="true"/>
         <xs:element name="ex_div_date" type="xs:date" nillable="true"/>
         <xs:element name="last_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="for_bond_security_type" type="xs:string" nillable="true"/>
         <xs:element name="dated_date" type="xs:date" nillable="true"/>
         <xs:element name="issue_date" type="xs:date" nillable="true"/>
         <xs:element name="first_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="second_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="mat_date" type="xs:date" nillable="true"/>
         <xs:element name="interest_accrual_method" type="xs:string" nillable="true"/>
         <xs:element name="odd_first_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="odd_last_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="payment_eom_rule" type="xs:string" nillable="true"/>
         <xs:element name="pay_frequency" type="xs:string" nillable="true"/>
         <xs:element name="pay_business_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="yield_day_count" type="xs:string" nillable="true"/>
         <xs:element name="zero_coupon_type" type="xs:string" nillable="true"/>
         <xs:element name="analyst" type="xs:string" nillable="true"/>
         <xs:element name="analyst_recomm" type="xs:string" nillable="true"/>
         <xs:element name="approval_flag" type="xs:string" nillable="true"/>
         <xs:element name="camra_sec_type" type="xs:string" nillable="true"/>
         <xs:element name="class" type="xs:string" nillable="true"/>
         <xs:element name="comments" type="xs:string" nillable="true"/>
         <xs:element name="holding_style" type="xs:string" nillable="true"/>
         <xs:element name="issued_capital" type="xs:double" nillable="true"/>
         <xs:element name="issued_capital_currency" type="xs:string" nillable="true"/>
         <xs:element name="min_denomination" type="xs:double" nillable="true"/>
         <xs:element name="price_multiplier" type="xs:double" nillable="true"/>
         <xs:element name="pricing_identifier" type="xs:string" nillable="true"/>
         <xs:element name="quantity_issued" type="xs:double" nillable="true"/>
         <xs:element name="shares_outstanding" type="xs:decimal" nillable="true"/>
         <xs:element name="quantity_type" type="xs:string" nillable="true"/>
         <xs:element name="redemption_value" type="xs:double" nillable="true"/>
         <xs:element name="scb_industry" type="xs:string" nillable="true"/>
         <xs:element name="issue_desc1" type="xs:string" nillable="true"/>
         <xs:element name="issue_desc2" type="xs:string" nillable="true"/>
         <xs:element name="issue_desc3" type="xs:string" nillable="true"/>
         <xs:element name="issue_short_name" type="xs:string" nillable="true"/>
         <xs:element name="trading_lot_size" type="xs:double" nillable="true"/>
         <xs:element name="unit_factor" type="xs:double" nillable="true"/>
         <xs:element name="camra_exercise_date" type="xs:date" nillable="true"/>
         <xs:element name="camra_expiration_date" type="xs:date" nillable="true"/>
         <xs:element name="alliance_sector" type="xs:string" nillable="true"/>
         <xs:element name="alliance_industry" type="xs:string" nillable="true"/>
         <xs:element name="apace_security_type" type="xs:string" nillable="true"/>
         <xs:element name="camra_gl_type" type="xs:string" nillable="true"/>
         <xs:element name="emerg_mkt_ind" type="xs:string" nillable="true"/>
         <xs:element name="form_13f_flag" type="xs:string" nillable="true"/>
         <xs:element name="instrument_class" type="xs:string"/>
         <xs:element name="issue_type" type="xs:string"/>
         <xs:element name="mortgage_sector" type="xs:string" nillable="true"/>
         <xs:element name="naic_code" type="xs:string" nillable="true"/>
         <xs:element name="performance_segment" type="xs:string" nillable="true"/>
         <xs:element name="program_type" type="xs:string" nillable="true"/>
         <xs:element name="camra_sic_code2" type="xs:string" nillable="true"/>
         <xs:element name="camra_sched_d_group" type="xs:string" nillable="true"/>
         <xs:element name="camra_sched_d_state" type="xs:string" nillable="true"/>
         <xs:element name="security_form" type="xs:string" nillable="true"/>
         <xs:element name="security_type_distrib" type="xs:string" nillable="true"/>
         <xs:element name="camra_sic_code" type="xs:string" nillable="true"/>
         <xs:element name="structured_note_flag" type="xs:string" nillable="true"/>
         <xs:element name="underlying_category" type="xs:string" nillable="true"/>
         <xs:element name="primary_asset_id_type" type="xs:string"/>
         <xs:element name="superticker" type="xs:string" nillable="true"/>
         <xs:element name="default_status" type="xs:string" nillable="true"/>
         <xs:element name="default_date" type="xs:date" nillable="true"/>
         <xs:element name="accrue_in_default_ind" type="xs:string" nillable="true"/>
         <xs:element name="ctd_bond" type="xs:string" nillable="true"/>
         <xs:element name="contract_size" type="xs:double" nillable="true"/>
         <xs:element name="derivative_type" type="xs:string" nillable="true"/>
         <xs:element name="delivery_method" type="xs:string" nillable="true"/>
         <xs:element name="conversion_factor" type="xs:double" nillable="true"/>
         <xs:element name="flex_option_ind" type="xs:string" nillable="true"/>
         <xs:element name="leap_option_ind" type="xs:string" nillable="true"/>
         <xs:element name="orig_strike_price" type="xs:double" nillable="true"/>
         <xs:element name="otc_flag" type="xs:string" nillable="true"/>
         <xs:element name="part_paid_percent" type="xs:double" nillable="true"/>
         <xs:element name="strike_price" type="xs:double" nillable="true"/>
         <xs:element name="put_call_flag" type="xs:string" nillable="true"/>
         <xs:element name="strike_price_type" type="xs:string" nillable="true"/>
         <xs:element name="pay_currency" type="xs:string" nillable="true"/>
         <xs:element name="rec_currency" type="xs:string" nillable="true"/>
         <xs:element name="premium_amount" type="xs:double" nillable="true"/>
         <xs:element name="warrant_style" type="xs:string" nillable="true"/>
         <xs:element name="pay_status" type="xs:string" nillable="true"/>
         <xs:element name="tick_amount" type="xs:double" nillable="true"/>
         <xs:element name="right_warrant_option_type" type="xs:string" nillable="true"/>
         <xs:element name="underlying_cusip" type="xs:string" nillable="true"/>
         <xs:element name="var_margin_rule" type="xs:int" nillable="true"/>
         <xs:element name="nominal_annual_income" type="xs:double" nillable="true"/>
         <xs:element name="dividend_frequency" type="xs:string" nillable="true"/>
         <xs:element name="dividend_reinvestment_ind" type="xs:string" nillable="true"/>
         <xs:element name="dr_sponsoring" type="xs:string" nillable="true"/>
         <xs:element name="dr_sponsor" type="xs:string" nillable="true"/>
         <xs:element name="claim_type" type="xs:string" nillable="true"/>
         <xs:element name="dated_date_cpi" type="xs:double" nillable="true"/>
         <xs:element name="when_issued_ind" type="xs:string" nillable="true"/>
         <xs:element name="series" type="xs:string" nillable="true"/>
         <xs:element name="tranche" type="xs:string" nillable="true"/>
         <xs:element name="guarantee_type" type="xs:string" nillable="true"/>
         <xs:element name="deep_discount_ind" type="xs:string" nillable="true"/>
         <xs:element name="perpetual_flag" type="xs:string" nillable="true"/>
         <xs:element name="maturity_override" type="xs:string" nillable="true"/>
         <xs:element name="camra_index_desc" type="xs:string" nillable="true"/>
         <xs:element name="camra_index_spread" type="xs:double" nillable="true"/>
         <xs:element name="coupon" type="xs:double" nillable="true"/>
         <xs:element name="rate_benchmark" type="xs:string" nillable="true"/>
         <xs:element name="rate_multiplier" type="xs:double" nillable="true"/>
         <xs:element name="spread_to_benchmark" type="xs:double" nillable="true"/>
         <xs:element name="rate_reset_frequency" type="xs:string" nillable="true"/>
         <xs:element name="rate_base_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="reset_lag_days" type="xs:double" nillable="true"/>
         <xs:element name="reset_lockout_days" type="xs:double" nillable="true"/>
         <xs:element name="next_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="rate_calculate_switch" type="xs:string" nillable="true"/>
         <xs:element name="rate_reset_bus_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="rate_reset_eom_rule" type="xs:string" nillable="true"/>
         <xs:element name="rate_type" type="xs:string" nillable="true"/>
         <xs:element name="mutual_fund_sponsor" type="xs:string" nillable="true"/>
         <xs:element name="regulated_flag" type="xs:string" nillable="true"/>
         <xs:element name="tia_1961_flag" type="xs:string" nillable="true"/>
         <xs:element name="accumulation_income_flag" type="xs:string" nillable="true"/>
         <xs:element name="fsa_indicator" type="xs:string" nillable="true"/>
         <xs:element name="income_dist_policy" type="xs:string" nillable="true"/>
         <xs:element name="mutual_fund_charge_type" type="xs:string" nillable="true"/>
         <xs:element name="holdings_flag" type="xs:string" nillable="true"/>
         <xs:element name="issuer_type" type="xs:string" nillable="true"/>
         <xs:element name="issuer_id" type="xs:string" nillable="true"/>
         <xs:element name="parent_issuer_id" type="xs:string" nillable="true"/>
         <xs:element name="country" type="xs:string" nillable="true"/>
         <xs:element name="currency" type="xs:string" nillable="true"/>
         <xs:element name="country_of_origin" type="xs:string" nillable="true"/>
         <xs:element name="risk_country" type="xs:string" nillable="true"/>
         <xs:element name="currency_of_earnings" type="xs:string" nillable="true"/>
         <xs:element name="currency_of_income" type="xs:string" nillable="true"/>
         <xs:element name="currency_of_trade" type="xs:string" nillable="true"/>
         <xs:element name="principal_currency" type="xs:string" nillable="true"/>
         <xs:element name="exchange" type="xs:string" nillable="true"/>
         <xs:element name="state_code" type="xs:string" nillable="true"/>
         <xs:element name="muni_insurance" type="xs:string" nillable="true"/>
         <xs:element name="conduit" type="xs:string" nillable="true"/>
         <xs:element name="muni_note_type" type="xs:string" nillable="true"/>
         <xs:element name="muni_issuer" type="xs:string" nillable="true"/>
         <xs:element name="obligation_type" type="xs:string" nillable="true"/>
         <xs:element name="oes_next_call_date" type="xs:date" nillable="true"/>
         <xs:element name="offering_yield" type="xs:double" nillable="true"/>
         <xs:element name="remarketing_agent" type="xs:string" nillable="true"/>
         <xs:element name="tax_exempt_region" type="xs:string" nillable="true"/>
         <xs:element name="fed_wire" type="xs:string" nillable="true"/>
         <xs:element name="oid_flag" type="xs:string" nillable="true"/>
         <xs:element name="oid_number" type="xs:int" nillable="true"/>
         <xs:element name="oi_price" type="xs:double" nillable="true"/>
         <xs:element name="camra_moody_sector" type="xs:string" nillable="true"/>
         <xs:element name="restricted" type="xs:string" nillable="true"/>
         <xs:element name="camra_class_144" type="xs:string" nillable="true"/>
         <xs:element name="foreign_restriction_ind" type="xs:string" nillable="true"/>
         <xs:element name="foreign_restriction_req" type="xs:double" nillable="true"/>
         <xs:element name="sec_144a" type="xs:string" nillable="true"/>
         <xs:element name="reg_s" type="xs:string" nillable="true"/>
         <xs:element name="prvt_place_ind" type="xs:string" nillable="true"/>
         <xs:element name="liquid_flag" type="xs:string" nillable="true"/>
         <xs:element name="call_protection_period" type="xs:int" nillable="true"/>
         <xs:element name="call_protection_type" type="xs:string" nillable="true"/>
         <xs:element name="camra_make_whole_ind" type="xs:string" nillable="true"/>
         <xs:element name="camra_conversion_price" type="xs:double" nillable="true"/>
         <xs:element name="convertible_flag" type="xs:string" nillable="true"/>
         <xs:element name="nra_tax_code" type="xs:string" nillable="true"/>
         <xs:element name="tax_relief_at_source_ind" type="xs:string" nillable="true"/>
         <xs:element name="tax_withholding_code" type="xs:string" nillable="true"/>
         <xs:element name="tax_status" type="xs:string" nillable="true"/>
         <xs:element name="voting_rights" type="xs:string" nillable="true"/>
         <xs:element name="votes_per_share" type="xs:int" nillable="true"/>
         <xs:element name="cum_voting_flag" type="xs:string" nillable="true"/>
         <xs:element name="coupon_cap" type="xs:double" nillable="true"/>
         <xs:element name="coupon_floor" type="xs:double" nillable="true"/>
         <xs:element name="cross_currency_country" type="xs:string" nillable="true"/>
         <xs:element name="cross_currency_fwd_rate" type="xs:double" nillable="true"/>
         <xs:element name="cross_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_base_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="spot_base_rate" type="xs:double" nillable="true"/>
         <xs:element name="spot_cross_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_point_difference" type="xs:double" nillable="true"/>
         <xs:element name="fwd_broker_code" type="xs:string" nillable="true"/>
         <xs:element name="fwd_side" type="xs:string" nillable="true"/>
         <xs:element name="redemption_currency" type="xs:string" nillable="true"/>
         <xs:element name="redenomination_date" type="xs:date" nillable="true"/>
         <xs:element name="redenomination_flag" type="xs:string" nillable="true"/>
         <xs:element name="amt_flag" type="xs:string" nillable="true"/>
         <xs:element name="orig_entrydate" type="xs:dateTime" nillable="true"/>
         <xs:element name="orig_enteredby" type="xs:string" nillable="true"/>
         <xs:element name="last_entrydate" type="xs:dateTime" nillable="true"/>
         <xs:element name="last_enteredby" type="xs:string" nillable="true"/>
         <xs:element name="credit_family_id" type="xs:string" nillable="true"/>
         <xs:element name="cusip" type="xs:string" nillable="true"/>
         <xs:element name="isin" type="xs:string" nillable="true"/>
         <xs:element name="sedol" type="xs:string" nillable="true"/>
         <xs:element name="ticker" type="xs:string" nillable="true"/>
         <xs:element name="apace_accrual_type" type="xs:string" nillable="true"/>
         <xs:element name="capital_income_flag" type="xs:string" nillable="true"/>
         <xs:element name="wal_date" type="xs:date" nillable="true"/>
         <xs:element name="cfb_level_pay" type="xs:double" nillable="true"/>
         <xs:element name="pending_corp_action" type="xs:string" nillable="true"/>
         <xs:element name="pending_proxy_vote" type="xs:string" nillable="true"/>
         <xs:element name="pms_live_indicator" type="xs:string" nillable="true"/>
         <xs:element name="pms_price_type" type="xs:string" nillable="true"/>
         <xs:element name="spark_flag" type="xs:string" nillable="true"/>
         <xs:element name="whittingdale_debt_cat" type="xs:int" nillable="true"/>
         <xs:element name="whittingdale_rating" type="xs:int" nillable="true"/>
         <xs:element name="whittingdale_code" type="xs:string" nillable="true"/>
         <xs:element name="expiration_date" type="xs:date" nillable="true"/>
         <xs:element name="maturity_price" type="xs:double" nillable="true"/>
         <xs:element name="commencement_date" type="xs:date" nillable="true"/>
         <xs:element name="declared_payment_date" type="xs:date" nillable="true"/>
         <xs:element name="drawer" type="xs:string" nillable="true"/>
         <xs:element name="fv_volatility" type="xs:double" nillable="true"/>
         <xs:element name="mv_volatility" type="xs:double" nillable="true"/>
         <xs:element name="settle_period" type="xs:double" nillable="true"/>
         <xs:element name="trading_margin" type="xs:double" nillable="true"/>
         <xs:element name="compound_frequency" type="xs:string" nillable="true"/>
         <xs:element name="coupon_rounding" type="xs:double" nillable="true"/>
         <xs:element name="duration_to_reset" type="xs:string" nillable="true"/>
         <xs:element name="float_rate_index_location" type="xs:string" nillable="true"/>
         <xs:element name="periodic_basis_point_cap" type="xs:decimal" nillable="true"/>
         <xs:element name="weighted_average_coupon" type="xs:double" nillable="true"/>
         <xs:element name="whittingdale_issuer" type="xs:int" nillable="true"/>
         <xs:element name="settlement_location" type="xs:string" nillable="true"/>
         <xs:element name="attachment_lower" type="xs:double" nillable="true"/>
         <xs:element name="attachment_upper" type="xs:double" nillable="true"/>
         <xs:element name="exposure_type" type="xs:string" nillable="true"/>
         <xs:element name="nth2default" type="xs:double" nillable="true"/>
         <xs:element name="restruct_doc_clause" type="xs:string" nillable="true"/>
         <xs:element name="swap_counterparty" type="xs:string" nillable="true"/>
         <xs:element name="swaption_issue_date" type="xs:date" nillable="true"/>
         <xs:element name="swaption_mat_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_call_price" type="xs:double" nillable="true"/>
         <xs:element name="apace_call_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_callable_flag" type="xs:string" nillable="true"/>
         <xs:element name="apace_put_price" type="xs:double" nillable="true"/>
         <xs:element name="apace_put_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_putable_flag" type="xs:string" nillable="true"/>
         <xs:element name="apace_day_count" type="xs:string" nillable="true"/>
         <xs:element name="apace_io_ind" type="xs:string" nillable="true"/>
         <xs:element name="apace_pass_thru_flag" type="xs:string" nillable="true"/>
         <xs:element name="apace_price_method" type="xs:string" nillable="true"/>
         <xs:element name="apace_price_source" type="xs:string" nillable="true"/>
         <xs:element name="apace_depository_type" type="xs:string" nillable="true"/>
         <xs:element name="apace_conv_ratio" type="xs:double" nillable="true"/>
         <xs:element name="apace_floating_rate" type="xs:string" nillable="true"/>
         <xs:element name="apace_frn_reset_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_frn_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_step_conversion_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_step_conversion_rate" type="xs:double" nillable="true"/>
         <xs:element name="apace_accrual_date_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_payment_date_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_payment_cycle_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_par_call_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_prerefund_price" type="xs:double" nillable="true"/>
         <xs:element name="apace_prerefund_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_sink_fund_flag" type="xs:string" nillable="true"/>
         <xs:element name="make_whole_call_flag" type="xs:string" nillable="true"/>
         <xs:element name="effective_date" type="xs:date"/>
         <xs:element name="delete_flag" type="xs:string" nillable="true"/>
         <xs:element name="update_flag" type="xs:string" nillable="true"/>
         <xs:element name="fido_security_type_jvst" type="xs:int" nillable="true"/>
         <xs:element name="fido_security_type_jstp" type="xs:string" nillable="true"/>
         <xs:element name="fido_issuer_id" type="xs:int" nillable="true"/>
         <xs:element name="fido_guarantor_id" type="xs:int" nillable="true"/>
         <xs:element name="fido_name" type="xs:string" nillable="true"/>
         <xs:element name="draft_id" type="xs:string" nillable="true"/>
         <xs:element name="bbsw_at_last_reset" type="xs:double" nillable="true"/>
         <xs:element name="delta" type="xs:double" nillable="true"/>
         <xs:element name="price" type="xs:double" nillable="true"/>
         <xs:element name="benchmark_index_sec" type="xs:string" nillable="true"/>
         <xs:element name="index_multiplier" type="xs:double" nillable="true"/>
         <xs:element name="index_spread" type="xs:double" nillable="true"/>
         <xs:element name="index_link_location" type="xs:string" nillable="true"/>
         <xs:element name="index_lag" type="xs:double" nillable="true"/>
         <xs:element name="benchmark_rounding" type="xs:int" nillable="true"/>
         <xs:element name="index_link_bus_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="calculation_type" type="xs:int" nillable="true"/>
         <xs:element name="start_day_of_month" type="xs:int" nillable="true"/>
         <xs:element name="pms_issue" type="xs:string" nillable="true"/>
         <xs:element name="pms_name" type="xs:string" nillable="true"/>
         <xs:element name="camra_cusip" type="xs:string" nillable="true"/>
         <xs:element name="infoexpress_id" type="xs:string" nillable="true"/>
         <xs:element name="issuer_desc" type="xs:string" nillable="true"/>
         <xs:element name="parent_issuer_desc" type="xs:string" nillable="true"/>
         <xs:element name="lead_mgr" type="xs:string" nillable="true"/>
         <xs:element name="co_mgr" type="xs:string" nillable="true"/>
         <xs:element name="superticker_desc" type="xs:string" nillable="true"/>
         <xs:element name="fmc_id" type="xs:string" nillable="true"/>
         <xs:element name="spintl_id" type="xs:string" nillable="true"/>
         <xs:element name="tranche_type" type="xs:string" nillable="true"/>
         <xs:element name="collateral_type" type="xs:string" nillable="true"/>
         <xs:element name="ab_fund_desc" type="xs:string" nillable="true"/>
         <xs:element name="adp_number" type="xs:string" nillable="true"/>
         <xs:element name="underlying_account_id" type="xs:string" nillable="true"/>
    </xs:schema>
    sec.xml
    <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
    <security security_count="1" variable_rate_count="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="security.xsd">
    <security_row><security_id>LZ002359750</security_id><primary_asset_id>B2479G9</primary_asset_id><delay_days xsi:nil="true"></delay_days><arm_indicator xsi:nil="true"></arm_indicator><camra_abs_und_coll xsi:nil="true"></camra_abs_und_coll><camra_abs_und_coll_cpn xsi:nil="true"></camra_abs_und_coll_cpn><initial_principal_pay_date xsi:nil="true"></initial_principal_pay_date><final_principal_pay_date xsi:nil="true"></final_principal_pay_date><mtg_term xsi:nil="true"></mtg_term><original_face xsi:nil="true"></original_face><pool_number xsi:nil="true"></pool_number><principal_pay_frequency xsi:nil="true"></principal_pay_frequency><pay_down_date xsi:nil="true"></pay_down_date><principal_pay_bus_day_rule xsi:nil="true"></principal_pay_bus_day_rule><seasoned_mbs xsi:nil="true"></seasoned_mbs><tba_stlmt_month xsi:nil="true"></tba_stlmt_month><accrual_flag>Y</accrual_flag><accrual_rule>1</accrual_rule><base_payment_date>0831</base_payment_date><day_count>ACT/ACT</day_count><ex_interest_bond_code xsi:nil="true"></ex_interest_bond_code><ex_days xsi:nil="true"></ex_days><ex_div_date xsi:nil="true"></ex_div_date><last_coupon_date>2017-08-31</last_coupon_date><for_bond_security_type>GER</for_bond_security_type><dated_date>2007-08-31</dated_date><issue_date>2007-08-31</issue_date><first_coupon_date>2008-08-31</first_coupon_date><second_coupon_date>2009-08-31</second_coupon_date><mat_date>2017-08-31</mat_date><interest_accrual_method>PER</interest_accrual_method><odd_first_coupon_date xsi:nil="true"></odd_first_coupon_date><odd_last_coupon_date xsi:nil="true"></odd_last_coupon_date><payment_eom_rule>Y</payment_eom_rule><pay_frequency>A</pay_frequency><pay_business_day_rule>BD</pay_business_day_rule><yield_day_count>ACT/ACT</yield_day_count><zero_coupon_type xsi:nil="true"></zero_coupon_type><analyst>SH</analyst><analyst_recomm xsi:nil="true"></analyst_recomm><approval_flag>Y</approval_flag><camra_sec_type xsi:nil="true"></camra_sec_type><class xsi:nil="true"></class><comments xsi:nil="true"></comments><holding_style>BE</holding_style><issued_capital xsi:nil="true"></issued_capital><issued_capital_currency>EUR</issued_capital_currency><min_denomination>50000</min_denomination><price_multiplier>0.01</price_multiplier><pricing_identifier xsi:nil="true"></pricing_identifier><quantity_issued>2250000</quantity_issued><shares_outstanding>2250000</shares_outstanding><quantity_type>PAR</quantity_type><redemption_value>100</redemption_value><scb_industry xsi:nil="true"></scb_industry><issue_desc1>DEUTSCHE BANK AG</issue_desc1><issue_desc2 xsi:nil="true"></issue_desc2><issue_desc3 xsi:nil="true"></issue_desc3><issue_short_name>DEUTSCHE BANK AG</issue_short_name><trading_lot_size>50000</trading_lot_size><unit_factor>1</unit_factor><camra_exercise_date xsi:nil="true"></camra_exercise_date><camra_expiration_date xsi:nil="true"></camra_expiration_date><alliance_sector>230</alliance_sector><alliance_industry>23030</alliance_industry><camra_gl_type xsi:nil="true"></camra_gl_type><emerg_mkt_ind xsi:nil="true"></emerg_mkt_ind><form_13f_flag xsi:nil="true"></form_13f_flag><instrument_class>FI</instrument_class><issue_type>BOND</issue_type><mortgage_sector>ZZ</mortgage_sector><naic_code xsi:nil="true"></naic_code><performance_segment>3</performance_segment><program_type xsi:nil="true"></program_type><camra_sic_code2 xsi:nil="true"></camra_sic_code2><camra_sched_d_group xsi:nil="true"></camra_sched_d_group><camra_sched_d_state xsi:nil="true"></camra_sched_d_state><security_form xsi:nil="true"></security_form><security_type_distrib xsi:nil="true"></security_type_distrib><camra_sic_code xsi:nil="true"></camra_sic_code><structured_note_flag>N</structured_note_flag><underlying_category xsi:nil="true"></underlying_category><primary_asset_id_type>aPACE</primary_asset_id_type><superticker>B2479G9</superticker><default_status>N</default_status><default_date xsi:nil="true"></default_date><accrue_in_default_ind>N</accrue_in_default_ind><ctd_bond xsi:nil="true"></ctd_bond><contract_size xsi:nil="true"></contract_size><derivative_type xsi:nil="true"></derivative_type><delivery_method xsi:nil="true"></delivery_method><conversion_factor xsi:nil="true"></conversion_factor><flex_option_ind xsi:nil="true"></flex_option_ind><leap_option_ind xsi:nil="true"></leap_option_ind><orig_strike_price xsi:nil="true"></orig_strike_price><otc_flag xsi:nil="true"></otc_flag><part_paid_percent xsi:nil="true"></part_paid_percent><strike_price xsi:nil="true"></strike_price><put_call_flag xsi:nil="true"></put_call_flag><strike_price_type xsi:nil="true"></strike_price_type><pay_currency

    Then you hit a bug in your version of Oracle. You may want to investigate and update to a newer version. I get the following error when trying to register your schema in 10.2.0.1
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00246: invalid QNAME "***_voting_flag"
    This error is consistent with Spy 2008 as well (I didn't try Xerces but I've got two that agree so it's good for me).

  • JPA: how to organize multiple databases having the same schema definition?

    Hi there,
    I'm new to Java EE but I could finish some test projects on GlassFish 3 / Java EE 6 platform.
    Now it's time to build the actual system and I need some help in that.
    So, I can't really tell you the exact purpose of this system but let's look at the following example which is very close to what I need.
    Say there is a database schema definition (DDL) for Oracle 11g and this schema is storing the inventory of a shop. So tables like product, category, price etc
    Say there are 50 shops, and I'm getting a new database for each shop every month holding their inventory.
    So every month I'm receiving a SQL file with INSERTs (DML) for every shop for the DDL I mentioned above.
    I'm getting 50 SQL files for the 50 shops every month, so in a year you're talking about 600 SQL files to import.
    If it was php/MySQL I could import them into a separate database each, call it shop1_May11, shop2_May11 etc reflecting the shop name and the month in the database name.
    This is my question how you guys think I should achieve this in Jave EE / Oracle.
    As the DDL is the same I thought to create an Entity for each table and use the Java Persistance API to create the databases and then I'd import the month/shop specific SQL files.
    But this means I'm gonna create 50 new schemas in Oracle every month?
    Or what's the best way to achieve this?
    Thanks in advance
    Edited by: 833519 on May 18, 2011 5:28 AM
    Edited by: 833519 on May 18, 2011 5:29 AM
    Edited by: 833519 on May 18, 2011 5:31 AM

    JPA helps a lot in persisting and retrieving data that has relationships without having to worry about the relationships at a sQL level.
    So you get a java programmer that builds relationships using Java classes (the entities) and a persistence provider worries about the sql required to materialize those relationships.
    You seem to be using SQL inserts for persisting the data and you want to generate the reports from SQL as well.
    You can use it but you won't be gaining much of its advantages for this project.
    Consider reporting applications like the jasperserver for the reports.
    Also, I have seen people get away with using one database for this type of thing and just adding a clientid (and optionally branchid) to each table.

  • Where can I find Adapter Specific Message Attributes ASMA Schema Definition

    Hi all,
    I'm on PI 7.1 and want to use the Mail adapter in XIPAYLOAD mode.
    I want to map to the ASMA schema definition in the Enterprise Service Builder.
    I'm wondering where I can get this "new" schema?
    For example the "old" mail adapter xml schema could be found in Note 748024.
    REgards,
    John
    Note 748024 - XI Mail Adapter XML Schema "Old"
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=748024
    SAP Help Configuring the Receiver mail adapter
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/96cb0fb9335b77e10000000a11466f/frameset.htm
    Note 856599
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=856599
    Should I use MailPackage or ASMA?
               A: SP14 introuced the Adapter Specific Message Attributes (ASMA) that can be used to import and export adapter/transport specific headers into and out of XI. This is a generic mechanism for all adapters and other components such as mapping and routing can directly access or manipulate these values. The functionality provided by MailPackage is available in ASMA. Therefore, it is recommended that new scenarios use ASMA instead of MailPackage.

    John,
    the idea behind ASMA is exactly not to depend on modifying the payload to be able to map data that is just relevant to the communication layer, not the application.
    Instead of having a target XSD that you need to map your source message to, filling the communication details, instead you create XI specific message headers (the so called "adapter specific message attributes") that go in the message within the SOAP Header, hence not requiring any modification of the payload whatsoever.
    Notice that not having to modify the payload doesn't mean not having a mapping program, since the mapping can modify both the payload and the header, and sometimes it's a good approach to fill the ASMAs in a mapping, just bypassing the payload to the output unmodified.
    BR,
    Henrique.

  • Bpelc issues with WSDL schema definition

    Hi,
    I have been attempting to deploy a relative simple BPEL example, developed using the BPEL Designer Eclipse plugin and deployed on BPEL Process Manager.
    The BPEL consists of receiving a SOAP message, copying variables using assign from the input message to a message defined in an external WSDL, invoking that WSDL's service and copying the results of that service into the output message.
    To design the external service, I developed a simple Java class in Apache Axis and used the Java2WSDL tool to create all the interfaces. I then copied that WSDL to the BPEL designer and started to design the BPEL.
    The problem is to do with the definition of messages within the WSDL, the following snippet is from the WSDL generated in Apache Axis:
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
         targetNamespace="http://mdsuk.com/wsdl/example/PSP1">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
    <complexType name="OutputCT">
    <sequence>
    <element name="message" nillable="true" type="xsd:string"/>
    <element name="paymentReference" nillable="true" type="xsd:string"/>
    <element name="success" nillable="true" type="xsd:boolean"/>
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    I then tried to create the <assign> statement for the External Service Message -> BPEL Output Message using BPEL Designer using the visual editor, it generated the following code:
    <assign name="assign-2">
    <copy>
         <from variable="pspOutput" part="outputCT" query="/message"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:result"/>
    </copy>
    <copy>
         <from variable="pspOutput" part="outputCT" query="/success"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:success"/>
    </copy>
    </assign>
    Trying to compile this generated code resulted in:
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 94 of "D:\EclipseWorkspace\OrderTest\OrderTest.bpel", query "/message" is invalid, because step 'message' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc]
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 98 of "D:\EclipseWorkspace\OrderTest\OrderTest.bpel", query "/success" is invalid, because step 'success' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    So, the generated code from BPEL Designer was failing to compile. This resulted in a long check of the code, finally I realised that it expected the inputCT variable to be present in the XPath, so I manually changed the code to
    <assign name="assign-2">
    <copy>
         <from variable="pspOutput" part="outputCT" query="/outputCT/message"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:result"/>
    </copy>
    <copy>
         <from variable="pspOutput" part="outputCT" query="/outputCT/success"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:success"/>
    </copy>
    </assign>
    This allowed to code to compile, so I deployed the BPEL to the Process Manager, and invoked a query using the Web Interface.
    The BPEL started up fine, it invoked my external Axis Web Service, Axis produced the output (visible via debugging) however Process Manager tried to process the output, it crashed with the following exception:
    06/01/19 16:29:11 com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {null}
    parts: {{summary=<summary>empty variable/expression result.
    xpath variable/expression expression "/outputCT/message" is empty at line 94, when attempting reading/copying it.
    Please make sure the variable/expression result "/outputCT/message" is not empty.
    </summary>}}
    So, the compiled BPEL code, which had the WSDL schema to compare against was failing during execution, I inspected the output from the Axis Web Service, which was:
    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <processPaymentResponse xmlns="http://mdsuk.com/wsdl/example/PSP1">
    <outputCT xmlns="">
    <ns1:message xmlns:ns1="http://mdsuk.com/wsdl/example/PSP1">Payment Succesful</ns1:message>
    <ns2:paymentReference xmlns:ns2="http://mdsuk.com/wsdl/example/PSP1">1137688175137</ns2:paymentReference>
    <ns3:success xmlns:ns3="http://mdsuk.com/wsdl/example/PSP1">true</ns3:success>
    </outputCT>
    </processPaymentResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    The key difference was that the message / paymentReference and success attributes were prefixed with the namespace "http://mdsuk.com/wsdl/example/PSP1" , this makes sense as the schema has the attribute targetNamespace="http://mdsuk.com/wsdl/example/PSP1".
    However, when I tried to modify the BPEL to read:
    <assign name="assign-2">
    <copy>
         <from variable="pspOutput" part="outputCT" query="/outputCT/nsxml1:message"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:result"/>
    </copy>
    <copy>
         <from variable="pspOutput" part="outputCT" query="/outputCT/nsxml1:success"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:success"/>
    </copy>
    </assign>
    It complained:
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 94 of "D:\EclipseWorkspace\OrderTest\OrderTest.bpel", query "/outputCT/nsxml1:message" is invalid, because step 'nsxml1:message' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc]
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 98 of "D:\EclipseWorkspace\OrderTest\OrderTest.bpel", query "/outputCT/nsxml1:sucess" is invalid, because step 'nsxml1:sucess' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] .
    So, the BPEL would not validate against the WSDL schema that was being produced, I read up on the W3 Schema specification, and found that the schema can take the attribute elementFormDefault - this attribute takes the values 'qualified' or 'unqualified'. If qualified, then it explicitly states that all children elements should be beloning to the namespace of this element.
    So, I changed the schema to read:
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
         targetNamespace="http://mdsuk.com/wsdl/example/PSP1"
         elementFormDefault="qualified">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
    <complexType name="OutputCT">
    <sequence>
    <element name="message" nillable="true" type="xsd:string"/>
    <element name="paymentReference" nillable="true" type="xsd:string"/>
    <element name="success" nillable="true" type="xsd:boolean"/>
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    The BPEL compiled and ran succesfully.
    However, the problem/issue here is, Oracle bpelc assumed that if the elementFormDefault attribute was missing from the schema definition, it defaulted to unqualified, even with the targetNamespace attribute present.
    Axis and <oXygen/> XML Editors, in which I tested the WSDL code, assumed that if the elementFormDefault attribute was missing, it defaulted to qualified.
    I cannot find anything in the Schema Specification to say which is correct - can anyone shed any light on this? I also want to make Oracle BPEL users aware of this issue.
    Regards,
    Peter Dolukhanov

    I resolved this issue by adding the following to the 2nd schema in the wsdl
    xmlns:xsdLocal1="urn:/crmondemand/xml/integrationevent"
    inside the 2nd schema
    <xsd:schema
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    xmlns:xsdLocal1="urn:/crmondemand/xml/integrationevent"
    targetNamespace="urn:crmondemand/ws/integrationevent/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    and this line immediately below it
    <xsd:import namespace="urn:/crmondemand/xml/integrationevent" />
    I could then create a proxy class using wsdl.exe

  • Product-sku-output-config.xml - Is there a schema definition (XSD or DTD)?

    For the product-sku-output-config.xml file (used to define the set of product and sku attributes that are sent to Endeca from ATG as part of the Baseline Index process, as defined in chapter 4 of the ATGEndecaIntegrationGuide.pdf, 10.1.2 version), is there a schema definition (XSD or DTD) available?
    The format used by product-sku-output-config.xml seems similar to, but not the same as, the format described by http://www.atg.com/dtds/search/indexing-dependency-schema.dtd. For example, p35 of the ATGEndecaIntegrationGuide.pdf gives an example of a product-sku-output-config.xml with a "properties" child element of the top-level "item" element; per that indexing-dependency-schema.dtd, that isn't allowed. (Per that DTD, it should be either "meta-properties" or "text-properties", not "properties".)
    More generally, I'm wondering if there's place that fully defines what can go into the product-sku-output-config.xml file.
    I'm also interested this same question for the category-dim-output-config.xml file.
    Thanks,
    -Jon

    For the product-sku-output-config.xml file (used to define the set of product and sku attributes that are sent to Endeca from ATG as part of the Baseline Index process, as defined in chapter 4 of the ATGEndecaIntegrationGuide.pdf, 10.1.2 version), is there a schema definition (XSD or DTD) available?
    The format used by product-sku-output-config.xml seems similar to, but not the same as, the format described by http://www.atg.com/dtds/search/indexing-dependency-schema.dtd. For example, p35 of the ATGEndecaIntegrationGuide.pdf gives an example of a product-sku-output-config.xml with a "properties" child element of the top-level "item" element; per that indexing-dependency-schema.dtd, that isn't allowed. (Per that DTD, it should be either "meta-properties" or "text-properties", not "properties".)
    More generally, I'm wondering if there's place that fully defines what can go into the product-sku-output-config.xml file.
    I'm also interested this same question for the category-dim-output-config.xml file.
    Thanks,
    -Jon

  • IDOC field schema definition cannot be loaded in the configuration

    hi experts,
    i'm having an issue in the configuration side of the xi server. when i'm trying to access a particular field in an IDOC in the condition editor it is givin me the message the 'schema definition of the corresponding field's parent segment is missing'. But in the design side when i'm using the idoc i'm able to access every field in the mapping as well as wen i'm openin it . i've taken care that i'm using the IDOC of the same software component as in design.
    Any suggestions given will be highly useful.
    thanks in advance,
    regards,
    Rahul

    Hi Rahul,
    Firstly check out this blog by Shabarish, which discusses how you can give the condition in the editor using XPath expression. It also mentions the importance of specifying the correct parent node:-
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    Also, you must've imported the Idoc or an abstract type of the IDoc as the sender interface right?
    Only then you will be able to see it in the condition editor rite?
    Well if its the IDoc itself, just check if you have chosen the right IDoc while defining the rcvr determintation.
    If it is the abstract message interface of the IDoc, then check if you have added the correct IDoc to the message interface in repository and also if you have chosen the correct message interface while configuring the rcvr determination.
    If the above checks are all fine, also do a cache
    Regards,
    Sushumna

  • Inheritance in Schema definition

    Hi!
    I'm having some problem defining a schema definition with inheritance...
    I've created a generic component which has some other components that extends it....
    The generic component:
            <xs:complexType name="GenericClientType"/>
            <xs:element name="GenericClient" type="GenericClientType"/>The specific component:
            <xs:complexType name="ClientPFType">
                   <xs:complexContent>
                         <xs:extension base="GenericClientType">
                             <xs:sequence>
                                   <xs:element name="Id" type="xs:boolean"/>
                                   <xs:element name="Code" type="xs:string"/>
                             </xs:sequence>
                         </xs:extension>
                   </xs:complexContent>
             </xs:complexType>And i have other component that uses the generic component as an element...
              <xs:complexType name="ComplexClientType">
                    <xs:sequence>
                             <xs:element name="Name" type="xs:string"/>
                             <xs:element name="Email" type="xs:string"/>
                             <xs:element ref="GenericClient" minOccurs="0"/>
                    </xs:sequence>
              </xs:complexType>The corresponding XML document is created with one of the specific component (that extends the generic document).
              <ComplexClient>
                       <Name>Elio</Name>
                       <Email>[email protected]</Email>
                       <ClientPF>
                              <Id>100</Id>
                              <Code>1</Code>
                       </ClientPF>
              </ComplexClient>But when i try to parse this XML document, i get a validation error because the parser expects the generic component.
    Is there another way to specify this kind of inheritance in XSD?
    Thanks!
    Elio Kenta

    Hi! Thanks for the answer.
    The problem is that the component GenericClient doesn't has only the ClientPFType as its subclass, there is some other components that extends it (such as the ClientPJ).
    The generated class seems correct, because the class ComplexClient has an attribute of type GenericClient. The ClientPF and the other similar classes inherits from GenericClient. In the application i just need to cast the generic object to the expected subclass.
    But i can't find a way to represent this inheritance in the XML document because as i told before, i get an error that the parser expects an element of type GenericClient and found an element of type ClientPF.
    Is there any way to represent this in the XML Ddocument?

  • IDOC invoic /INVOIC02 Schema Definition

    Please help me
    Currently, I am working on one project which require me to translate from IDOC to EDI X12. The company mainly supports all EDI messages and I have no problem to translate to X12. But what I face with is IDOC Schema definition which the company does not have SAP system to generate it. So can you guys please send me an IDOC schema definition for Invoice 810(invoic/invoic02)? If you guys know some site which allow me to download that file please send a me direct link to that web site as I really need this file in order to complete my project.
    I used to download Idoc schema definitions from the sap website http://ifr.sap.com/catalog/query.asp but this site now no longer exist.
    Thank you so much for your help hope to hear good respond from you guys soon

    Hi Rahul,
    Firstly check out this blog by Shabarish, which discusses how you can give the condition in the editor using XPath expression. It also mentions the importance of specifying the correct parent node:-
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    Also, you must've imported the Idoc or an abstract type of the IDoc as the sender interface right?
    Only then you will be able to see it in the condition editor rite?
    Well if its the IDoc itself, just check if you have chosen the right IDoc while defining the rcvr determintation.
    If it is the abstract message interface of the IDoc, then check if you have added the correct IDoc to the message interface in repository and also if you have chosen the correct message interface while configuring the rcvr determination.
    If the above checks are all fine, also do a cache
    Regards,
    Sushumna

  • TSAPInput Talend - Output schema definition error

    Hi,
    I am trying to use the tSAPInput component with RFC_READ_TABLE function to extract data from multiple SAP tables.  I have started with SFLIGHT as a very basic & small table, where I want to extract only a couple of columns.
    The Input - FIELDNAME I have defined without issue, but for the output schema I receive errors when trying to define the columns that I require.  If I use the default of "WA" then it works, but many of the tables that I want to extract are wider than the 512 characters of WA schema definition.
    Therefore I have created my own schema and columns in the
    output, but I receive the following error:
    Starting job SAP_Test at 11:25 10/09/2014.
    [statistics] connecting to socket on port 3932
    [statistics] connected
    Exception in component tSAPInput_3
    com.sap.conn.jco.JCoRuntimeException: (127)
    JCO_ERROR_FIELD_NOT_FOUND: Field MANDT is not a member of TAB512
    at com.sap.conn.jco.rt.AbstractMetaData.indexOf(AbstractMetaData.java:404)
    at com.sap.conn.jco.rt.AbstractRecord.getString(AbstractRecord.java:2870)
    at sap_connector.sap_test_0_1.SAP_Test.tSAPInput_3Process(SAP_Test.java:959)
    at sap_connector.sap_test_0_1.SAP_Test.tSAPConnection_1Process(SAP_Test.java:398)
    at sap_connector.sap_test_0_1.SAP_Test.runJobInTOS(SAP_Test.java:1315)
    at sap_connector.sap_test_0_1.SAP_Test.main(SAP_Test.java:1174)
    [statistics] disconnected
    job SAP_Test ended at 11:25 10/09/2014. [exit code=1]
    Attached is a screenshot of the job and components:
    Any help would be much appreciated.
    Thanks
    Bri

    Hi,
    I am trying to use the tSAPInput component with RFC_READ_TABLE function to extract data from multiple SAP tables.  I have started with SFLIGHT as a very basic & small table, where I want to extract only a couple of columns.
    The Input - FIELDNAME I have defined without issue, but for the output schema I receive errors when trying to define the columns that I require.  If I use the default of "WA" then it works, but many of the tables that I want to extract are wider than the 512 characters of WA schema definition.
    Therefore I have created my own schema and columns in the
    output, but I receive the following error:
    Starting job SAP_Test at 11:25 10/09/2014.
    [statistics] connecting to socket on port 3932
    [statistics] connected
    Exception in component tSAPInput_3
    com.sap.conn.jco.JCoRuntimeException: (127)
    JCO_ERROR_FIELD_NOT_FOUND: Field MANDT is not a member of TAB512
    at com.sap.conn.jco.rt.AbstractMetaData.indexOf(AbstractMetaData.java:404)
    at com.sap.conn.jco.rt.AbstractRecord.getString(AbstractRecord.java:2870)
    at sap_connector.sap_test_0_1.SAP_Test.tSAPInput_3Process(SAP_Test.java:959)
    at sap_connector.sap_test_0_1.SAP_Test.tSAPConnection_1Process(SAP_Test.java:398)
    at sap_connector.sap_test_0_1.SAP_Test.runJobInTOS(SAP_Test.java:1315)
    at sap_connector.sap_test_0_1.SAP_Test.main(SAP_Test.java:1174)
    [statistics] disconnected
    job SAP_Test ended at 11:25 10/09/2014. [exit code=1]
    Attached is a screenshot of the job and components:
    Any help would be much appreciated.
    Thanks
    Bri

  • Property and Property Definition for a Node

    Hi all,
    While retrieving meta data for each node, I could not understand whether Property for a node represents meta data or Property Definition. Please provide a clear understanding and difference between the two.
    Second, is there a predefined fixed set of Property and Property Definition for a node (for any given portal application)?
    Provide inputs.
    Thanks,
    Shakti

    Hi Shakti,
    A node has two types of metadata -- the built-in system metadata such as node name, node path, node objectClass, create date, modified date, created by, etc -- visible via getXXX methods on the Node object, and the user-defined metadata.
    The system metadata applies to all nodes regardless of ObjectClass (and also to nodes without any ObjectClass).
    The user-defined metadata depends on the Node's ObjectClass. A node with no objectClass cannot have any user-defined metadata. A node with an objectClass can have the metadata defined by the ObjectClass's Property Definitions.
    Suppose Node n has ObjectClass "StringType", and StringType ObjectClass has two property definitions -- StringVal (single-valued string), and BinaryVal (single-valued binary). In this case, Node n can have zero, one, or two user-defined properties from the set 'StirngVal' and 'BinaryVal'.
    In short, a PropertyDefinition is a schema, part of the ObjectClass definition, whereas a Property is an instance of a PropertyDefinition attached to a node of the ObjectClass.
    -Steve

  • Will OSB supports using schema definition at runtime ?

    Here is the SOAP response defined in the WSDL.
    <s:element name="XXRatesResponse">
         <s:complexType>
              <s:sequence>
                   <s:element minOccurs="0" maxOccurs="1" name="XXRatesResult">
                        <s:complexType>
                             <s:sequence>
                             <s:element ref="s:schema"/>
                             <s:any/>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
              </s:sequence>
         </s:complexType>
    </s:element>
    This schema definition is working fine in SOAPUI. But when I try to create a Business Service using the WSDL in OSB 10gR3, it returns
    "*The invocation resulted in an error: Not Found.* "
    Our question is
    1. Will OSB supports runtime schema definitions?
    2. Any tweak can be done to support this?
    3. Will this is supported in 11g ?

    The invocation resulted in an error: Not Found. This error comes when Business Service is able to contact the destination server but not able to find the resources defined by the URL.
    Check the endpoint of the busienss service.
    Further, like Anuj mentioned, if you are able to create a Business Service out of the WSDL it means that the WSDL is validated and supported. The fact that you are getting an invocation error means that the Business Service is getting executed but not able to call the destination service.
    Edited by: AbhishekJ on Mar 24, 2011 11:26 AM

  • Creating CDATA in Schema Definition (.xsd)

    Anyone familiar with the ability to define an element type as CDATA within an .xsd schema definition file. I can't seem to find it anywhere. I found a few examples using type="xsd:cdata" but validation fails everytime. Any information would be greatly appreciated.
    thanks,
    JP

    Depends on how and where you want to use it. Lets see the xml/dtd (and possibly try on the xml forum?)

  • Difference between database design and schema design

    Hi i have visited so many database websites and i found so many people saying we can design a data base for you. Is schema designing and database designing is the same. so many palces i find people saying we have to design data base first in order to create a physical databse. so i am little bit confused. are they same? and also what is the difference between data model and schema?

    > the definition i found for logical data model, physical data model and the definition you
    gave for logical database design, physical database design are the same.
    Not correct. The physical design is the implemetation of the logical design. These two designs are at different levels. Also, the logical design will be the same. irrespective of the RDBMS product use.
    What is incorrect is a designer/architect designing a logical design specifically for Oracle.. or specifically for SQL-Server. A logical design has nothing to do with the RDBMS product (or h/w platforms. app servers, web severs and operating systems used).
    So the logical design will always be the same - it is RDBMS independent.
    The physical design is fully dependent on the RDBMS product used. The same logical design will be implemented as different physical designs for Oracle and for SQL-Server.

Maybe you are looking for

  • Help needed in index creation and its impact on insertion of records

    Hi All, I have a situation like this, and the process involves 4 tables. Among the 4 tables, 2 tables have around 30 columns each, and the other 2 has 15 columns each. This process contains validation and insert procedure. I have already created some

  • New iTunes library does not appear

    I've just got my new MacBook Pro and want to move my iTunes library to the new Mac. Followed the article about this (http://docs.info.apple.com/article.html?artnum=300173) except i used Firewire to move the iTunes folder. After replacing the iTunes f

  • File Vault: You don't have permission to access /~anybody/ on this server.

    I tried it on several machines without success: 403 Forbidden You don't have permission to access /~anybody/ on this server. Apache/1.3.33 Server at localhost.local Port 80 I can reach the main site on the computer but not the user site if user was s

  • Dynamic query exception

    How to handle dynamic query exception in my dynamic query say if i pass the wrong table name it is showing some errors instead i would like to use my own error statement as output eg: mytable :test_table declare mytable varchar2 :=test_table1234 --(w

  • Why is QuickOffice Pro not available?

    Was planning to purchase the 19.99 QuickOffice Pro from the ap store today and it says it is unavailable to the U.S. I'm assuming it has to do with the iOS7 update but was hoping it will be back ASAP? I need it for my graduate program.