Copy Evolve Schema Evolution Fails

Oracle 11gr2 on Linux VM
SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 22 13:51:28 2012
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Enter user-name: jmendez
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE    11.2.0.1.0      Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production I've been able to get schema evolution to work without data in the table (doesnt help much). When I have data in the table I get the following error message:
BEGIN
  2    DBMS_XMLSCHEMA.copyEvolve(
  3      xdb$string_list_t('http://localhost/xsd/test/collection_test_3.xsd'),
  4      XMLSequenceType(XDBURIType('/u01/app/xsd/test/collection_evolve_3.xsd').getXML()),
  5      XMLSequenceType(XDBURIType('/u01/app/xsd/test/collection_evolve_3.xsl').getXML()));
  6  END;
  7  /
BEGIN
ERROR at line 1:
ORA-30942: XML Schema Evolution error for schema
'http://localhost/xsd/test/collection_test_3.xsd' table
"JMENDEZ"."COLLECTION_TEST" column 'XML_DATA'
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00601: Invalid token in: '()'
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 153
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 221
ORA-06512: at line 2I've registered the schema's and loaded revised schema and xsl style sheets into the database. Before I try schema evolution I create the proper context and xml indexes and run a few queries with sample data. This works just fine. I drop the indexes prior to starting schema evolution and run the above command. It fails every time.
CREATE TABLE collection_test
    NAID     NUMBER not null enable,
    opa_counter     number,
    xml_data      XMLType not null enable,
    desc_type      varchar2(25 byte),
    constraint "PK_CL_NAID" Primary key ("NAID")
  XMLTYPE COLUMN "XML_DATA" STORE AS BASICFILE CLOB
  XMLSCHEMA "http://localhost/xsd/test/collection_test_3.xsd" ELEMENT "collection";
