Unable to parse the given xml by unmarshalling it

Hi,
I have to fetch the data from xml to java object. I am using castor parsing. i have written mapping xml which is mapped against the xml from which data is to be fetched. The entire application is working fine.
The problem is if i have data like
<CampaignName>&<</CampaignName>
then the unmarshalling is gettig failed and dispalying error message as
"The entity name must immediately follow the '&' in the entity reference"
Actually the xml is valid against validation and is allowing to use &< combination as data. But it is requirement to use the same data.
Please help me to resolve this problem.
srinivas.

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.StringReader;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.CharacterData;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
public class XMLParsingProj {
public static void main(String arg[]) throws Exception {
String xmlData = "";
FileReader fileReader = new FileReader(new File("XMLData.xml"));
BufferedReader bufReader = new BufferedReader(fileReader);
String xmlLine = "";
while ((xmlLine = bufReader.readLine()) != null) {
xmlData += xmlLine;
System.out.println("String Value is");
System.out.println(xmlData);
DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
InputSource is = new InputSource();
is.setCharacterStream(new StringReader(xmlData));
Document doc = db.parse(is);
NodeList nodes = doc.getElementsByTagName("soap:Envelope");
for (int i = 0; i < nodes.getLength(); i++) {
Element element = (Element) nodes.item(i);
NodeList name = element.getElementsByTagName("soap:Body");
Element line = (Element) name.item(0);
System.out.println("Name: " + line.getTagName());
NodeList title = element.getElementsByTagName("lookupResponse");
line = (Element) title.item(0);
System.out.println("Status: " + line.getAttribute("status"));
System.out.println("data node length :" + nodes.getLength());
}

Similar Messages

  • Opatch error 'Unable to parse the xml file'

    Hi there,
    I am new to installing patches on Oarcle and I need to install patch 12375678 on my windows system, Oracle 11.2.0.2.
    I have followed the instructions in the readme.txt file, but got this error and I have not come across anywhere on the web that explain how I could fix it.
    Could you please advise?
    Thanks
    C:\>set oracle_home=C:\oracle\product\11.2.0\dbhome_1
    C:\>echo %oracle_home%
    C:\oracle\product\11.2.0\dbhome_1
    C:\>cd C:\oracle\product\11.2.0\dbhome_1\inventory\oneoffs\12375678
    C:\oracle\product\11.2.0\dbhome_1\inventory\oneoffs\12375678>opatch apply
    Invoking OPatch 11.2.0.1.1
    Oracle Interim Patch Installer version 11.2.0.1.1
    Copyright (c) 2009, Oracle Corporation. All rights reserved.
    Oracle Home : C:\oracle\product\11.2.0\dbhome_1
    Central Inventory : C:\Program Files\Oracle\Inventory
    from : n/a
    OPatch version : 11.2.0.1.1
    OUI version : 11.2.0.2.0
    OUI location : C:\oracle\product\11.2.0\dbhome_1\oui
    Log file location : C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opatch2
    012-05-21_15-28-52PM.log
    Patch history file: C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opatch_
    history.txt
    ApplySession applying interim patch '12375678' to OH 'C:\oracle\product\11.2.0\d
    bhome_1'
    Running prerequisite checks...
    OPatch detected non-cluster Oracle Home from the inventory and will patch the lo
    cal system only.
    Backing up files and inventory (not for auto-rollback) for the Oracle Home
    Backing up files affected by the patch '12375678' for restore. This might take a
    while...
    Backing up files affected by the patch '12375678' for rollback. This might take
    a while...
    Patching component oracle.rdbms, 11.2.0.2.0...
    Copying file to "C:\oracle\product\11.2.0\dbhome_1\rdbms\xml\xsl\kuexttbl.xsl"
    Patching component oracle.rdbms.dbscripts, 11.2.0.2.0...
    Copying file to "C:\oracle\product\11.2.0\dbhome_1\rdbms\admin\prvtbpd.plb"
    Copying file to "C:\oracle\product\11.2.0\dbhome_1\rdbms\admin\prvtbpw.plb"
    ApplySession adding interim patch '12375678' to inventory
    Interim Patch metadata parsing failure... 'Unable to parse the xml file.'
    ApplySession failed: ApplySession failed in system modification phase... 'Unable
    to create patchObject'
    OPatch will attempt to restore the system...
    Restoring the Oracle Home...
    OPatch was able to restore your system. Look at log file and timestamp of each f
    ile to make sure your system is in the state prior to applying the patch.
    OPatch failed with error code = 73

    your actions.xml must not be able to be read.
    open it in notepad yourself to see does it open, if so its not corrupt, if doesnt open download patch again.
    More then likely will be fine so try locate the patch in a shorter home path, like c:\patches\12375678 and see does it install from there.
    Only other thing I can think of is the main inventory.xml, usually c:\program files\oracle\inventory\inventory.xml
    try notepad with that too.

  • I have a Nikon D600 and D800 and I shoot everything in Raw. I use Photoshop Elements 9 for processing but I have been unable to convert any RAW files to open in PSE. Says unable to parse the file. What does this mean and how do I fix it?

    I have a Nikon D600 and D800 and I shoot everything in Raw. I use Photoshop Elements 9 for processing but I have been unable to convert any RAW files to open in PSE. Says unable to parse the file. What does this mean and how do I fix it?

    Since pse 9 can only use up to camera raw 6.5 and the d600 needs at least 7.3 and the d800 needs at least 6.7, you can use the
    8.6 adobe dng converter to convert those files to dng copies, which then pse 9 should open.
    8.6 dng converter
    windows
    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Adobe DNG Converter 8.6
    mac
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Adobe DNG Converter 8.6
    Note:
    If you have windows xp or vista or mac os x 10.6, then you'll need to use the 8.3 dng converter instead
    windows
    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Adobe DNG Converter 8.3
    mac
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Adobe DNG Converter 8.3
    how to use the dng converter
    Camera Raw: How to use Adobe DNG Converter - YouTube
    more info on supported cameras and camera raw plugins required
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications

  • I am running Photoshop CS6 on a Mac OS X 10.9.3 and every time I save a large eps I can not open it again. I get this message when I try. "Could not complete your request because Photoshop was unable to parse the PostScript."

    I am running Photoshop CS6 on a Mac OS X 10.9.3 and every time I save a large eps I can not open it again. I get this message when I try. "Could not complete your request because Photoshop was unable to parse the PostScript."

    Oh, dear.
    If you use PSE as your external editor for iphoto, you need to save the images back to iphoto by using Save, not Save As and not changing anything like the name or format that would bring up the Save As window. (You may need to adjust the editor prefs>saving files>on first save to save over existing.)
    OR you can export the photos from iphoto to the desktop, use file>open in the editor and then change whatever you want and either import the saved image to the organizer or import it back to iphoto as a new file. What you are doing is extremely risky, particularly to the iphoto library which you may easily damage by your workflow.
    I would start the organizer holding down the shift key, then create a new catalog and switch to the new one. Then try opening the editor without opening an image and see if you get any farther.
    PSE and iphoto are not designed to be used as you've been doing. You are trying to write to the iphoto library from outside iphoto, which is the fastest known way to corrupt the library and lose all your photos.

  • JMS Adapter: Unable to parse the scema error in step 7

    Hi
    I get unable to parse the schema error in step 7 of JMS Adapter partner link definition (in Type Chooser window). I am using RosettaNet 3b2 Schema converted from DTD by Tibco tools.
    Any help greatly appreciated.

    forwarded to the JMS adapter team. It would be nice if you could provide more context around the input you provided in the first 6 step (could you please post the schema or if there are a set of them, zip them up, rename the file .zap and email to collaxa_support_us at oracle.com). Thank you. -Edwin

  • [orabpel_10.1.2.0.2_WL_solaris]: XMLScriptReader: unable to parse the provi

    All,
    I have downloaded orabpel_10.1.2.0.2_WL_solaris.bin and have tried to install this.
    However this fails horribly.
    First here are some details on the machine i try to install it on.
    I hope someone can help me with this.
    Paul
    uname -a
    SunOS dasapsd2 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V240
    ptrdiag
    System Configuration: Sun Microsystems sun4u Sun Fire V240
    System clock frequency: 167 MHZ
    Memory size: 2GB
    ==================================== CPUs ====================================
    E$ CPU CPU
    CPU Freq Size Implementation Mask Status Location
    0 1002 MHz 1MB SUNW,UltraSPARC-IIIi 2.4 on-line MB/P0
    1 1002 MHz 1MB SUNW,UltraSPARC-IIIi 2.4 on-line MB/P1
    ================================= IO Devices =================================
    Bus Freq Slot + Name +
    Type MHz Status Path Model
    pci 66 MB pci108e,1648 (network)
    okay /pci@1f,700000/network@2
    pci 66 MB pci108e,1648 (network)
    okay /pci@1f,700000/network
    pci 33 MB isa/su (serial)
    okay /pci@1e,600000/isa@7/serial@0,3f8
    pci 33 MB isa/su (serial)
    okay /pci@1e,600000/isa@7/serial
    pci 33 MB isa/rmc-comm-rmc_comm (seria+
    okay /pci@1e,600000/isa@7/rmc-comm@0,3e8
    pci 33 MB pci10b9,5229 (ide)
    okay /pci@1e,600000/ide
    pci 66 MB scsi-pci1000,21 (scsi-2)
    okay /pci@1c,600000/scsi@2
    pci 66 MB scsi-pci1000,21 (scsi-2)
    okay /pci@1c,600000/scsi
    pci 66 MB pci108e,1648 (network)
    okay /pci@1d,700000/network
    pci 66 MB pci108e,1648 (network)
    okay /pci@1d,700000/network
    ============================ Memory Configuration ============================
    Segment Table:
    Base Address Size Interleave Factor Contains
    0x0 1GB 1 BankIDs 0
    0x1000000000 1GB 1 BankIDs 16
    Bank Table:
    Physical Location
    ID ControllerID GroupID Size Interleave Way
    0 0 0 1GB 0
    16 1 0 1GB 0
    Memory Module Groups:
    ControllerID GroupID Labels Status
    0 0 MB/P0/B0/D0
    0 0 MB/P0/B0/D1
    1 0 MB/P1/B0/D0
    1 0 MB/P1/B0/D1
    ########## END DETAILS ###########
    The command i use is the following.
    export LAX_DEBUG=1
    sh orabpel_10.1.2.0.2_WL_solaris.bin -i console
    And then the output is as follows
    dasapsd2 tmp # sh orabpel_10.1.2.0.2_WL_solaris.bin -i console
    Preparing to install...
    Checking for POSIX df.
    Found POSIX df.
    Checking tail options...
    Using tail -n 1.
    True location of the self extractor: /var/tmp/orabpel_10.1.2.0.2_WL_solaris.bin
    Creating installer data directory: /tmp/install.dir.8538
    Creating installer data directory: /tmp/install.dir.8538/InstallerData
    Gathering free-space information...
    Space needed to complete the self-extraction: 713319 blocks
    Available space: 1048560 blocks
    Available blocks: 1048560 Needed blocks: 713319 (block = 512 bytes)
    Computed number of blocks to extract: 719
    Extracting the JRE from the installer archive...
    Extracting JRE from orabpel_10.1.2.0.2_WL_solaris.bin to /tmp/install.dir.8538/Solaris/resource/jre_padded ...
    Extracting done, exit code = 0
    Extracting JRE from /tmp/install.dir.8538/Solaris/resource/jre_padded to /tmp/install.dir.8538/Solaris/resource/vm.tar.Z ...
    Extracting done, exit code = 0
    Unpacking the JRE...
    Unpacking the JRE...
    gzip is hashed (/usr/bin/gzip)
    GZIP done.
    TAR done.
    Extracting the installation resources from the installer archive...
    Extracting install.zip from orabpel_10.1.2.0.2_WL_solaris.bin to /tmp/install.dir.8538/InstallerData/installer.padded ...
    Extracting to padded done, exit code = 0
    Extracting from padded to zip done, exit code = 0
    Creating disk1 data directory: /tmp/install.dir.8538/InstallerData/Disk1
    Creating instdata data directory: /tmp/install.dir.8538/InstallerData/Disk1/InstData
    Extracting resources from orabpel_10.1.2.0.2_WL_solaris.bin to /tmp/install.dir.8538/InstallerData/Disk1/InstData/Resource1.zip ...Extracting done, exit code = 0
    Configuring the installer for this system's environment...
    ========= Analyzing UNIX Environment =================================
    Setting UNIX (sunos) flavor specifics.
    Importing UNIX environment into LAX properties.
    Checking for POSIX awk.
    ========= Analyzing LAX ==============================================
    LAX found............................ OK.
    LAX properties read.................. OK.
    ========= Finding VM =================================================
    Valid VM types.......................... J2 J1 MSJ MRJ
    Absolute LAX_VM path.................... /tmp/install.dir.8538/Solaris/resource/jre/bin/java
    Expanded Valid VM types................. JRE_J2 JDK_J2 JRE_J1 JDK_J1 MSJ MRJ
    * Using VM.....(lax.nl.current.vm)...... /tmp/install.dir.8538/Solaris/resource/jre/bin/java
    ========= Virtual Machine Options ====================================
    LAX properties incorporated............. OK.
    classpath............................... "/tmp/install.dir.8538/InstallerData:/tmp/install.dir.8538/InstallerData/installer.zip"
    main class.............................. "com.zerog.ia.installer.Main"
    .lax file path.......................... "/tmp/install.dir.8538/temp.lax"
    user directory.......................... "/tmp/install.dir.8538"
    stdout to............................... "console"
    sterr to................................ "console"
    install directory....................... ""
    JIT..................................... none
    option (verify)......................... off
    option (verbosity)...................... none
    option (garbage collection extent)...... none
    option (garbage collection thread)...... none
    option (native stack max size).......... none
    option (java stack max size)............ none
    option (java heap max size)............. 50331648
    option (java heap initial size)......... 16777216
    option (lax.nl.java.option.additional).. none
    ========= Display settings ===========================================
    X display............................... not set
    UI mode................................. console
    Launching installer...
    CLASSPATH:/tmp/install.dir.8538/InstallerData:/tmp/install.dir.8538/InstallerData/installer.zip:
    ========= Forking JAVA =============================================
    LAX Version = 6.0
    IAResourceBundle: create resource bundle: en
    IACommandLineParser::<init> ---starting---
    IACommandLineParser::<init> ---ending---
    propertiesFileName = null
    seaFilename = orabpel_10.1.2.0.2_WL_solaris
    Default properties location = /var/tmp/
    UI Mode set to __________________________________________________________________________
    InstallAnywhere 6.1 Enterprise
    Thu Jan 04 17:22:29 CET 2007
    Free memory = 14506 kB
    Total memory = 16320 kB
    2Command Line Args:
    0: -i
    1: console
    java.class.path:
    /tmp/install.dir.8538/InstallerData
    /tmp/install.dir.8538/InstallerData/installer.zip
    ZGUtil.CLASS_PATH:
    /tmp/install.dir.8538/InstallerData
    /tmp/install.dir.8538/InstallerData/installer.zip
    sun.boot.class.path:
    /tmp/install.dir.8538/Solaris/resource/jre/lib/rt.jar
    /tmp/install.dir.8538/Solaris/resource/jre/lib/i18n.jar
    /tmp/install.dir.8538/Solaris/resource/jre/lib/sunrsasign.jar
    /tmp/install.dir.8538/Solaris/resource/jre/classes
    java.ext.dirs:
    /tmp/install.dir.8538/Solaris/resource/jre/lib/ext
    java.version == 1.3.1_11 (Java 2+)
    java.vm.name == Java HotSpot(TM) Client VM
    java.vm.vendor == Sun Microsystems Inc.
    java.vm.version == 1.3.1_11-b02
    java.vm.specification.name == Java Virtual Machine Specification
    java.vm.specification.vendor == Sun Microsystems Inc.
    java.vm.specification.version == 1.0
    java.specification.name == Java Platform API Specification
    java.specification.vendor == Sun Microsystems Inc.
    java.specification.version == 1.3
    java.vendor == Sun Microsystems Inc.
    java.vendor.url == http://java.sun.com/
    java.class.version == 47.0
    java.compiler == null
    java.home == /tmp/install.dir.8538/Solaris/resource/jre
    java.io.tmpdir == /var/tmp/
    os.name == SunOS
    os.arch == sparc
    os.version == 5.10
    path.separator == :
    file.separator == /
    file.encoding == ISO8859-1
    user.name == root
    user.home == /root
    user.dir == /tmp/install.dir.8538
    user.language == en
    user.region == US
    Preparing CONSOLE Mode Installation...
    ===============================================================================
    (created with InstallAnywhere by Zero G)
    Installer: InstallAnywhere 6.1 Enterprise Build 2325
    System's temporary directory = /tmp
    Please report the following to IA Engineering:
    XMLScriptReader: ERROR during instantiation of object. This object was lost!
    - refID: null
    - class: com.zerog.ia.installer.Installer
    java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1414)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1330)
    at java.lang.Runtime.loadLibrary0(Runtime.java:744)
    at java.lang.System.loadLibrary(System.java:815)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:48)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:1065)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1086)
    at java.awt.Color.<clinit>(Color.java:183)
    at com.zerog.ia.installer.util.InstallFrameConfigurator.<clinit>(DashoA8113)
    at com.zerog.ia.installer.Installer.e(DashoA8113)
    at com.zerog.ia.installer.Installer.d(DashoA8113)
    at com.zerog.ia.installer.Installer.<init>(DashoA8113)
    at com.zerog.ia.installer.Installer.<init>(DashoA8113)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:232)
    at ZeroGep.a(DashoA8113)
    at ZeroGep.c(DashoA8113)
    at ZeroGep.a(DashoA8113)
    at ZeroGep.a(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.o(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.h(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
    XMLScriptReader: unable to parse the provided script file. File may have been invalid...
    java.lang.NullPointerException
    at ZeroGep.a(DashoA8113)
    at ZeroGep.a(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.o(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.h(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
    Unable to instantiate the installer.
    Unable to load and to prepare the installer in console or silent mode.
    =======================================================
    Installer User Interface Mode Not Supported
    Unable to load and to prepare the installer in console or silent mode.
    =======================================================
    SHUTDOWN REQUESTED

    I have/had the same problem, in the release notes it is stated that the integration products dont work with the the latest AS release.
    The problem is wehere can you find the 10.1.2.0.0 AS release?

  • Unable to open some psd file -   "could not complete your request ,unable to parse the path data"

    Hi I am unable to open some psd file that i created . I get this message "could not complete your request ,unable to parse the path data"  I am curently using cs6. Any idea how to fix it. I tried opening on other computer with photoshop but no luck yet.

    Is Vista a supported CS6 system????
    Photoshop CS6 / Tech specs
    System requirements
    Windows
    Intel® Pentium® 4 or AMD Athlon® 64 processor
    Microsoft® Windows® XP with Service Pack 3 or Windows 7 with Service Pack 1. Adobe® Creative Suite® 5.5 and CS6 applications also support Windows 8. Refer to the CS6 FAQ for more information about Windows 8 support.*
    1GB of RAM
    1GB of available hard-disk space for installation; additional free space required during installation (cannot install on removable flash storage devices)
    1024x768 display (1280x800 recommended) with 16-bit color and 256MB (512MB recommended) of VRAM
    OpenGL 2.0–capable system
    DVD-ROM drive
    This software will not operate without activation. Broadband Internet connection and registration are required for software activation, validation of subscriptions, and access to online services.† Phone activation is not available.

  • How to retain prolog in output xml after parse the input xml

    Hi,
    I am using com.bea.xml.XmlObject.Factory.parse(String) method to parse a xml.
    Input XML is having prolog defore the root node.But after parse the xml using the above method, the prolog is not there in the Output XML.
    can any one help me to retain the prolog in Output XML as it is in Input XML......
    Thanks in advance..
    Regards,
    Deba

    Hi,
    The Input XML is like
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But after parse the Output XML become
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But due to project requirement i want to keep the prolog(<?xml version="1.0" encoding="UTF-8"?>) as it is with Output XML after parse the xml.
    can i use any XMLOption while calling parse() method...Or any one have any otherway to retain prolog after parse ?
    please help me to get it .
    Thanks in advance.
    Regards,
    Deba

  • Unable to parse the ZenWorks software dictionary files

    I'm getting this error message when I try to access the Software
    Dictionary in ConsoleOne > Inventory Service_ADMNT > Properties >
    Software Inventory Configuration > Software Configuration
    Error Loading Software Dictionary
    Unable to parse the ZENworks software dictionary files.
    Contact Novell Support (http://support.novell.com)
    I was able get into it just a few minutes before that but now,
    nothing... Thanks for your help.

    E,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • "Unable to parse the opf file" of my book, what to do?

    We have created a neat little eBook with iBooks Author, following all the specifications, keeping an eye on memory limits, etc., and using some of the widgets, but we are getting an error message when we try to submit the book through iTunes Producer, so we can't cross the finish line (after which there is a beer waiting, but not yet.)
    This eBook process has taken us about one year to complete.
    This is the error message that appears on the system: "Error ITMS-9000 'Unable to parse opf file container.xml' at Book.
    I know a little bit about EPUBs, and I know this is not a playground-variety error message. So I need help.
    There are a few threads out there that address this issue (but not really, more like people drowning and crying "help" while the sea whirl drags them down to the depths).
    Here is the issue: Our file is not a standard EPUB file that you can whip up with Sigil, and then mess with the manifest; it is a fully loaded peacock authored and designed with iBooks Author, complete with sound files, widgets, etc. Hence my worry.
    Any suggestions so that I can sleep tonight? They would be much appreciated.

    Yep, i just did it again. The entire scroll-bar widget, complete with formatted text, graphics, etc., pasted itself nicely in another book. Two different files, the same widget.
    I use the scroll-bar widgets for most of my texts. (I have audio buttons on the side, and the scripts are within the widget, to the side). My only text is within widgets, and text boxes, naturally. 
    I am following your recommendation: cleaning files, etc. I am remaking the book anew. I need to convince the EPUB bot or whatever that my file looks and works nicely on all my devices. You would expect an error message when previewing the book: 'Hey Amigo, your file is flawed, stop working on it, and get back to the drawing board." Should be able to try again next Monday.

  • Unable to parse the OData service in JSON

    Hi,
    Need to parse the OData Service in JSON format.Able to successfully get Service and MetaData documents. After that, when try to parse OData service returning response in JSON.
    Below  code is throwing exception.
    Server Used:SMP3.0
    ODATA SDK Used:SMP3.0 ODATA SDK
    Service Used: http://services.odata.org/v2/Odata/Odata.svc/Products?$format=json
    Code Snippet:
       @try {
          ODataCollection *collc = [[self.serviceDocument getSchema] getCollectionByName:_srvcInfo.serviceEntityName];
          ODataEntitySchema *schema = [collc getEntitySchema];
          //Instantiate parser for Carrier entity
         ODataDataParser *dataParser=[[ODataDataParser alloc] initWithEntitySchema:schemaandServiceDocument:self.serviceDocument];
          //Parses a feed or an entry xml or json
          [dataParser parse:entriesData];
          results = dataParser.entries;
      @catch(NSException *e) {
          NSLog(@"Exception:%@, %@", e.description, e.debugDescription);
    Exception:
    -[__NSCFArray objectForKey:]: unrecognized selector sent to instance
    However Service Used:http://services.odata.org/V3/Northwind/Northwind.svc/Products?$format=json. Not
    throwing any exception, but dataParser.entries is returning 0 objects
    Please let us know, is the same API is used for parsing JSON.
    What can be the reason of issue and what are possible resolution.
    Thanks,
    Parveen.

    My expert area is not IOS but you can check this IOS Odata development tutorial that might help you,Getting started with SMP3 Native OData iOS apps
    Midhun VP

  • Parsing the large XML ( 1GB) using SAX PARSER

    We have very large XMLs being generated by processes. These XMLs should be validated first and then parsed next. We have implementation that works for small files. My question is
    how can we validate and parse large XMLs with SAX parser?

    The same way as parsing a small XML file, no? Why don't you try it? Then if you have problems that you can't solve, ask about them here.

  • How to parse the result xml string in BPEL

    Hi,
    This is Ishmayel.v new to BPEL and hava experience in xml parsing, java and webservices.
    Now I am getting the XML file as a result string in BEPL.
    now I want to parse the XML string and insert into the database... If any one has the idea let me know.
    my email id is [email protected]
    Thanks in Advance,
    Regards,
    Ishmayel.

    Your question is not clear.
    You have a client applicaton which invokes a BPEL process and receives XML response from BPEL. Then you want to parse this response XML in your client application?
    Or you are running a BPEL process which invokes a service and receives an XML response. Then you want to parse this XML response in BPEL before your process can proceed?
    I have to assume that you are working with a string and then you want to convert the string into XML, and then parse the XML. If this is the case, then take a look at the ora:parseEscapedXML(contentString) function. You can use this in the expression editor in JDev.

  • Unable to find the Metadata XML file.

    I am trying to apply the to Bundle Patch. In this process i am trying to upload the patch 13550561 into EM.
    Its shows a column to upload the "Metadata XML file".
    Please let me know which file need to upload in “Metadata XML file". I could not find any in the patch zip with that name.
    Thanks,
    support_dba

    Hi,
    This Metadata XML file needs to be downloaded during the patch download.
    When the "File download" pop up appears, at the bottom of the popup you will find a link "Download Patch Metadata".
    Click on that link, will download the Metadata XML file.
    Hope this clarifies your question.
    Best Regards,
    Venkat

  • Unable to parse the xml file

    I have a xml file with the xsd ,when i try to parse it using Xerces2-j i am getting an error msg like this
    XML Document has Error:true cvc-complex-type.2.4.a: Invalid content was found starting with element 'Voyage'. One of '{"":Parties, "":Voyage, "":Carrier, "":Ports, "":Commodities}' is expected.
    and mu xml file is
    <?xml version = "1.0" encoding = "UTF-8"?>
         <ShipmentOrder
              AllocationNumber = "AL12345"
              CustomerReferenceNumber = "FORD123"
              OrderType = "NEW"
              ShipmentNumber = "USEDN12345"
              ShipmentType = "IMPORT">
         <Parties
              PartyName = "XYZ INC"
              PartyNumber = ""
              PartyType = "Shipper">
         <Address
              Address1 = "1234"
              Address2 = "Avenue Road"
              Address3 = ""
              City = "DETROIT"
              Country = "USA"
              State = "MI"
              ZIPCode = "098081"
              xmlns = "http://www.xyz.com//CDM/2009/v1.0"/>
         <Contact
              ContactPerson = "John Smith"
              ContactPoint = "7324120987"
              ContactType = "Work Phone"
              xmlns = "http://www.xyz.com//CDM/2009/v1.0"/>
         </Parties>
         <Voyage
              EndDate = ""
              FlagShipCountry = "INDIA"
              LlyodsCode = "12345467"
              StartDate = ""
              VesselCode = "PAZ"
              VesselName = "BLUESHIP"
              VoyageMode = "OCEAN"
              VoyageNumber = "NA2345-PAZ"
              xmlns = "http://www.xyz.com//CDM/2009/v1.0"/>
         <Carrier CarrierName = "XYZ OCEAN CARRIER" SCAC = "XYZO" TaxID = "" xmlns = "http://www.xyz.com//CDM/2009/v1.0"/>
         <Ports
              Code = "USBAL"
              Name = "BALTIMORE"
              Terminal = "TERMINAL1"
              TerminalName = "DUNDALK"
              Type = "LOAD">
              <Berth
              Code = "USBAL1"
              Name = "ATLANTIC TERMINAL"
              PierNumber = "19"
              Type = "LOAD"/>
         </Ports>
         <Ports Code = "BEZEE"
              Name = "ZEEBRUGE"
         Terminal = "TERMINAL C"
         TerminalName = "MASTER STEO"
         Type = "DISCHARGE">
              <Berth Code = "BEZEE4"
         Name = "BELGIAN TERMINAL"
         PierNumber = "12"
         Type = "DISCHARGE"/>
         </Ports>
         <Commodities BarCode = "123456" CommodityClass = "AUTO" CommodityCode = "8703000" CommodityDescription = "FORD 4X4 PICKUP TRUCK" CommodityType = "CAR" LadingLineItem = "1" LadingQuantity = "1" MarksandNumbers = "123456">
              <Weight UnitOfMeasurement = "KGS" UnitOfWeight = "GROSS" Weight = "1234"/>
              <Measurement CubicDimensions = "8" Height = "1.65" Length = "5" UnitOfMeasurement = "FEET" Width = "3"/>
              <ManufacturerDeatils CommodityDescription = "FORD 4X4 PICKUP TRUCK" MakeCode = "FORD" ManufacturerName = "FORD MOTOR CO" ModelCode = "TAURUS" ModelType = "LX" ModelYear = "2009"/>
              <HazardousDetails CalssificationDescription = "12" ClassificationCode = "124" ClassificationCodeQualifier = "W" FlashpointTemperature = "23" FlashpointUnitOfMeasurement = "C" MarinePollutant = "Y" MaterialCode = "N" MaterialDescription = "N" MaterialsPage = "N" PackagingGroupCode = ""/>
              <EquipmentDetails EquipmentNumber = "1234" EquipmentType = "CONTAINER"/>
         </Commodities>
    </ShipmentOrder>
    can any one help me out with the problem

    jtahlborn wrote:
    My guess is that it is a namespace issue. The ShipmentOrder element has no namespace, but the Voyage element has the namespace "http://www.xyz.com//CDM/2009/v1.0".
    Yes, indeed. The posted error message does say that *"":Voyage* is one of the possible expected types, which must mean a Voyage element in no namespace.

Maybe you are looking for

  • Schedule lines and work area

    Hi All! While entering the multiple line items in the sales order(Quotation) screen , at the 60th item the system throws following error message : System : Schedule lines of Item 000060 is not in Work are. Has anyone ever came across such message dur

  • How do I use doGoogleSearch to connect to Google API

    Hello all, I am trying to do my final year project and I am currently having trouble connecting to the Google API using doGoogleSearch. I dont know how to use http://api.google.com/GoogleSearch.wsdl to fill in the parameters for the doGoogleSearch an

  • Mac: no PDFMaker, so printing from Word to PDF has inactive links

    I have written a fabulous document in Microsoft Word, which has paragraph numbering, and many 'Insert > Cross-reference-' links to paragraphs. And it contains lots of 'Insert > Hyperlink-' links to external documents. It's fabulous. If I saved this t

  • Fixation for ER in MIRO and MIGO

    Hi:            Is it possible to keep the ER fixed both at the time of MIGO and MIRO...If possible then please advice. Br

  • Sharing files from vista onto osx

    is it possible? Ive heard that it is, but when I share files, I get asked to put in SMB/CIFS File System authentication, which ive never seen before, and it asks for the workgroup/domain, the name, and the password, and regardless of my resonse, it t