Problem for XSL copying  XML file with Error in expression '*|/'.

Hi,
I am trying to convert xml file to another xml through command-line interface but failed.
java oracle.xml.parser.v2.oraxsl data.xml data.xsl data_new.xml
My sample xml and xsl files are:
1. XML file
<employee_data>
<employee_row>
<employee_number>7950</employee_number>
<employee_name>ABC</employee_name>
<employee_title>PRESIDENT</employee_title>
<manager>1111</manager>
<date_of_hire>20-JAN-93</date_of_hire>
<salary>65000</salary>
<commission>1000</commission>
<department_number>10</department_number>
</employee_row>
</employee_data>
2. XSL file
<?xml version="1.0" ?>
<xsl:stylesheet xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
<xsl:template match="*">
<xsl:copy>
<xsl:apply-templates>
<xsl:sort select=".//employee_name"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
The error message:
Error occurred while processing data.xsl: Error in expression: '*|/'.
I used a sample XSL files copying from a XML book to do the convert but got the same error.
Does anyone know how to fix this problem? I'll appreciate it very much for your help.
Thanks.
Yiguang Zhong

Hi swanelvis ,
I have the same issue. Were you able to resolve this ?
Thanks

Similar Messages

  • Archive file with errors in sender file adapter not working! please help!

    Hi Experts,
       I have a file to RFC scenario. the input is a XML file. I have setup the flag in sender file adapter channel for archiving the input files with errors. But it is not working.
    For testing I have used an invalid xML file for example without the main XML tag. I have also tested with a MSWORD file saved with.xml extension. But in both the cases the files are not getting archived.
    My archive location permissions are fine and in fact normal archive operation is happening. That is, if I select the processing mode as "Archive" and gave the Archive directory then files are getting archived. The problem is only with the "Archive faulty source files" option.
    What am I missing? DO I need to do some more configurations?
    What are the prerequisites if any for this option?
    How to test this?
    Please help me! I will be greatfull to you all!
    Thanks & Regards
    Gopal

    and go thru this links
    Creating a Single Archive of the Version Files
    http://help.sap.com/saphelp_nw04/helpdata/en/79/1e7aecc315004fb4966d1548447675/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/31/8aed3ea86d3d67e10000000a114084/frameset.htm
    Note: reward points if solution found helpfull
    Regards
    Chandrakanth.k

  • Binding Xml file with Xsd Schema

    Hello
    everybody there.
    I am trying to make an application where word files are converted into xml.
    For that i have used org.exolab.castor and org.apache.poi.hwpf.
    Now the problem is that i was able to generate the xml file from word, but when i am binding it with XMLSchema.xsd following error is coming.
    java.lang.IllegalArgumentException: getSimpleType: the simple type 'formChoice' is not a built-in type as defined in XML Schema specification.
         at org.exolab.castor.xml.schema.Schema.getSimpleType(Schema.java:1289)
         at org.exolab.castor.xml.schema.Schema.addSimpleType(Schema.java:583)
         at org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElement(SchemaUnmarshaller.java:643)
         at org.exolab.castor.xml.schema.reader.Sax2ComponentReader.endElement(Sax2ComponentReader.java:198)
         at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1392)
         at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
         at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
         at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
         at org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:430)
         at org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:485)
         at TempHwpf.<init>(TempHwpf.java:35)
         at TempHwpf.main(TempHwpf.java:44)the code for binding my xml file with xsd schema is as under:-
    SourceGenerator sourcegen = new SourceGenerator();
    sourcegen.getVersion();
    System.out.println(sourcegen.getVersion());
    sourcegen.generateSource("XMLSchema.xsd","packagename");I have checked XMLSchema.xsd file, in that formChoice is already defined, than also error is coming.
    can anyone help me out. first i thought that XMLSchema.xsd which i have is not proper, but i downloaded it again from w3c.org,
    than also same error is shown.
    please help me out.
    waiting for reply.
    milind

    Please do not double-post. http://forum.java.sun.com/thread.jspa?threadID=5134447&tstart=0
    Then use Stax (Woodstock) or Saxon.
    - Saish

  • How to validate the Xml File With Java

    Hi,
    Can pls tell me. I want to validate the XML File for the Some Mandartory TAG. if that if Tag null i want to generate error xml file with error and i want move another folder with java. pls help me as soon as possible

    Use a validating parser (any recent Xerces, for one) and switch on the validation feature. Very much vendor-specific, so look at the docs of your parser. Oh, you do have a schema for these documents, don't you?

  • Validate a XML file with a XSD File in ABAP

    Hi everybody,
    I am searching a way for validating a XML File with an external XSD File in ABAP. I know to validate with dtd is possible, but what about XSD?
    Can you help me in my urgend problem ?
    Greetings from Germany
    ismail er

    anyone an idea for my issue ???

  • Xml file with embedded xsl reports unknow error: An unknown error has occurred (805303f4)

    Hi,
    I have an xml file with embedded xsl link like below :
    XML :
    <pre><nowiki><?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet type="text/xsl" href="http://abc.com/x.xsl"?>
    <catalog>
    <cd>
    <title>Empire Burlesque</title>
    <artist>Bob Dylan</artist>
    <country>USA</country>
    <company>Columbia</company>
    <price>10.90</price>
    <year>1985</year>
    </cd>
    </catalog></nowiki></pre>
    When opening xml file on IE, opera, safary ... it works ok. But when opening it on FireFox, i have an error like :
    Error loading stylesheet: An unknown error has occurred (805303f4)
    http://abc.com/x.xsl
    How could i solve this problem ?

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
    The helpers at that forum are more knowledgeable about web development issues.
    You need to register at the mozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Problems with reading XML files with ISO-8859-1 encoding

    Hi!
    I try to read a RSS file. The script below works with XML files with UTF-8 encoding but not ISO-8859-1. How to fix so it work with booth?
    Here's the code:
    import java.io.File;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import java.net.*;
    * @author gustav
    public class RSSDocument {
        /** Creates a new instance of RSSDocument */
        public RSSDocument(String inurl) {
            String url = new String(inurl);
            try{
                DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
                Document doc = builder.parse(url);
                NodeList nodes = doc.getElementsByTagName("item");
                for (int i = 0; i < nodes.getLength(); i++) {
                    Element element = (Element) nodes.item(i);
                    NodeList title = element.getElementsByTagName("title");
                    Element line = (Element) title.item(0);
                    System.out.println("Title: " + getCharacterDataFromElement(line));
                    NodeList des = element.getElementsByTagName("description");
                    line = (Element) des.item(0);
                    System.out.println("Des: " + getCharacterDataFromElement(line));
            } catch (Exception e) {
                e.printStackTrace();
        public String getCharacterDataFromElement(Element e) {
            Node child = e.getFirstChild();
            if (child instanceof CharacterData) {
                CharacterData cd = (CharacterData) child;
                return cd.getData();
            return "?";
    }And here's the error message:
    org.xml.sax.SAXParseException: Teckenkonverteringsfel: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (radnumret kan vara f�r l�gt).
        at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1100)
        at org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1072)
        at org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity.java:914)
        at org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1183)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:653)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
        at getrss.RSSDocument.<init>(RSSDocument.java:25)
        at getrss.Main.main(Main.java:25)

    I read files from the web, but there is a XML tag
    with the encoding attribute in the RSS file.If you are quite sure that you have an encoding attribute set to ISO-8859-1 then I expect that your RSS file has non-ISO-8859-1 character though I thought all bytes -128 to 127 were valid ISO-8859-1 characters!
    Many years ago I had a problem with an XML file with invalid characters. I wrote a simple filter (using FilterInputStream) that made sure that all the byes it processed were ASCII. My problem turned out to be characters with value zero which the Microsoft XML parser failed to process. It put the parser in an infinite loop!
    In the filter, as each byte is read you could write out the Hex value. That way you should be able to find the offending character(s).

  • Transfer 100M XML file with XSL

    Hi,
    I am trying to transfer 100M XML file with XSL. Input.xml is the XML file, format.xsl is the XSL file. I type in the command line as:
    java org.apache.xalan.xslt.Process -IN input.xml -XSL format.xsl -OUT output.xml
    It got "out of memeory" error. My questions are:
    1. Is it possible to transfer such large XML file with XSLT?
    2. The XSL processor used SAX or DOM to parse XML file?
    3. Any suggestions?
    Thanks.
    James

    maybe?
    java -Xmx200m org.apache.xalan.xslt.Process -IN input.xml -XSL format.xsl -OUT output.xml
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/java-classic.html

  • Directory for archiving files with errors

    HI ,
    My Scenario is file to RFC Asynch.
    when ever the PI picks file from the source directory that file need to delete from the path and need to be archived to some other patch.
    And if the file has wrong data it need to archive to error archive folder.
    For this I used  Archive processing in filesender adapter and I also used directory for archiving files with errors(for wrong data files).
    Now the files are arching successfully in the given archive folder for successful messages. But the error files (wrong data which are throwing mapping error in MONI) are also archiving in the same archive folder.
    But these error files need to archive in error archive folder.
    How can I achieve this?
    Thanks in Adv..
    Vankadoath.

    you can use raja's logic ..........in addition in second receiver do a simple mapping UDF to delete the file from the SUCCESS folder. otherwise your file will be archived in both the folder success and errror
    see this code.
    DynamicConfiguration conf = (DynamicConfiguration) para.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                   DynamicConfigurationKey keyFileName1 = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "FileName");
                         inputFileName = conf.get(keyFileName1);
      *File f1 = new File("/usr/sap/XX/"+keyFileName1);*
      *boolean success = f1.delete();*
      *if (!success){*
      *System.out.println("Deletion failed.");*
      *System.exit(0);*
      *}else{*
      *System.out.println("File deleted.");*

  • Use of "Archive Source Files with Errors" for BIC module error

    Hi All,
    I have Edi file to Idoc scenario , where i am using SEEBURGER BICXIADAPTER.MODULE.
    My question is if the input file caught in error with BIC Module e.g
    "MP: exception caught with cause Error in BICMODULE-module:Temporary error: BIC XI Adapter call failed. Reason: SegmentDescription: checkAndResetChildrenCounter() not enough repetitions of the segment UNH found: 0 instead of 1 offset :80 DESCRIPTION: SegmentDescription Warning: Not enough repetitions of the segment UNH ([not specified]/[not specified])."
    can we move these errornous files to another directory using Processing parameter  "Archive Source Files with Errors" available with Sender File Adapter?
    In File Adpater my Module tab looks like :
    1     localejbs/CallBicXIRaBean     Local Enterprise Bean     bic
    2     localejbs/CallSapAdapter     Local Enterprise Bean     0
    In my scenario  , its not working..  do we have any other option to achive this?

    Hi Jyoti,
    I had a raised a similar case with SAP and came to know that archiving only works if the error raised by the module is so called "Permanent". However, bic doesn't raise permanent error due to which archiving of error files won't be possible. Seeburger haven't came up with a solution yet.
    Regards,
    Prateek

  • Problem for using oracle xml parser v2 for 8.1.7

    My first posting was messed up. This is re-posting the same question.
    Problem for using oracle xml parser v2 for 8.1.7
    I have a sylesheet with
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">.
    It works fine if I refer this xsl file in xml file as follows:
    <?xml-stylesheet type="text/xsl" href="http://...../GN.xsl"?>.
    When I use this xsl in pl/sql package, I got
    ORA-20100: Error occurred while processing: XSL-1009: Attribute 'xsl:version' not found in 'xsl:stylesheet'.
    After I changed name space definition to
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> in xsl file, I got
    ORA-20100: Error occurred while processing: XSL-1019: Expected ']' instead of '$'.
    I am using xml parser v2 for 8.1.7
    Can anyone explain why it happens? What is the solution?
    Yi

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    Element's dont have text content, they [b]contain text node children.
    So instead of trying to setNodeValue() on the element, construct a Text node and use the appendChild method on the element to append the text node as a child of the element.<HR></BLOCKQUOTE>
    Steve,
    We are also creating an XML DOM from java and are having trouble getting the tags created as we want. When we use XMLText it creates the tag as <tagName/>value rather than <tagName>value</tagName>. We want separate open and close tags. Any ideas?
    Lori

  • Combine several XML files with same structure

    Hello,
    I have several XML files with the same structure and I want to combine them and create a new XML file to be bale to compare that information easily. It does not look very difficult but as I am very new in this I am not bale to get it
    The structure of my actual files would be something simlar to:
    Root->...-> Name->Address, Telephone
    And what I would like to have si something like
    Root->.... ->Address-> Name 1,Name 2....
    Root -> ...->Telephone-> Name 1, Name 2....
    Does anyone know how to do this.
    Thanks

    You could write a XSL transformation file that does this and transform your input file via
         * Transform XML file with a style sheet.
         * <p><b>Example:</b><p>
    <table align="center" bgcolor="#E0E0E0" border=1 cellpadding="10" cellspacing="0"><tr><td><pre style="margin-top:0; margin-bottom:0">
    XMLTransformer t = new XMLTransformer();
    FileOutputStream fos = new FileOutputStream("C:/Project/result.html");
    String xmlFile = "C:/Project/source.xml";
    String styleSheet = "C:/Project/stylesheet.xsl";
    t.transform(xmlFile, styleSheet, fos);
    </pre></td></tr></table>
         * @param xmlfile The XML file to transform.
         * @param style Stylesheet to use for transformation.
         * @param outputStream OutputStream to write the transformed result to.
        public void transform(String xmlfile, String style, OutputStream outputStream) {
            DocumentBuilderFactory factory =  DocumentBuilderFactory.newInstance();
            //factory.setNamespaceAware(true);
            //factory.setValidating(true);
                //todo: use inputstreams instead of file names
                try {
                    File stylesheet = new File(style);
                    File datafile   = new File(xmlfile);
                    DocumentBuilder builder = factory.newDocumentBuilder();
                    document = builder.parse(datafile);
                    // Use a Transformer for output
                TransformerFactory tFactory = TransformerFactory.newInstance();
                StreamSource stylesource = new StreamSource(stylesheet);
                Transformer transformer = tFactory.newTransformer(stylesource);
                DOMSource source = new DOMSource(document);
                StreamResult sr = new StreamResult(outputStream);
                transformer.transform(source, sr);
            } catch (TransformerConfigurationException tce) {
               // Error generated by the parser
               System.out.println ("\n**XMLTransformerr Factory error");
               System.out.println("   " + tce.getMessage() );
               // Use the contained exception, if any
               Throwable x = tce;
               if (tce.getException() != null) {
                   x = tce.getException();
               x.printStackTrace();
            } catch (TransformerException te) {
               // Error generated by the parser
               System.out.println ("\n** Transformation error");
               System.out.println("   " + te.getMessage() );
               // Use the contained exception, if any
               Throwable x = te;
               if (te.getException() != null) {
                   x = te.getException();
               x.printStackTrace();
             } catch (SAXException sxe) {
               // Error generated by this application
               // (or a parser-initialization error)
               Exception  x = sxe;
               if (sxe.getException() != null) {
                   x = sxe.getException();
               x.printStackTrace();
            } catch (ParserConfigurationException pce) {
                // Parser with specified options can't be built
                pce.printStackTrace();
            } catch (IOException ioe) {
               // I/O error
               ioe.printStackTrace();
        }//transform()

  • Failed to load XML file with Content ID 'XYZ'

    Hello,
    We are using UCM Version:11.1.1.8.1DEV-2014-01-06 04:18:30Z-r114490 (Build:7.3.5.185) with site studio for creating templates and web sites.
    While switching to contribution mode, we find 'Failed to load XML file with Content ID 'XYZ' error.[Here XYZ is the local checkin content]
    In region we are using dynamic converter to convert the style of native document here below are region and its element details.
    <region  id="region3" name="Add_Content_Here" flags="1111111100100" metadata="xIdcProfile%3AisHidden%3Dtrue%26xTemplateType%3AisHidden%3Dtrue%26xShowInStaff%3AisHidden%3Dtrue%26xShowInVisitors%3AisHidden%3Dtrue%26xShowInFaculty%3AisHidden%3Dtrue%26xDiscussionCount%3AisHidden%3Dtrue%26xDiscussionType%3AisHidden%3Dtrue" dccommand="ssIncDynamicConversionByRule(SS_DATAFILE, 'Colleges_Template_Rule')">
          <!--$region3_ACTIONS="EIMPRS",region3_DCCOMMAND="ssIncDynamicConversionByRule(SS_DATAFILE, 'Colleges_Template_Rule')" -->
          <element  id="region3_element1" name="Editor" label="Editor" type="1" flags="111111111111111111111100000111100000000000001111001110111010001111101000000000000000000000000000">
            <!--$region3_element1="Add_Content_Here/Editor" -->
            <linktoregioncontent  createnewxml="true" createnewnative="false" choosemanaged="true" chooselocal="false" choosenone="false">
              <choosemanagedquerytext  corecontentonly="FALSE">
                <![CDATA[xWebsiteObjectType <Matches> `Data File` <OR> xWebsiteObjectType <Matches> `Native Document`]]>
              </choosemanagedquerytext>
            </linktoregioncontent>
          </element>
          <switchregioncontent  createnewxml="true" createnewnative="true" choosemanaged="true" chooselocal="false" choosenone="false">
            <createnewnativedoctypes >
              <![CDATA[.doc,.docx,.txt,.rtf]]>
            </createnewnativedoctypes>
            <choosemanagedquerytext  corecontentonly="FALSE">
              <![CDATA[xWebsiteObjectType <Matches> `Data File` <OR> xWebsiteObjectType <Matches> `Native Document`]]>
            </choosemanagedquerytext>
            <defaultmetadata >
              <![CDATA[xIdcProfile%3AisHidden%3Dtrue%26xTemplateType%3AisHidden%3Dtrue%26xCollegesList%3AisHidden%3Dtrue%26xShowInStudents%3AisHidden%3Dtrue%26xShowInStaff%3AisHidden%3Dtrue%26xShowInVisitors%3AisHidden%3Dtrue%26xShowInFaculty%3AisHidden%3Dtrue%26xArticleSection%3AisHidden%3Dtrue%26xDiscussionCount%3AisHidden%3Dtrue%26xDiscussionType%3AisHidden%3Dtrue%26dpTriggerValue%3DCSE]]>
            </defaultmetadata>
          </switchregioncontent>
        </region>
    <!--SS_BEGIN_OPENREGIONMARKER(region3)--><!--$SS_REGIONID="region3"--><!--$include ss_open_region_definition --><!--SS_END_OPENREGIONMARKER(region3)-->
    <!--SS_BEGIN_ELEMENT(region3_element1)--><!--$ssIncludeXml(SS_DATAFILE,region3_element1 & "/node()")--><!--SS_END_ELEMENT(region3_element1)-->
    <!--SS_BEGIN_CLOSEREGIONMARKER(region3)--><!--$include ss_close_region_definition --><!--SS_END_CLOSEREGIONMARKER(region3)-->
    Regardrs,
    Syed

    Hi Syed ,
    Add the following trace sections :
    requestaudit,sitestudio*,system + Full verbose tracing
    Clear the server output .
    Replicate the same steps and once error shows up , refresh server output and copy the logs to a text file and upload here .
    Thanks,
    Srinath

  • Copy a file with same filename using XI - module experts please help!

    Guys,
    Felix Jeyareuben had an excellent blog on how to copy a binary file with XI.
    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    It is a shame by the way that such a simple thing has to be this complicated in XI, but that's another question...
    So after I created the EAR file and successfully deployed the modules on our XI server, I got the following file adapter error, when I was trying to use it:
    Sender Adapter v2727 for Party '', Service 'BS_TA_XI_DEV':
    Configured at 2006-11-30 14:04:15 EST
    History:
    - 2006-11-30 14:10:00 EST: Error: java.lang.ClassCastException
    - 2006-11-30 14:10:00 EST: Processing started
    Can you give me any clues what could have gone wrong?
    This is the first module I deployed so I might have messed up something simple, but I cannot figure this out.
    Also how can I debug this?
    Your help would be much appreciated.
    Thanks a lot,
    Viktor Varga

    > Moorthy,
    > My issue is not so much about the filename, but an
    > encrypted (binary) file that I just want to copy from here to there.
    Do it like in the mentioned blog, but don't do any mapping. That will be fine.
    > Michal,
    > In my adapter I have the following:
    > 1)  localejbs/xi_file_module/ReadBinaryBean
    >  (LocalEnterpriseBean)
    > )  localejbs/CallSapAdapter
    >                         (LocalEnterpriseBean)
    > ine.xml file I have this:
    > <enterprise-bean>
    >   <ejb-name>ReadBinaryBean</ejb-name>
    > <jndi-name>xi_file_module/ReadBinaryBean</jndi-name>
    >   <session-props/>
    > enterprise-bean>
    Check your EAR if there are any libs from the adapter framework and delete them if necessary.
    After deployment check in your visual administrator if your EAR is available.
    Regards
    Stefan

  • Time Machine Backup Failed - Copy stage failed with error:11

    My TM backups started to fail on a Mac Book Pro running 10.5.8 a few weeks ago with the 'Copy stage failed with error:11' message. It seemed to happen after coming out of hibernation from clamshelling the laptop.
    This happened a few times before when I had initially set TM up so to 'fix' it I just blew away the TM backups and started fresh. I would rather not do that this time as I have accumulated 3 months worth of backups.
    My TM is on a samba share, I've searched a bit and followed a guide:
    http://blog.robberthamburg.nl/mac-osx-leopard-repair-a-time-machine-error-11-pro blem
    to try and fix the problem by deleting a .inProgress backup but this has not helped. unfortunately this has did not fix it. I had also read that there are sometimes problems with TM and Spotlight indexing so I have turned spotlight off completely. Still no luck.
    Here is a log dump of my latest backup attempt:
    Sep 12 01:31:59 lysithea /System/Library/CoreServices/backupd[763]: Backup requested by user
    Sep 12 01:31:59 lysithea /System/Library/CoreServices/backupd[763]: Starting standard backup
    Sep 12 01:32:04 lysithea /System/Library/CoreServices/backupd[763]: Mounted network destination using URL: smb://mdaemon@io:139/timemachine_lysithea
    Sep 12 01:32:04 lysithea /System/Library/CoreServices/backupd[763]: Backup destination mounted at path: /Volumes/timemachine_lysithea
    Sep 12 01:32:06 lysithea /System/Library/CoreServices/backupd[763]: Disk image /Volumes/timemachinelysithea/lysithea0025bcdeabda.sparsebundle mounted at: /Volumes/lysithea Time Machine
    Sep 12 01:32:06 lysithea /System/Library/CoreServices/backupd[763]: Backing up to: /Volumes/lysithea Time Machine/Backups.backupdb
    Sep 12 01:35:44 lysithea /System/Library/CoreServices/backupd[763]: No pre-backup thinning needed: 7.61 GB requested (including padding), 89.80 GB available
    Sep 12 01:35:44 lysithea /System/Library/CoreServices/backupd[763]: Waiting for index to be ready (-1 < 0)
    Sep 12 01:40:51 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 01:45:49 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 01:50:50 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 01:55:49 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:00:50 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:05:49 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:10:50 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:15:52 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:20:52 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:25:51 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:30:50 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:32:05 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:32:37 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:33:09 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:33:42 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:35:52 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:38:38 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:39:08 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:39:51 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:40:27 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:42:12 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:42:43 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:43:12 lysithea /System/Library/CoreServices/backupd[763]: Stopping backup.
    Sep 12 02:43:12 lysithea /System/Library/CoreServices/backupd[763]: Error: (-43) SrcErr:NO Copying /Users/mdaemon/Library/Preferences/com.apple.DirectoryUtility.plist to /Volumes/lysithea Time Machine/Backups.backupdb/lysithea/2009-09-12-013213.inProgress/466ADDEF-7D04-45 15-B024-C02ADF152EA7/Macintosh HD/Users/mdaemon/Library/Preferences
    Sep 12 02:43:12 lysithea /System/Library/CoreServices/backupd[763]: Copied 16247 files (5.9 GB) from volume Macintosh HD.
    Sep 12 02:43:12 lysithea /System/Library/CoreServices/backupd[763]: Copy stage failed with error:11
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Backup failed with error: 11
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Restarting backup after linking failure.
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Starting standard backup
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Backup destination alias resolved to path: /Volumes/timemachine_lysithea
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Disk image /Volumes/timemachinelysithea/lysithea0025bcdeabda.sparsebundle mounted at: /Volumes/lysithea Time Machine
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Backing up to: /Volumes/lysithea Time Machine/Backups.backupdb
    Sep 12 02:43:42 lysithea /System/Library/CoreServices/backupd[763]: Waiting for index to be ready (-1 < 0)
    Sep 12 02:51:03 lysithea /System/Library/CoreServices/backupd[763]: No pre-backup thinning needed: 509.8 MB requested (including padding), 83.21 GB available
    Sep 12 02:51:03 lysithea /System/Library/CoreServices/backupd[763]: Waiting for index to be ready (-1 < 0)
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Indexing a file failed. Returned -12 for: /.DS_Store, /Volumes/lysithea Time Machine/Backups.backupdb/lysithea/2009-09-12-013213.inProgress/AB3F09D7-61EB-4D 9F-B0EF-AC4C1E0712EA/Macintosh HD/.DS_Store
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Aborting backup because indexing a file failed.
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Stopping backup.
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Copied 0 files (0 bytes) from volume Macintosh HD.
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Copy stage failed with error:11
    Sep 12 02:51:14 lysithea /System/Library/CoreServices/backupd[763]: Backup failed with error: 11
    Sep 12 02:51:15 lysithea /System/Library/CoreServices/backupd[763]: Ejected Time Machine disk image.
    Sep 12 02:51:18 lysithea /System/Library/CoreServices/backupd[763]: Ejected Time Machine network volume.
    Any help would be greatly appreciated

    mattdaemon wrote:
    My TM is on a samba share
    First problem: this is *not supported by Apple:* http://support.apple.com/kb/HT1733
    to try and fix the problem by deleting a .inProgress backup but this has not helped.
    Second problem: deleting (or changing or moving) things in TM backups via the Finder can hopelessly corrupt them.
    Sep 12 01:35:44 lysithea /System/Library/CoreServices/backupd[763]: Waiting for index to be ready (-1 < 0)
    Sep 12 01:40:51 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    These can usually be stopped by excluding the backups from any anti-virus scanning, and Spotlight indexing, at least on supported volumes. Unless you're sure you have Spotlight off entirely, try excluding your backups via System Preferences > Spotlight > Privacy.
    Sep 12 02:43:12 lysithea /System/Library/CoreServices/backupd[763]: Error: (-43) SrcErr:NO Copying /Users/mdaemon/Library/Preferences/com.apple.DirectoryUtility.plist to /Volumes/lysithea Time Machine/Backups.backupdb/lysithea/2009-09-12-013213.inProgress/466ADDEF-7D04-45 15-B024-C02ADF152EA7/Macintosh HD/Users/mdaemon/Library/Preferences
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Indexing a file failed. Returned -12 for: /.DS_Store, /Volumes/lysithea Time Machine/Backups.backupdb/lysithea/2009-09-12-013213.inProgress/AB3F09D7-61EB-4D 9F-B0EF-AC4C1E0712EA/Macintosh HD/.DS_Store
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Aborting backup because indexing a file failed.
    Both of these appear to indicate problems on your backup drive, perhaps directory problems. For a supported one, a +*Repair Disk+* (not permissions) will often fix it. If there's a way to run that on your backups, it's worth a try.
    It's also possible there's a problem on your internal HD, so it's worth doing a +*Verify Disk+* (not permissions) on it, too, via Disk Utility. If that shows errors, you'll have to boot from your Install disc and use it's copy of DU to repair them.

Maybe you are looking for