INSERT INTO COLLECTION_TEST(naid,XML_DATA) VALUES (111112,XMLTYPE('<collection>
      <collectionIdentifier>AAS</collectionIdentifier>
      <dataControlGroup>ou\=NW,ou\=groups,dc\=das,dc\=nara,dc\=gov</dataControlGroup>
      <dateApproved>
         <day>3</day>
         <month>12</month>
         <year>2001</year>
      </dateApproved>
      <dateEntered>
         <day>3</day>
         <month>12</month>
         <year>2001</year>
      </dateEntered>
      <descriptionType>6021989</descriptionType>
      <inclusiveEndDate>
         <year>1926</year>
      </inclusiveEndDate>
      <inclusiveStartDate>
         <year>1923</year>
      </inclusiveStartDate>
      <isUnderEdit>false</isUnderEdit>
      <naId>766</naId>
      <organizationalDonorArray>
         <organizationName>
            <naId>6505115</naId>
         </organizationName>
      </organizationalDonorArray>
      <title>American Antiquarian Society Collection</title>
      <variantControlNumberArray>
         <variantControlNumber>
            <number>AAS</number>
            <variantControlNumberType>
               <naId>6044072</naId>
            </variantControlNumberType>
         </variantControlNumber>
      </variantControlNumberArray>
   </collection>')); I've used mapforce to generate my XSL file.
I can't seem to find the right resource online for my problem. Any help or redirection is greatly appreciated. Thanks
-jjm
Edited by: jjmdb on Feb 22, 2012 10:51 AM

I am testing schema evolution in a test environment. I'm only changing the xsd file and adding a new element (fullTitle) and having the data that copied from title to fulltitle.
BEFORE
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Description : Collections XML schema
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" version="0.3">
     <!--
      - Include document detailing common Archival Types
    -->
     <xs:include schemaLocation="ArchivalTypes.xsd"/>
     <!--
      - Main XML definition
    -->
     <xs:element name="collection" type="coll_type"/>
     <xs:complexType name="coll_type">
          <xs:sequence>
               <xs:element name="approvedBy" type="xs:string" minOccurs="0"/>
               <xs:element name="collectionIdentifier" type="xs:string" minOccurs="0"/>
               <xs:element name="coverageEndDate" type="qualifiableDate" minOccurs="0"/>
               <xs:element name="coverageStartDate" type="qualifiableDate" minOccurs="0"/>
               <xs:element name="dataControlGroup" type="xs:string" minOccurs="0"/>
               <xs:element name="dateApproved" type="dasDate" minOccurs="0"/>
               <xs:element name="dateEntered" type="dasDate" minOccurs="0"/>
               <xs:element name="dateNote" type="xs:string" minOccurs="0"/>
               <xs:element name="descriptionAuthorArray" type="descriptionAuthorArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="descriptionDateArray" type="dasDateArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="descriptionType" type="xs:long" minOccurs="0"/>
               <xs:element name="enteredBy" type="xs:string" minOccurs="0"/>
               <xs:element name="findingAidArray" type="findingAidArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="formerlyContainedArray" type="seriesArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="inclusiveEndDate" type="qualifiableDate" minOccurs="0"/>
               <xs:element name="inclusiveStartDate" type="qualifiableDate" minOccurs="0"/>
               <xs:element name="isUnderEdit" type="xs:boolean" minOccurs="0"/>
               <xs:element name="naId" type="xs:long" minOccurs="1"/>
               <xs:element name="organizationalDonorArray" type="organizationNameArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="personalDonorArray" type="personArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="preliminaryDescriptionArray" type="preliminaryDescriptionArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="scopeAndContentNote" type="xs:string" minOccurs="0"/>
               <xs:element name="seriesArray" type="seriesArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="staffOnlyNote" type="xs:string" minOccurs="0"/>
               <xs:element name="title" type="xs:string" minOccurs="0"/>
               <xs:element name="variantControlNumberArray" type="variantControlNumberArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
     </xs:complexType>
</xs:schema>
AFTER
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Description : Collections XML schema
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" version="0.3">
     <!--
      - Include document detailing common Archival Types
    -->
     <xs:include schemaLocation="ArchivalTypes.xsd"/>
     <!--
      - Main XML definition
    -->
     <xs:element name="collection" type="coll_type"/>
     <xs:complexType name="coll_type">
          <xs:sequence>
               <xs:element name="approvedBy" type="xs:string" minOccurs="0"/>
               <xs:element name="collectionIdentifier" type="xs:string" minOccurs="0"/>
               <xs:element name="coverageEndDate" type="qualifiableDate" minOccurs="0"/>
               <xs:element name="coverageStartDate" type="qualifiableDate" minOccurs="0"/>
               <xs:element name="dataControlGroup" type="xs:string" minOccurs="0"/>
               <xs:element name="dateApproved" type="dasDate" minOccurs="0"/>
               <xs:element name="dateEntered" type="dasDate" minOccurs="0"/>
               <xs:element name="dateNote" type="xs:string" minOccurs="0"/>
               <xs:element name="descriptionAuthorArray" type="descriptionAuthorArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="descriptionDateArray" type="dasDateArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="descriptionType" type="xs:long" minOccurs="0"/>
               <xs:element name="enteredBy" type="xs:string" minOccurs="0"/>
               <xs:element name="findingAidArray" type="findingAidArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="formerlyContainedArray" type="seriesArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="inclusiveEndDate" type="qualifiableDate" minOccurs="0"/>
               <xs:element name="inclusiveStartDate" type="qualifiableDate" minOccurs="0"/>
               <xs:element name="isUnderEdit" type="xs:boolean" minOccurs="0"/>
               <xs:element name="naId" type="xs:long" minOccurs="1"/>
               <xs:element name="organizationalDonorArray" type="organizationNameArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="personalDonorArray" type="personArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="preliminaryDescriptionArray" type="preliminaryDescriptionArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="scopeAndContentNote" type="xs:string" minOccurs="0"/>
               <xs:element name="seriesArray" type="seriesArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="staffOnlyNote" type="xs:string" minOccurs="0"/>
               <xs:element name="title" type="xs:string" minOccurs="0"/>
               <xs:element name="fullTitle" type="xs:string" minOccurs="0"/>
               <xs:element name="variantControlNumberArray" type="variantControlNumberArray" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
     </xs:complexType>
</xs:schema>XSLT
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file was generated by Altova MapForce 2012sp1
YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
Refer to the Altova MapForce Documentation for further details.
http://www.altova.com/mapforce
-->
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:core="http://www.altova.com/MapForce/UDF/core" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" exclude-result-prefixes="core xs fn">
     <xsl:template name="core:convert-uri-to-windows-file-path">
          <xsl:param name="uri" select="()"/>
          <xsl:choose>
               <xsl:when test="fn:starts-with($uri, 'file://')">
                    <xsl:choose>
                         <xsl:when test="(fn:substring($uri, xs:double('6'), xs:double('3')) = '///')">
                              <xsl:variable name="var1_resultof_url_decode" as="xs:string">
                                   <xsl:call-template name="core:url-decode">
                                        <xsl:with-param name="uri" select="fn:substring($uri, xs:double('9'), xs:double(fn:string-length($uri)))" as="xs:string"/>
                                   </xsl:call-template>
                              </xsl:variable>
                              <xsl:sequence select="fn:translate($var1_resultof_url_decode, '/|', '\:')"/>
                         </xsl:when>
                         <xsl:otherwise>
                              <xsl:sequence select="$uri"/>
                         </xsl:otherwise>
                    </xsl:choose>
               </xsl:when>
               <xsl:otherwise>
                    <xsl:sequence select="$uri"/>
               </xsl:otherwise>
          </xsl:choose>
     </xsl:template>
     <xsl:template name="core:url-decode">
          <xsl:param name="uri" select="()"/>
          <xsl:choose>
               <xsl:when test="fn:contains($uri, '%')">
                    <xsl:variable name="var1_resultof_url_decode_part" as="xs:string">
                         <xsl:call-template name="core:url-decode-part">
                              <xsl:with-param name="uripart" select="fn:substring-after($uri, '%')" as="xs:string"/>
                         </xsl:call-template>
                    </xsl:variable>
                    <xsl:sequence select="fn:concat(fn:substring-before($uri, '%'), $var1_resultof_url_decode_part)"/>
               </xsl:when>
               <xsl:otherwise>
                    <xsl:sequence select="$uri"/>
               </xsl:otherwise>
          </xsl:choose>
     </xsl:template>
     <xsl:template name="core:url-decode-part">
          <xsl:param name="uripart" select="()"/>
          <xsl:variable name="var1_resultof_dec_from__digits_hex" as="xs:decimal">
               <xsl:call-template name="core:dec-from-2digits-hex">
                    <xsl:with-param name="hex" select="$uripart" as="xs:string"/>
               </xsl:call-template>
          </xsl:variable>
          <xsl:choose>
               <xsl:when test="($var1_resultof_dec_from__digits_hex &lt; xs:decimal('128'))">
                    <xsl:call-template name="core:url-decode-utf8">
                         <xsl:with-param name="value" select="$var1_resultof_dec_from__digits_hex" as="xs:decimal"/>
                         <xsl:with-param name="bytes" select="xs:decimal('0')" as="xs:decimal"/>
                         <xsl:with-param name="rest" select="fn:substring($uripart, xs:double('3'), xs:double(fn:string-length($uripart)))" as="xs:string"/>
                    </xsl:call-template>
               </xsl:when>
               <xsl:when test="($var1_resultof_dec_from__digits_hex &lt; xs:decimal('194'))">
                    <xsl:call-template name="core:url-decode">
                         <xsl:with-param name="uri" select="fn:substring($uripart, xs:double('3'), xs:double(fn:string-length($uripart)))" as="xs:string"/>
                    </xsl:call-template>
               </xsl:when>
               <xsl:when test="($var1_resultof_dec_from__digits_hex &lt; xs:decimal('224'))">
                    <xsl:call-template name="core:url-decode-utf8">
                         <xsl:with-param name="value" select="$var1_resultof_dec_from__digits_hex" as="xs:decimal"/>
                         <xsl:with-param name="bytes" select="xs:decimal('1')" as="xs:decimal"/>
                         <xsl:with-param name="rest" select="fn:substring($uripart, xs:double('3'), xs:double(fn:string-length($uripart)))" as="xs:string"/>
                    </xsl:call-template>
               </xsl:when>
               <xsl:when test="($var1_resultof_dec_from__digits_hex &lt; xs:decimal('240'))">
                    <xsl:call-template name="core:url-decode-utf8">
                         <xsl:with-param name="value" select="$var1_resultof_dec_from__digits_hex" as="xs:decimal"/>
                         <xsl:with-param name="bytes" select="xs:decimal('2')" as="xs:decimal"/>
                         <xsl:with-param name="rest" select="fn:substring($uripart, xs:double('3'), xs:double(fn:string-length($uripart)))" as="xs:string"/>
                    </xsl:call-template>
               </xsl:when>
               <xsl:when test="($var1_resultof_dec_from__digits_hex &lt; xs:decimal('245'))">
                    <xsl:call-template name="core:url-decode-utf8">
                         <xsl:with-param name="value" select="$var1_resultof_dec_from__digits_hex" as="xs:decimal"/>
                         <xsl:with-param name="bytes" select="xs:decimal('3')" as="xs:decimal"/>
                         <xsl:with-param name="rest" select="fn:substring($uripart, xs:double('3'), xs:double(fn:string-length($uripart)))" as="xs:string"/>
                    </xsl:call-template>
               </xsl:when>
               <xsl:otherwise>
                    <xsl:sequence select="''"/>
               </xsl:otherwise>
          </xsl:choose>
     </xsl:template>
     <xsl:template name="core:dec-from-2digits-hex">
          <xsl:param name="hex" select="()"/>
          <xsl:variable name="var1_resultof_dec_from__digit_hex" as="xs:decimal">
               <xsl:call-template name="core:dec-from-1digit-hex">
                    <xsl:with-param name="hex" select="fn:substring($hex, xs:double('1'), xs:double('1'))" as="xs:string"/>
               </xsl:call-template>
          </xsl:variable>
          <xsl:variable name="var2_resultof_dec_from__digit_hex" as="xs:decimal">
               <xsl:call-template name="core:dec-from-1digit-hex">
                    <xsl:with-param name="hex" select="fn:substring($hex, xs:double('2'), xs:double('1'))" as="xs:string"/>
               </xsl:call-template>
          </xsl:variable>
          <xsl:sequence select="(($var1_resultof_dec_from__digit_hex * xs:decimal('16')) + $var2_resultof_dec_from__digit_hex)"/>
     </xsl:template>
     <xsl:template name="core:url-decode-utf8">
          <xsl:param name="value" select="()"/>
          <xsl:param name="bytes" select="()"/>
          <xsl:param name="rest" select="()"/>
          <xsl:choose>
               <xsl:when test="($bytes = xs:integer('0'))">
                    <xsl:variable name="var1_resultof_char_from_code" as="xs:string">
                         <xsl:call-template name="core:char-from-code">
                              <xsl:with-param name="code" select="xs:integer($value)" as="xs:integer"/>
                         </xsl:call-template>
                    </xsl:variable>
                    <xsl:variable name="var2_resultof_url_decode" as="xs:string">
                         <xsl:call-template name="core:url-decode">
                              <xsl:with-param name="uri" select="$rest" as="xs:string"/>
                         </xsl:call-template>
                    </xsl:variable>
                    <xsl:sequence select="fn:concat($var1_resultof_char_from_code, $var2_resultof_url_decode)"/>
               </xsl:when>
               <xsl:when test="(fn:substring($rest, xs:double('1'), xs:double('1')) = '%')">
                    <xsl:variable name="var3_resultof_cast" as="xs:double" select="xs:double(fn:string-length($rest))"/>
                    <xsl:variable name="var4_resultof_dec_from__digits_hex" as="xs:decimal">
                         <xsl:call-template name="core:dec-from-2digits-hex">
                              <xsl:with-param name="hex" select="fn:substring($rest, xs:double('2'), $var3_resultof_cast)" as="xs:string"/>
                         </xsl:call-template>
                    </xsl:variable>
                    <xsl:call-template name="core:url-decode-utf8">
                         <xsl:with-param name="value" select="((($value mod xs:decimal('64')) * xs:decimal('64')) + ($var4_resultof_dec_from__digits_hex mod xs:decimal('64')))" as="xs:decimal"/>
                         <xsl:with-param name="bytes" select="($bytes - xs:decimal('1'))" as="xs:decimal"/>
                         <xsl:with-param name="rest" select="fn:substring($rest, xs:double('4'), $var3_resultof_cast)" as="xs:string"/>
                    </xsl:call-template>
               </xsl:when>
               <xsl:otherwise>
                    <xsl:call-template name="core:url-decode">
                         <xsl:with-param name="uri" select="$rest" as="xs:string"/>
                    </xsl:call-template>
               </xsl:otherwise>
          </xsl:choose>
     </xsl:template>
     <xsl:template name="core:dec-from-1digit-hex">
          <xsl:param name="hex" select="()"/>
          <xsl:variable name="var1_resultof_string_length" as="xs:integer" select="fn:string-length(fn:substring-before('0123456789ABCDEFabcdef', $hex))"/>
          <xsl:choose>
               <xsl:when test="($var1_resultof_string_length &lt;= xs:integer('15'))">
                    <xsl:sequence select="$var1_resultof_string_length"/>
               </xsl:when>
               <xsl:otherwise>
                    <xsl:sequence select="($var1_resultof_string_length - xs:decimal('6'))"/>
               </xsl:otherwise>
          </xsl:choose>
     </xsl:template>
     <xsl:template name="core:char-from-code">
          <xsl:param name="code" select="()"/>
          <xsl:sequence select="fn:codepoints-to-string($code)"/>
     </xsl:template>
     <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
     <xsl:template match="/">
          <xsl:variable name="var1_resultof_document" as="node()" select="."/>
          <xsl:variable name="var2_resultof_convert_uri_to_windows_file_path" as="xs:string">
               <xsl:call-template name="core:convert-uri-to-windows-file-path">
                    <xsl:with-param name="uri" select="fn:document-uri($var1_resultof_document)" as="xs:string"/>
               </xsl:call-template>
          </xsl:variable>
          <xsl:result-document href="{$var2_resultof_convert_uri_to_windows_file_path}" encoding="UTF-8">
               <collection>
                    <xsl:attribute name="xsi:noNamespaceSchemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance" select="'C:/Users/Javier/Documents/XML/XSD/collection_evolve_2.xsd'"/>
                    <xsl:for-each select="$var1_resultof_document/collection">
                         <xsl:variable name="var3_title" as="node()?" select="title"/>
                         <xsl:for-each select="approvedBy">
                              <approvedBy>
                                   <xsl:sequence select="fn:string(.)"/>
                              </approvedBy>
                         </xsl:for-each>
                         <xsl:for-each select="collectionIdentifier">
                              <collectionIdentifier>
                                   <xsl:sequence select="fn:string(.)"/>
                              </collectionIdentifier>
                         </xsl:for-each>
                         <xsl:for-each select="coverageEndDate">
                              <coverageEndDate>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </coverageEndDate>
                         </xsl:for-each>
                         <xsl:for-each select="coverageStartDate">
                              <coverageStartDate>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </coverageStartDate>
                         </xsl:for-each>
                         <xsl:for-each select="dataControlGroup">
                              <dataControlGroup>
                                   <xsl:sequence select="fn:string(.)"/>
                              </dataControlGroup>
                         </xsl:for-each>
                         <xsl:for-each select="dateApproved">
                              <dateApproved>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </dateApproved>
                         </xsl:for-each>
                         <xsl:for-each select="dateEntered">
                              <dateEntered>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </dateEntered>
                         </xsl:for-each>
                         <xsl:for-each select="dateNote">
                              <dateNote>
                                   <xsl:sequence select="fn:string(.)"/>
                              </dateNote>
                         </xsl:for-each>
                         <xsl:for-each select="descriptionAuthorArray">
                              <descriptionAuthorArray>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </descriptionAuthorArray>
                         </xsl:for-each>
                         <xsl:for-each select="descriptionDateArray">
                              <descriptionDateArray>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </descriptionDateArray>
                         </xsl:for-each>
                         <xsl:for-each select="descriptionType">
                              <descriptionType>
                                   <xsl:sequence select="xs:string(xs:integer(fn:string(.)))"/>
                              </descriptionType>
                         </xsl:for-each>
                         <xsl:for-each select="enteredBy">
                              <enteredBy>
                                   <xsl:sequence select="fn:string(.)"/>
                              </enteredBy>
                         </xsl:for-each>
                         <xsl:for-each select="findingAidArray">
                              <findingAidArray>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </findingAidArray>
                         </xsl:for-each>
                         <xsl:for-each select="formerlyContainedArray">
                              <formerlyContainedArray>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </formerlyContainedArray>
                         </xsl:for-each>
                         <xsl:for-each select="inclusiveEndDate">
                              <inclusiveEndDate>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </inclusiveEndDate>
                         </xsl:for-each>
                         <xsl:for-each select="inclusiveStartDate">
                              <inclusiveStartDate>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </inclusiveStartDate>
                         </xsl:for-each>
                         <xsl:for-each select="isUnderEdit">
                              <isUnderEdit>
                                   <xsl:sequence select="xs:string(xs:boolean(fn:string(.)))"/>
                              </isUnderEdit>
                         </xsl:for-each>
                         <naId>
                              <xsl:sequence select="xs:string(xs:integer(fn:string(naId)))"/>
                         </naId>
                         <xsl:for-each select="organizationalDonorArray">
                              <organizationalDonorArray>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </organizationalDonorArray>
                         </xsl:for-each>
                         <xsl:for-each select="personalDonorArray">
                              <personalDonorArray>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </personalDonorArray>
                         </xsl:for-each>
                         <xsl:for-each select="preliminaryDescriptionArray">
                              <preliminaryDescriptionArray>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </preliminaryDescriptionArray>
                         </xsl:for-each>
                         <xsl:for-each select="scopeAndContentNote">
                              <scopeAndContentNote>
                                   <xsl:sequence select="fn:string(.)"/>
                              </scopeAndContentNote>
                         </xsl:for-each>
                         <xsl:for-each select="seriesArray">
                              <seriesArray>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </seriesArray>
                         </xsl:for-each>
                         <xsl:for-each select="staffOnlyNote">
                              <staffOnlyNote>
                                   <xsl:sequence select="fn:string(.)"/>
                              </staffOnlyNote>
                         </xsl:for-each>
                         <xsl:for-each select="$var3_title">
                              <title>
                                   <xsl:sequence select="fn:string(.)"/>
                              </title>
                         </xsl:for-each>
                         <xsl:for-each select="$var3_title">
                              <fullTitle>
                                   <xsl:sequence select="fn:string(.)"/>
                              </fullTitle>
                         </xsl:for-each>
                         <xsl:for-each select="variantControlNumberArray">
                              <variantControlNumberArray>
                                   <xsl:sequence select="(./@node(), ./node())"/>
                              </variantControlNumberArray>
                         </xsl:for-each>
                    </xsl:for-each>
               </collection>
          </xsl:result-document>
     </xsl:template>
</xsl:stylesheet>Edited by: jjmdb on Feb 22, 2012 11:42 AM

Similar Messages

  • Copy evolve

    Hello,
    I have a couple of db maintenance questions about using xmldb (shredded, with schema of medium complexity):
    1. Can anyone give a ballpark idea of the time required for simple schema evolution (an attribute here, a single new element there..) with a relatively large number of xml instance docs inserted (say, 3-5 million)? Hardware would be fast, IBM P5 3 - 4 cpu. Are we talking minutes, hours, or days?
    2. Since the copyEvolve function basically copies the data, blows away the old schema and associated tables, and recreates everything, there would be a problem with managing this in a high-availability production system. What strategies are there for performing a copyEvolve while allowing access to the existing data (assuming the answer to question number one is 'a long time'). Anybody out there do anything like this?
    3. In my attempt at a copy evolve, the addition of a single attribute, I supplied a stylesheet that should have added the attribute to the existing xml instances and set a default value (it does when applying the xsl with other tools). While the copyEvolve seemed to work (after completion, the old data was still there and new instances with the attribute could be inserted), the old data did NOT have the new attribute or default value. What stupid mistake did I make?
    Thanks!

    Hello,
    I have a couple of db maintenance questions about using xmldb (shredded, with schema of medium complexity):
    1. Can anyone give a ballpark idea of the time required for simple schema evolution (an attribute here, a single new element there..) with a relatively large number of xml instance docs inserted (say, 3-5 million)? Hardware would be fast, IBM P5 3 - 4 cpu. Are we talking minutes, hours, or days?
    2. Since the copyEvolve function basically copies the data, blows away the old schema and associated tables, and recreates everything, there would be a problem with managing this in a high-availability production system. What strategies are there for performing a copyEvolve while allowing access to the existing data (assuming the answer to question number one is 'a long time'). Anybody out there do anything like this?
    3. In my attempt at a copy evolve, the addition of a single attribute, I supplied a stylesheet that should have added the attribute to the existing xml instances and set a default value (it does when applying the xsl with other tools). While the copyEvolve seemed to work (after completion, the old data was still there and new instances with the attribute could be inserted), the old data did NOT have the new attribute or default value. What stupid mistake did I make?
    Thanks!

  • XDB schema evolution help

    Hello,
    I am currently working on a proof of concept using Oracle's XMLTYPE. I have successfully registered a schema and created a table that has an XMLTYPE column that is bound to the registered schema. Everything works perfect - invalid XML docs are rejected and valid XML docs are inserted without error.
    I am now working through schema evolution. Since it is unlikely that our schemas will change drastically, I am testing the inplaceevolve functionality.
    I have written a quick procedure and it looks like the evolve is working without error. Doing a quick SELECT * FROM USER_XML_SCHEMAS shows that the schema was updated - awesome!
    When I go to insert an XML document through my client, it inserts fine with no errors! However, when I try to view the row in the SQL Navigator I get the following error.
    ORA-30991: cannot use DOM to add special attribute to schema-based parent
    I can still view the old documents but none of the new ones - what could I be missing?
    Thanks for looking and especially any help provided.
    Best!
    Brian

    Got the issue resoved.
    Initially the schema was created in the local domain of the user. The updated schema was registered in the public domain.
    The table Name301_TAB was therefore created under the user domain and the CopyEvolve() function was looking for the function in Public domain.
    Thanks for the help.

  • Inplace Schema Evolution

    Mark,
    You said in Nov. 2005:
    "We did demo the process in our pod in the Oracle Database campgrounds. FYI, for the four simple examples we were using, the current copy/evolve process would take approx 8 mins to handle 10000 of our standard purchaseorder documents, the inplace evolution would complete in less than 4 seconds."
    I am wondering if this functionality is released to the public yet.

    This functionality will be made available in a future release of the database. Due to compliance reasons I cannot say which release or when that release will become available in a public forum.

  • Catalog object schema validation failed(AGFIXBO2:EIRWWH9E)

    Hi,
    After copying my catalog from OBIEE 11.1.1.6.*0* (Build 120104.0800 64-bit) to 11.1.1.6.*7* (Build 121219.1257 64-bit).
    Many of my report (particularly those with graphs) was not valid.
    I have this message :
    Catalog object schema validation failed: /shared/...
    Error Details
    Error Codes: AGFIXBO2:EIRWWH9E
    Location: saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    The current xml is invalid with the following errors: Bad xml instance! <?xml version="1.0"?> <saw:report xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .... Message:Value 'actual' is not in enumeration .
    Please someone has any ideas to solve this issues.

    Hello,
    Check is post : Catalog object schema validation failed:  11.1.1.6.7 Patchset
    Also check this note : OBIEE 11g: Error: "Catalog object schema validation failed...Error Codes: AGFIXBO2:EIRWWH9E" After Upgrade [ID 1247125.1]
    Hope this helps. Pls mark if it does.
    Thanks,
    SVS

  • How to copy one schema into another

    I need to copy one schema into another. That means, all the tables, views, constraints, etc, and all the data as well.
    I have a dmp file of source-schema (created daily with expdp by our backup schedule).
    Can I use impdp to import this dmp file into dest-schema? I'm thinking about something like this:
    The dmp file was created with:
    expdp source-schema/pwd DIRECTORY=dmpdir DUMPFILE=myproject.dmp
    Create the copy on dest-schema with:
    impdp dest-schema/pwd DIRECTORY=dmpdir DUMPFILE=myproject.dmp
    (dest-schema is an existing schema on the same machine. I'll drop all the tables before executing the command. Is there anything else I should do first?)
    If this approach is not feasible, kindly suggest me an alternative.
    Thank you.
    Edited by: mgro on Apr 16, 2010 3:22 AM (changed 2nd command: expdp to impdp)

    Thank you both. Dean, I've made a note of your proposed command. May use it next time.
    In the end I used the following command and it worked for me. I added TABLE_EXISTS_ACTION=REPLACE since the destination was not empty.
    First I ran these command logged in as SYS
    GRANT Import Full Database TO dest-schema;
    GRANT Create Any Directory TO dest-schema;
    GRANT Unlimited Tablespace TO dest-schema;
    impdp
    dest-schema/pwd
    DIRECTORY=dmpdir
    DUMPFILE=myproject.dmp
    REMAP_SCHEMA=source-schema:dest-schema
    TABLE_EXISTS_ACTION=REPLACE
    LOGFILE=implog.log
    There were some errors though. The import process complained about constraints referencing non-existent primary keys.
    It turns out that the source schema has some constraints that are marked with status DISABLED. These constraints either:
    - are not part of the DUMP file
    or
    - are in the DUMP file but skipped during import
    Don't know if this is a bug or by design behavior.

  • Error : Catalog object schema validation failed in OBIEE 11.1.1.5

    Hi all ,
    Facing the below error while accessing few reports present in a folder (Voice Tab) . But , able to access other reports present in the same folder .
    Catalog object schema validation failed: /users/weblogic/sayak/TPLAN reports/Voice Tab/Net revenue per minute (ILD\/NLD)
    Error Details
    Error Codes: AGFIXBO2:EIRWWH9E
    Location: saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
    Also while try to edit the analysis (Net revenue per minute (ILD\/NLD) from catalog , i am getting the above error .The Reports were fine till yesterday , What could be the issue ?
    Thanks

    Hi Devarasu ,
    Yeah .. I'm aware of this bug of 11.1.1.5 , but I'm puzzeled by the sudden impact of it . i.e , It didn't gave me the error while creating/editing the file yesterday and looked fine on dashboard as well .
    However , If there's no alternative other than applying patch , then please let me know the patch ID .
    And applying this patch means , just overwriting some configure files in the OBIEE home folder sructure ? or somthing else ?
    Thanks

  • " Attempting to copy to disk "---- ipod" failed.The disk could not be.... ?

    hello every one and happy holidays.
    " Attempting to copy to disk "---- ipod" failed.The disk could not be read from or written to. "
    I have this problem and I can find a solution
    I had try every possible tip
    including.
    - reset many times
    - restore
    - diskwarrior
    - disk utility
    - erase disk
    - erase disk Zero out data
    - erase disk 7-Pass Erase
    - iPod Updater 2005-03-23
    - iPod Updater 2005-09-06
    - iPod Updater 2005-09-23
    - MacOSXUpdateCombo10.4.3
    - iTunes6.0.1 reinstall
    the ipod works just fine and operates properly
    it just does NOT whant to sync with itunes
    I know I'm not the only one with this issue
    there are many post in regard of this problem
    I believe that this is a software issue and not a hardware
    please comment and give any tip for me and the other people with this problem
    thank you
    sam
    dual 800 G4   Mac OS X (10.4.3)  

    I had the same problem. And to think I actually HESITATED at installing the update. Oh wait... this happened AFTER the update. Funny how often that happens, eh? But I digress...
    Anyway, I had two errors- initially the iPod stated my music library was somewhere else, and did I want to sync to that library. When I said yes, it reverted then to the "attempting to copy to disk"error. Further, iTunes showed that my iPod on the iTunes was EMPTY. However, my actual iPod hadn't lost any data. Confused yet? So am I.
    *Last ditch effort- I went back in, and updated all my permissions, did a permission repair and then a permission verify.
    * Also did a disk verify on the iPod to make sure it wasn't sick.
    *I also drug a new song into my library.
    *Changed from the USB plugin to the firewire. (Although I did this earlier in the day, and hadn't seen a noticeble change)
    * Opened the bottle of Sauvignon Blanc. (should have done that a few hours ago)
    When my first pop up asked about did I want to sync to the mystery persons library, I said yes. (At the worst, I have all my music and could reimport all 30G of it, if necessary.) And immediately, the sync began, and began appropriately. However, it IS re-syncing every single song I had on the iPod to begin with.
    I suspect something nasty happened in the iTunes update, ever since the intel thing happened, the updates have been a bit sketchy. I really like Apple products, but I've gone through 3 iPods due to software meltdowns, and it's a bit frustrating.
    Good luck!
    iMac G4   Mac OS X (10.3.9)   iPod scroll wheel,
    iMac G4   Mac OS X (10.3.9)   3rd generation I think...

  • "attempting to copy to [external drive] failed. the disk could not be read"

    this is a problem on my 2x3GHz quad-core intel xeon macPro running os 10.5.7, and itunes 8.2. i have a 1TB external hard drive (firewire 800) that holds all my music for itunes. i have never had any problem with this setup before, until recently.
    once, a while back i got an error on my itunes (that popped up without me doing anything.. seemingly random) saying something about not being able to save the itunes library. that went away after a restart, and hasn't returned.
    BUT a new problem now happens any time i try to add more music to my itunes library. i have always added music to itunes by setting up my preferences "add file to library" and have the itunes library pointing to my external hard drive. then by dragging the files on-top of a playlist, it sorts and adds the files to my external hard drive. i have been using this process for years without any glitches.
    now when i try to drag files into itunes, i get: "attempting to copy to [external drive] failed. the disk could not be read from or written to"
    i double checked the read/write privileges on my external drive and nothing has changed since i got it. (it's still read/write access for my user.. and i've even tried putting a "read/write" for "all" as well. no dice)

    thanks, that actually doesn't help the issue i'm having.
    but now the problem has expanded to finder and everything else. so i'm pretty sure the external hard drive is starting to go out. i'm currently attempting to back up all 700GB of info from the drive.

  • The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    What program are you using?  And what version?

  • Attempting to copy to the disk failed. An unknown error occurrred (-51).

    I apologize if this issue has been addressed before, but I’m pretty well at the end of my rope here. As mentioned in the title, the message is:
    “Attempting to copy to the disk failed. An unknown error occurred (-51)”
    I have tried resetting my 20G iPod, as well as re-downloading and running the iTunes and iPod installer. If I delete something off of my iPod, unplug it, and then plug it back in again, the song name is there again, but this time it has an exclamation point next to it and it won’t play the song. It plays the rest of the music fine through the computer and through my stereo (I was having some problems with it skipping to the next song in the middle of a song, but I reset it and haven’t had the problem since). I don’t want to have to restore the iPod for the simple fact that I didn’t take the time to backup all my music. That would be a pain. Also, something else I’ve noticed is that I can actually hear its hard drive now kicking in and out when it’s really quiet and plugged into the computer. I hope that I just never noticed that before.
    Without having to restore, is there anything else that I haven’t tried? HELP!!
    15" Powerbook G4   Mac OS X (10.3.9)  

    Welcome to Apple Discussions!
    See if either of these help (even though they apply for different error numbers/messages)...
    http://docs.info.apple.com/article.html?artnum=302684
    http://docs.info.apple.com/article.html?artnum=301267
    Also, make sure everything is up to date...
    iTunes
    iPod Updater
    Updating iPod's Software
    If none of that works, you may need to restore...
    Restore the iPod
    But you can try to recover your music first...
    MacMuse: Computer Crashed
    btabz

  • Errors when using inplace schema evolution

    Hi, i have been having some issues when attempting to use inplace schema evolution to add a new element into an existing xsd file currently registered on the database and was looking for some help with this if possible.
    Firstly, Oracle details are as follows :
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE     11.2.0.2.0     Production"
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - ProductionThe xsd registered on the database is called truncheadtest2.xsd :
    <?xml version="1.0" encoding="UTF-8"?>
    <!--W3C Schema generated by XMLSpy v2009 sp1 (http://www.altova.com)-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
         <xs:element name="title">
              <xs:simpleType>
                   <xs:restriction base="xs:string"/>
              </xs:simpleType>
         </xs:element>
         <xs:element name="clientRiskEventHeader" xdb:defaultTable="EVLN_CLIENTRISKEVENTHEADER">
              <xs:complexType xdb:SQLType="EVLN_CLIENTRISKEVENTHEADER_T">
                   <xs:sequence>
                        <xs:element ref="title" xdb:SQLName="TITLE"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>registered via :
    BEGIN
      DBMS_XMLSCHEMA.registerSchema(
       SCHEMAURL => 'http://xmlns.kfis.co.uk/testevheader/xsdin/truncheadertest.xsd',
      SCHEMADOC => XDBURIType('/public/web_quotes/header/xsd/test/SchemaTest/truncheadtest2.xsd').getCLOB());
    END;i have then created a new xsd, to add the new element to the xsd (using minoccurs to allow backwards compatibility between xml files conforming to the 1st xsd and this new xsd), called truncheadtestfn3.xsd :
    <?xml version="1.0" encoding="UTF-8"?>
    <!--W3C Schema generated by XMLSpy v2009 sp1 (http://www.altova.com)-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
         <xs:element name="title">
              <xs:simpleType>
                   <xs:restriction base="xs:string"/>
              </xs:simpleType>
         </xs:element>
         <xs:element name="forename">
              <xs:simpleType>
                   <xs:restriction base="xs:string"/>
              </xs:simpleType>
         </xs:element>
         <xs:element name="clientRiskEventHeader" xdb:defaultTable="EVLN_CLIENTRISKEVENTHEADER">
              <xs:complexType xdb:SQLType="EVLN_CLIENTRISKEVENTHEADER_T">
                   <xs:sequence>
                        <xs:element ref="title" xdb:SQLName="TITLE"/>
                        <xs:element ref="forename" minOccurs="0" xdb:SQLName="FORENAME"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>I can run the following code to create the difference doc between the 2 versions of the schema document, without errors:
    DECLARE
       schemaDiff XMLType;
       res boolean;
    BEGIN
       SELECT xmlDiff
            xdburitype('/public/web_quotes/header/xsd/test/SchemaTest/truncheadtest2.xsd').getXML(),
            xdburitype('/public/web_quotes/header/xsd/test/SchemaTest/truncheadtestfn3.xsd').getXML()
       INTO schemaDiff
       FROM dual;
       IF (dbms_xdb.existsResource('/public/web_quotes/header/xsd/test/SchemaTest/header.xml')) THEN
           dbms_xdb.deleteResource('/public/web_quotes/header/xsd/test/SchemaTest/header.xml');
       END IF;
       res :=
         dbms_xdb.createResource('/public/web_quotes/header/xsd/test/SchemaTest/header.xml',schemaDiff);
         dbms_xmlschema.inPlaceEvolve('http://xmlns.kfis.co.uk/testevheader/xsdin/truncheadertest.xsd',schemaDiff,2);
    END;
    / which creates the following xml file:
    - <xd:xdiff xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xd="http://xmlns.oracle.com/xdb/xdiff.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <?oracle-xmldiff operations-in-docorder="true" output-model="snapshot" diff-algorithm="global"?>
    - <xd:insert-node-before xd:node-type="element" xd:xpath="/xs:schema[1]/xs:element[2]">
    - <xd:content>
    - <xs:element name="forename">
    - <xs:simpleType>
      <xs:restriction base="xs:string" />
      </xs:simpleType>
      </xs:element>
      </xd:content>
      </xd:insert-node-before>
    - <xd:append-node xd:node-type="element" xd:parent-xpath="/xs:schema[1]/xs:element[2]/xs:complexType[1]/xs:sequence[1]">
    - <xd:content>
      <xs:element ref="forename" minOccurs="0" xdb:SQLName="FORENAME" />
      </xd:content>
      </xd:append-node>
      </xd:xdiff>However, when i then run the inplace schema evolution code for option 1, i get the following error:
    Error report:
    ORA-22324: altered type has compilation errors
    ORA-22328: object "WEB_STAGING"."EVLN_CLIENTRISKEVENTHEADER_T" has errors.
    PLS-00215: String length constraints must be in range (1 .. 32767)
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 173
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 231
    ORA-06512: at line 17
    22324. 00000 -  "altered type has compilation errors"
    *Cause:    The use of the ALTER TYPE statement caused a compilation error.
    *Action:   Correct the error reported and resubmit the statement.I am getting this issue when attempting to add any string value to the existing xsd and i was wondering if you had any idea what the issue was here and how i could resolve this.
    Thanks.

    Hi,
    When you use INPLACE_TRACE flag, it traces the operations that would be performed with option 1.
    If you look at the trace file produced in this case, you'll see where the error is coming from :
    ------------ QMTS Executing SQL ------------
    ALTER TYPE "TEST"."EVLN_CLIENTRISKEVENTHEADER_T" ADD ATTRIBUTE "FORENAME" VARCHAR2 CASCADE NOT INCLUDING TABLE DATA
    /The mandatory length specification is absent.
    I thought adding an explicit xs:maxLength restriction would solve the problem, but it happens the generated DDL still lacks the length specification.
    After some tries, I found that the issue seems related to the usage of ref elements in the schema.
    On a side note, it's not the first time we see problems associated with ref (Cf. how do i get xml db to work right with imported or included schemas?).
    The workaround is to use a named type.
    I've also added an xdb:defaultTable annotation to the top-level element ("title") so that the registration process doesn't generate a table for it :
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
         <xs:element name="title" xdb:defaultTable="">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                     <xs:maxLength value="200"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:simpleType name="forenameType">
              <xs:restriction base="xs:string">
                   <xs:maxLength value="30"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:element name="clientRiskEventHeader" xdb:defaultTable="EVLN_CLIENTRISKEVENTHEADER">
              <xs:complexType xdb:SQLType="EVLN_CLIENTRISKEVENTHEADER_T">
                   <xs:sequence>
                        <xs:element ref="title" xdb:SQLName="TITLE"/>
                        <xs:element name="forename" type="forenameType" minOccurs="0" xdb:SQLName="FORENAME"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>

  • Attempting to copy to the disk failed. An unknown error occured (-69)

    i bought a whole bunch of stuff on itunes, then when i went to sync my ipod it asked if i wanted to update to the new software, i said yes and updated, then while it was syncing it says attempting to copy to the disk failed, an unknown error. it wont put any of the new video or music i bought on my ipod. its an 80 gig, ipod classic.

    Have you had a look at this troubleshooting page? It may be of some help: iTunes displays a -69 error when syncing iPod

  • 30gb Video error message "Attempting to copy to disk "Ipod" failed.

    I have a 30gb ipod video and over the past day it is come up with this error message when I have tried to put songs from itunes into it. "Attempting to copy to disk "Ipod" failed. This disc could not be read from or written to". I've tried restarting it with no joy, I've evne tried resetting it back to it's factory settings now and nothing. Right now the Ipod had no songs on it can not even in use due to this. It was all fine till I updated to the lastest Itunes. Anyone out ther no whats wrong?

    I have and 80gb Classic and Im getting the same message now it just started last night when i was syncing some new podcasts now everything that was on my ipod is gone and it acts like its syncing then i disconnect and its all gone I've reset and restored default settings nothing works
    and my warranty expired 2 days ago

  • Attempting to copy to the disk failed. An unknown error occured (-4)

    I am simply trying to sync my son's iTouch with iTunes and I get the following error:
    "Attempting to copy to the disk failed. An unknown error occured (-4)"
    All my software (e.g.: iTunes) and the iOS is fully up-to-date.
    iTunes (v.12.1.0.50)
    OSX Yosemite Version 10.10.2 (14C109)

    Hello there, Wyrzezbiator.
    The following Knowledge Base article offers some great steps for the very issue you're describing:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694#4
    Configure your security software
    Related errors: 2, 4, 6, 9, 1000, 1611, 9006, 9807, or 9844. Sometimes as a result of this issue, a device might stop responding during the restore process.
    Check your security software and settings, which can block ports and prevent connection to Apple servers during update and restore.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

Maybe you are looking for

  • HP LaserJet Pro 200 color MFP M276nw - wake on events doesnt seem to work

    My printer goes to sleep and wont wak when i send a print job wirelessly.  Any ideas?

  • G/L account 58013000 does not exist in company code SMSL Hitch

    Sap FICO Experts,                            I have a problem in MB1C Transaction. If I entered the Material                            Number the following Error have come.                            <u> <b>G/L account 58013000 does not exist in com

  • PSCS5 will not open from external boot disk

    Because OS 10.8.2 was the worst update in Apple history, for the first time ever I decided to  do the 10.8.3 update on an external boot disk before sacrificing my internal disk. I used Super Duper to make a bootable clone of my internal , booted from

  • After 10.6.2 update system halts during boot

    After having installed the 10.6.2 update via software update my Mac halts during boot. It boots right up to the grey screening displaying the Apple logo and the grey status wheel but doesn't go on from there. It just keeps displaying that screen fore

  • WLST deployment scripts not installing ODSI created services

    Some time ago, I modified some example scripts that installed ALDSP 3.0 assets into an ALDSP 3.0 domain, and everything was working dandily. A few months ago, we upgraded our ALDSP 3.0 domain to ODSI 10gR3. We also found we were still able to use the