Creating new analysis gives "Error loading XML Document from ..."

Trying to create analysis and getting "Error loading XML Document from saw.dll/answers/answersproperties.xml?fmapId=S1clug.
The response given was:" after choosing subject area. Analysis editor is opened but Subject Areas is empty and can't do anything.
The problem is on Mozilla 12 (16.0.2, 17.0.1) and IE 8. Chrome works fine.
My system is Win 7, BI 11.1.1.6.0 is on Oracle Linux (and by the way Mozilla from Linux system works fine)
What could be the reason of this?
Edited by: 898973 on 4/12/2012 15:11

Reinstalling Mozilla with "Remove personal data" option checked resolved the problem.

Similar Messages

  • Error loading XML Document from /analytics/saw.dll/common/privileges.xml

    I tested my procedure for upgrading from OBI 11.1.1.5 to 11.1.1.6 which was successful. I had to rollback to OBI 11.1.1.5 using my database backup and VM snapshot due to project requirements.
    The OBI application successfully comes up but users who login just get "Error loading XML Document from /analytics/saw.dll/common/privileges.xml?fmapID=KqIJCw. The response given was: ". They can't close this message box so are unable to do anything.
    How can I fix this?

    Hi All,
    You can face this issue with other versions of OBIEE 11.*
    Problem cab be solved as follows:
    Go to http://localhost:7001/em  > coreapplication > Capacity Management > Scalibility >
    1. Lock and edit
    2 .increase number of presentation services to 2
    3. restart opmn component.
    Go to coreapplication > Availibility > processes
    1 .please note that in deployment > catalog > change path of catalog field from $coreapplication to path where your catalog resides.
    2. Take down your primary instance.
    3. As your secondary is up, it will grant you to browse you through catalog and dashboards.
    If you want to run primary instance of presentation services
    Go to path \Middleware\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips2
    except catalog and catalog manager > Copy all other files to coreapplication_obips1
    restart opmn component > problem solved.!!!
    Regards,
    Akshay S.
    please like if you find it helpful

  • Load xml document from CLOB

    I'm try to load xml document from CLOB in following way:
    --- procedure loadXML.sql -----
    CREATE OR REPLACE PROCEDURE loadXML
    IS
    CONTENT CLOB := ' ';
    SOURCE bfile := BFILENAME('XMLFILES', 'N_95_A.xml');
    begin
    DBMS_LOB.OPEN(SOURCE, DBMS_LOB.LOB_READONLY);
    DBMS_LOB.loadFromFile(CONTENT, SOURCE, DBMS_LOB.getLength(SOURCE));
    DBMS_LOB.fileClose(SOURCE);
    insert into OFERTY (OFDOCUMENT)
    values (sys.XMLtype.createXML(CONTENT));
    commit;
    end;
    and I get
    SQL> @e:\myxml\loadXML
    declare
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00210: expected '<' instead of '<'
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at line 1
    ORA-06512: at line 8
    What is wrong?

    Have you tried simply outputting iusing the htp.p function? for example:
    /* ... inside a PL/SQL region */
    declare
       lclb_output clob;
    begin
       select doc_xml into lclb_output from mf_xml_docs where doc_id = :P1_DOC_ID;
       htp.p(lclb_output); -- you may have to split this into chunks and loop through, depending on how big the clob is
    end;

  • FIM2010R2 PowerShell Connector - Create new MA gives error E_MMS_SCHEMA_CLASS_NOT_FOUND

    When i try to create a new Powershell MA (Microsoft) i manage to get the schema from my Powershell script and can select an anchor to use sucessfully, but at the end i Always gets this error and i have tried to use the scripts from following link
    http://technet.microsoft.com/en-us/library/dn640417(v=ws.10).aspx but Always the same error, and i also enabled logging but this gave no more info.
    Log Name:      Application
    Source:        FIMSynchronizationService
    Date:          2014-03-19 11:12:13
    Event ID:      6306
    Task Category: Server
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      {Fim Server}
    Description:
    The server encountered an unexpected error while performing an operation for the client.
     "BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\maxml\cdext.cpp(416): 0x80070057 (The parameter is incorrect.)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xstack.cpp(405): 0x80070057 (The parameter is incorrect.)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xparse.cpp(436): 0x80070057 (The parameter is incorrect.)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\server\schema\schema.cpp(1619): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\maxml\compmap.cpp(155): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\maxml\compmap.cpp(453): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xsimple.cpp(842): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xstack.cpp(540): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xparse.cpp(544): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xsimple.cpp(334): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\maxml\compmap.cpp(344): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\server\mastate\mastate.cpp(10645): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    ERR_: MMS(4436): d:\bt\25920\private\source\miis\server\mastate\mastate.cpp(13144): Error creating MA component mappings object: 0x80230914
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\server\mastate\mastate.cpp(13164): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\server\mastate\mastate.cpp(1724): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\server\server\server.cpp(1090): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    Forefront Identity Manager 4.1.3508.0"
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="FIMSynchronizationService" />
        <EventID Qualifiers="49152">6306</EventID>
        <Level>2</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-19T10:12:13.000000000Z" />
        <EventRecordID>110463</EventRecordID>
        <Channel>Application</Channel>
        <Computer>{FIM Server}</Computer>
        <Security />
      </System>
      <EventData>
        <Data>BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\maxml\cdext.cpp(416): 0x80070057 (The parameter is incorrect.)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xstack.cpp(405): 0x80070057 (The parameter is incorrect.)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xparse.cpp(436): 0x80070057 (The parameter is incorrect.)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\server\schema\schema.cpp(1619): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\maxml\compmap.cpp(155): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\maxml\compmap.cpp(453): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xsimple.cpp(842): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xstack.cpp(540): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xparse.cpp(544): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\xmlpe\xsimple.cpp(334): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\shared\maxml\compmap.cpp(344): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\server\mastate\mastate.cpp(10645): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    ERR_: MMS(4436): d:\bt\25920\private\source\miis\server\mastate\mastate.cpp(13144): Error creating MA component mappings object: 0x80230914
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\server\mastate\mastate.cpp(13164): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\server\mastate\mastate.cpp(1724): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    BAIL: MMS(4436): d:\bt\25920\private\source\miis\server\server\server.cpp(1090): 0x80230914 (E_MMS_SCHEMA_CLASS_NOT_FOUND)
    Forefront Identity Manager 4.1.3508.0</Data>
      </EventData>
    </Event>
    Ulf Lindström

    Thanks!
    But did this helped? i tried to change the scripts i have, but no change
    this is what i understand has been changed
    :GetSchema
    param(   
        [System.Collections.ObjectModel.KeyedCollection[[string], [Microsoft.MetadirectoryServices.ConfigParameter]]]
        $ConfigParameters,
        [PSCredential]
        $psCredential
    :importData
    param(   
        [System.Collections.ObjectModel.KeyedCollection[[string], [Microsoft.MetadirectoryServices.ConfigParameter]]]
        [ValidateNotNull()]
        $ConfigParameters,
        [Microsoft.MetadirectoryServices.Schema]
        [ValidateNotNull()]
        $schema,
        [Microsoft.MetadirectoryServices.OpenImportConnectionRunStep]
        $OpenImportConnectionRunStep,
        [Microsoft.MetadirectoryServices.ImportRunStep]
        $GetImportEntriesRunStep,
        [PSCredential]
        $psCredential
    Ulf Lindström

  • Loading XML Document from JFileChooser

    My initial version of this app I hardcoded the XML filename. Now, I would like to load an xml file via a JFileChooser. The problem I'm having is that I create the DOM Document in the constructor because of dependencies on the JTree. Well, I don't call showDialog until the "open" action is called which is further into the program. By then it's too late. Here is the code. I extracted some unecessary code for reading purposes.
    public class DomGui extends JPanel implements DomGuiConstants, ActionListener
        private JScrollPane treeView;
        private String xmlFilename;
        private Document document;
        private JFileChooser fileChooser;
        private ExtensionFilter fileFilter;
        private static JFrame frame;
        private static JTree jtree;
        public DomGui() throws Exception
            frame = new JFrame(DOM_VIEWER);
            fileChooser = new JFileChooser();
            fileFilter = new ExtensionFilter(XML_EXTENSION, XML_DESCRIPTION);
            // Create the Document
            //xmlFilename = "W:/RoseModel/ImplementationView/seng/ewcs/clwc/Simulation/Utilities/Xml/DomViewer/TVschedule.xml";
            try
                CreateDomDocument createDomDocument = new CreateDomDocument(xmlFilename);
                document = createDomDocument.getDocument();
            catch (FileNotFoundException fnfe)
                System.out.println(fnfe);
                System.exit(1);
            // Create a Tree Model
            DomTreeModel model = new DomTreeModel(document);
            // Create a renderer
            DomTreeCellRenderer  treeCellRenderer = new DomTreeCellRenderer();
            // Create the JTree
            jtree = new JTree(model);
            // Create an Editor
            DomTreeCellEditor treeCellEditor = new DomTreeCellEditor(jtree);
            // Build left-side view
            // an empty tree and put it a JScrollPane so users can see
            // its contents as it gets large
            treeView = new JScrollPane(jtree);
            treeView.getViewport().add(jtree);
            treeView.setPreferredSize(new Dimension( leftWidth, windowHeight ));
            // Create a JSplitPane to hold the left side JTree
            // and the right side JEditorPane
            // Build split-pane view
            splitPane = new JSplitPane( JSplitPane.HORIZONTAL_SPLIT,
                                                       treeView,
                                                       htmlView );
            splitPane.setContinuousLayout( true );
            splitPane.setDividerLocation( leftWidth );
            splitPane.setPreferredSize(new Dimension
                                                        ( windowWidth + 10, windowHeight+10 ));
            // Add GUI components
            this.setLayout(new BorderLayout());
            this.add("Center", splitPane );
        public static void makeFrame()
            int FRAME_WIDTH = 670;
            int FRAME_HEIGHT = 600;
            // Set up the tree, the views, and display it all
            try
                final DomGui guiPanel = new DomGui();
                frame.getContentPane().add("Center", guiPanel );
            catch (Throwable throwable)
                throwable.printStackTrace();
                System.exit(1);
        public void actionPerformed(ActionEvent actionEvent)
            String actionCommand = actionEvent.getActionCommand();
            System.out.println("Action: " + actionCommand);
            if (actionCommand.equalsIgnoreCase("Quit"))
                System.exit(0);
            else if (actionCommand.equalsIgnoreCase("Open"))
                showDialog("Open XML File",
                                 "Open",
                                 "Open the file",
                                 'o',
                                 null);
        // end actionPerformed
        public File showDialog (String dialogTitle,
                                            String approveButtonText,
                                            String approveButtonToolTip,
                                            char approveButtonMnemonic,
                                            File file)
            fileChooser.setDialogTitle(dialogTitle);
            fileChooser.setApproveButtonText(approveButtonText);
            fileChooser.setApproveButtonToolTipText(approveButtonToolTip);
            fileChooser.setApproveButtonMnemonic(approveButtonMnemonic);
            fileChooser.setFileSelectionMode(fileChooser.FILES_ONLY);
            fileChooser.rescanCurrentDirectory();
            fileChooser.setSelectedFile(file);
            fileChooser.addChoosableFileFilter(fileFilter);
            fileChooser.setFileFilter(fileFilter);
            int result = fileChooser.showDialog(this, null);
            System.out.println("Result is: " +result);
            if (result == fileChooser.APPROVE_OPTION)
                System.out.println("I'm Here 1");
                System.out.println("File selected: " + fileChooser.getSelectedFile());
                xmlFilename = fileChooser.getSelectedFile().toString();
                return fileChooser.getSelectedFile();
            else
                System.out.println("I'm Here 2");
                return null;
        // end showDialog
    [\code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    In your actionPerformed() method, shouldn't you do something with the File returned by showDialog()? For instance:
            else if (actionCommand.equalsIgnoreCase("Open"))
                xmlFilename = showDialog("Open XML File",
                                 "Open",
                                "Open the file",
                                'o',
                                 null).getName();
            }Because it seems that, for now at least, you're choosing a file and then just kinda throwing it away...

  • Heap space error while creating XML document from Resultset

    I am getting Heap space error while creating XML document from Resultset.
    It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
    I am already using -Xms32m -Xmx1024m
    Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
    here is my code:
    stmt = conn.prepareStatement(sql);
    result = stmt.executeQuery();
    result.setFetchSize(999);
    Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
    JDBCUtil.write(doc, fileName);
    public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
        throws ParserConfigurationException, SQLException {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.newDocument();
            Element results = doc.createElement("sims");
            results.setAttribute("bank", bankId);
            results.setAttribute("record_type", "HEADER");
            results.setAttribute("file_type", interfaceFileType);
            results.setAttribute("version", version);
            doc.appendChild(results);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            String columnName="";
            Object value;
            while (rs.next()) {
                Element row = doc.createElement("rec");
                results.appendChild(row);
                for (int i = 1; i <= colCount; i++) {
                    columnName = rsmd.getColumnLabel(i);
                    value = rs.getObject(i);
                    Element node = doc.createElement(columnName);
                    if(value != null)
                        node.appendChild(doc.createTextNode(value.toString()));
                    else
                        node.appendChild(doc.createTextNode(""));
                    row.appendChild(node);
            return doc;
    public static void write(Document document, String filename) {
            //long start = System.currentTimeMillis();
            // lets write to a file
            OutputFormat format = new OutputFormat(document); // Serialize DOM
            format.setIndent(2);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            try {
                FileWriter writer = new FileWriter(filename);
                BufferedWriter buf = new BufferedWriter(writer);
                XMLSerializer FileSerial = new XMLSerializer(writer, format);
                FileSerial.asDOMSerializer(); // As a DOM Serializer
                FileSerial.serialize(document);
                writer.close();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            //long end = System.currentTimeMillis();
            //System.err.println("W3C File write time :" + (end - start) + "  " + filename);
        }

    you can increase your heap size..... try setting this as your environment variable.....
    variable: JAVA_OPTS
    value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

  • Get error (There is an error in XML document (3, 4)) when consuming web service HelpDesk_QueryList_Service with New-WebServiceProxy

    Dear all,
    I'm using the powershell cmdlt New-WebServiceProxy to query ITSM incidents. I'm able to get the WSDL definition ..
    $uri='http://pitsm/arsys/WSDL/public/pitsmapp/HPD_IncidentInterface_WS'
    $myitsm=New-WebServiceProxy -Uri $uri -Namespace ITSM -Verbose true
    $auth= New-Object ITSM.AuthenticationInfo
    $cred=get-credential
    $auth.username=$cred.username
    $auth.password= [System.Runtime.InteropServices.marshal]::PtrToStringAuto([System.Runtime.InteropServices.marshal]::SecureStringToBSTR($cred.password))
    $auth.authentication="Domain Authentication"
    $myitsm.AuthenticationInfoValue=$auth
    $myitsm.RequestEncoding =  [System.Text.Encoding]::UTF8
    $tid="INC000002237910"
    $criteria="'Incident Number' = ""$tid"""
    When i'm consuming now the web service i get back an error messages:
    $answer=$myitsm.HelpDesk_QueryList_Service($criteria,0,100)
    Exception calling "HelpDesk_QueryList_Service" with "3" argument(s): "There is an error in XML document (3, 4)."
    At line:1 char:1
    + $answer=$myitsm.HelpDesk_QueryList_Service($criteria,0,100)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : InvalidOperationException
    Has anybody an idea what could be wrong?
    Any idea how to debug the commandlet New-WebServiceProxy?
    Best Regards
    Chris

    Hello Christian,
     i  know this reply is really late ;) I am actually the author of the blog post mentioned by @AnnaWY, the post she mentioned is in regards of a situation 'where everything' is how it should be. Basically, (i think) sometime administrator, or the
    person who implements ITSM webservices makes an error, hence this script will not run. You will end up with that issue mentioned, in order to fix it, either you should contact the person who is responsible for that service, OR rewrite the wsdl for it yourself.
    It might be a bit problematic, but, it is for sure doable, as in my latest blog post about this issue. 
    I am writing it here, because i also saw this page, while googling for explanation, i guess there are more people who are looking for this so here is the link to the explanation:
    http://wp.me/pAXaY-ht
    I hope that helps !
    Regards,
    Greg

  • Creating an XML document from a DTD in Java

    Hi All,
    I need help on the following requirement very badly. Pls help me.
    I have a requirement to implement with java and XML. I am quit new to XML.Can any of you pls help me.
    I have a DTD file. I need to generate XML document from it using java code. I have to use DTD as a template to generate my XML document.
    After going through WEB sites, I understtod that, we have to user Java API JAXB for my requirement. But I could not find JAXB.jar anywhere.
    I need to know the following inforamtion ....
    1. Is my understanding of using JAXB for my requirement is correct?
    2. Where can I get JAXB.jar?
    3. What are the steps to create XML document from a DTD in Java?
    If can give me a sample code for this would help me a lot.
    Pls pls reply me. Your help is greatly appreciated.
    Thanks in Advance.
    Regards,
    Gayathri.

    hi Gayathri,
    iam currently working in the same field.
    firs download jaxb from this link:
    http://java.sun.com/xml/downloads/jaxb.html
    first u need to marshall it.
    cheers
    shashi

  • How to create an XML document from a String.

    Can anyone help,
         In the Microsoft XML Document DOM there is a load function load(string) which will create an XML document, but now we are switching to Java and I do not know how to create and XML document from a string, this string �xml document� is passed to my program from a webservice and I need to read several xml elements form it in a web server.
    This string is a well formatted XML document:
    <?xml version="1.0" encoding="UTF-8"?>
    <Countries NumberOfRecords="1" LanguageID="en-us">
         <Country>
              <CountryCode>AU</CountryCode>
              <CountryName>AUSTRALIA</CountryName>
         </Country>
    </Countries>

    Thanks PC!
    I made it work using:
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    factory.setIgnoringComments(true); // We want to ignore comments
    // Now use the factory to create a DOM parser
    DocumentBuilder parser = factory.newDocumentBuilder();
    //TransformThisStringBuffer is a string buffer wich contain the 'XML document (String)'
    InputStream in = new ByteArrayInputStream(TransformThisStringBuffer.toString().getBytes());
    // Parse the InputStream and build the document
    Document document = parser.parse(in);
    But which one is faster InputSource or InputStream, were would you put the "new InputSource(new StringReader(yourString))" in the above code?

  • Error loading BASIC document. General Error. General input/output error".

    Error loading BASIC document. General Error. General input/output error".

    I guess your problem is related to StarOffice8, right?
    I had the same issue after upgrading StarOffice7 to StarOffice8:
    http://forum.java.sun.com/thread.jspa?threadID=5287604&tstart=0
    Apparently the .StarOffice8 directory in your export/home directory was created based on .StarOffice7
    directory. Probably here something went wrong. Maybe a bug.
    So the solution is very simple:
    rm -r .StarOffice8 in your export/home directory and restart StarOffice8.
    Or you can also rename the directory.

  • Error in webservice call | Error in XML Document(1,358)

    Hi all,
    We currently have a web service developed in Java, which we're calling from
    a dot net coded windows form. this web service is returning an object of type
    abc (say). Now, when we try and get a response from java server on the form,
    i'm getting the following error:
    There is an error in XML document (1, 358)
    Does this have something to do with a java serialised object not being able
    to get deserialised in dot net? Or is it something else?
    Also, I have a web reference that has been created on this java web service.
    This I believe means that the object that we're trying to get on the dot net
    client would be the java object that is being sent from the web service.
    Point to be noted is the fact that this web service was working absolutely fine till about 2 days ago.
    Any pointers are gladly appreciated.
    Cheers!
    Nick

    Sorry for not mentioning the product versions:
    The bpel process was build and deployed with Jdeveloper Studio edition version 10.1.3.1.0.3984 on a Bpel server/Application Server with version 10.1.3.1 (NT).

  • "Create Object " statement gives error: statement is not accessible

    Hi All
    U must b doing good.
    I am new in ABAP Objects.
    I have writeen a simple Class definition n Implimentasion code.
    but whenever i write statement "Create object", it gives error.
    'm working on SAP Dev 4.7.
    the code was like this:-
    class counter definition.
      public section.
        METHODS: set IMPORTING VALUE(set_value) TYPE i,
                 increment,
                 get EXPORTING VALUE(get_value) TYPE i.
       private section.
       DATA count TYPE i.
    ENDCLASS.
    CLASS counter IMPLEMENTATION.
      METHOD set.
        count = set_value.
      ENDMETHOD.
      METHOD increment.
        count = count + 1.
      ENDMETHOD.
      METHOD get.
        get_value = count.
      ENDMETHOD.
    ENDCLASS.
    DATA: cnt_1 TYPE REF TO counter.
    DATA number TYPE I VALUE 5.
    CREATE OBJECT cnt_1 .
    CALL METHOD cnt_1->set
      EXPORTING set_value = number.
    DO 3 TIMES.
       CALL METHOD cnt_1->increment.
    ENDDO.
    CALL METHOD cnt_1->get
      IMPORTING get_value = number.
    write: number.
    its giving error like:-"Statement is not accessible."
    plz tell me the way to resolve this error.
    thanx n regards
    Prashant tiwari

    hi prashant....
      this is the link to post your therads for abap objects:
      [ABAP Objects;.
      if you want to reward, on the left of every reply ther would be some radio buttons like answere, helpful answer,... so on. click the radio button which suits you. answered closes the thread and other points are displayed there itself.
    ---regards,
       alex b justin

  • RUNDLL, error loading c:\documents the specified module could not be found

    Hi! I am new here and really need your help. We have a few Lenovo T400 notebooks. If I want to install Windows XP Prof with SP3 I always get this error dialog during GUI mode setup 9 Min. before finishing.
    RUNDLL, error loading c:\documents the specified module could not be found 
    We install this version of Windows on other notebooks without error. The logs show nothing special.
    Nothing really happens but it's looks bad for our customers. I think I am not alone because there are more
    entries in different forums with same problem without solution.
    Every help is appreciated. Thanks!

    Thanks for your reply! But the list of hotfixes on Microsoft Knowledge Base includes this hotfix?
    List of fixes that are included in Windows XP Service Pack 3
    888111  (http://support.microsoft.com/kb/888111/ ) Universal Audio Architecture (UAA) High Definition Audio class driver version 1.0a available for Windows XP, Windows Server 2003, and Windows 2000 Hotfix
    http://support.microsoft.com/kb/946480/en-us
    Sorry, we use Windows XP SP3 with this hotfix included. All of our other hardware which needs this hotfix too works fine with SP3.

  • Xml publisher enterprise!!! create rtf file dynamically with load xml data

    i am new to xml publisher enterprise , i want a solution for this question ...
    i want create rtf file dynamically with loading xml data....means i wrote a program in jsp where the the output in xml file simultaneously create rtf file..but i enable load the xml data in rtf file but when i goto rtf file from where data in that load xml then it genrate the columns..but i want in dynamiclly to load the data will you please guide me ......

    Hi Atiq
    Im not quite clear on the requirement here:
    1. Do you just want to be able to extract the data and apply a template to the XML data from your jdp and render output?
    If so then you can use the XMLP APIs ... the are in the user guide. Particularly:
    RTFProcessor - converts RTF template to XSLFO stylesheet
    FOProcessor - takes, XML data, XSLFO stylesheet and output format and generates the required output.
    2. Do you want a template that will accept any data and just format it into rows and columns ? This can be written but your XML structure is going to have to be static, the data of course can be dynamic.
    Regards, Tim

  • SSRS Reports getting error in XML document (1, 6110).

    Hi,
    SCCM 2012 R2  Query reports opening error it shows below errors few reports only open properly.
    Stack Trace:
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
       at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
       at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
    System.InvalidOperationException
    There is an error in XML document (1, 6648).
    Stack Trace:
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
       at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
       at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
    System.Xml.XmlException
    '', hexadecimal value 0x1F, is an invalid character. Line 1, position 6648.
    Stack Trace:
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
       at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
       at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
    Kiran

    This has already been discussed and solved, please use the search funtion:
    http://social.technet.microsoft.com/Forums/en-US/home?category=systemcenter2012configurationmanager&sort=relevancedesc&brandIgnore=True&searchTerm=There+is+an+error+in+XML+document+
    Torsten Meringer | http://www.mssccmfaq.de

Maybe you are looking for