Summary of DBXML 2.3.10 indexes

We are running performance tests on our DBXML 2.3.10 database. There is still some question as to indexing numbers. Could someone briefly summarize the options? I don't think this is well documented (I could be wrong). For example:
1. Integers - There is no index type for integer, so what should we use?
2. Decimal -How does it differ from a float or double
3. Float/double - I assume this is the same idea as in the C language; single and double precision? Why would I not always use double if I am not concerned about memory? Does one perform better than the other.
Anthony

John,
Thanks for the summary. However, I must tell you that in terms of BDBXML, the decimal index does not function correctly based on our tests. I believe 2.3.8 cited problems, and I wrongly assumed 2.3.10 fixed it. Here are the details using DBXML Shell. I am using a container with 1125750 documents. A sample document is included at the end of the post
dbxml> listindexes
Index: node-element-equality-double for node {}:rabbits
This lookupindex works fine with the double index:
dbxml> time lookupindex node-element-equality-double {} rabbits
1125750 objects returned for eager index lookup 'node-element-equality-double'
Time in seconds for command 'lookupindex': 25.066
We can also use query to get the same data:
dbxml> time query 'for $a in collection("SCHEMA_1804635228.dbxml") where $a/sys:Metadata/sys:Published/theRabbit/theData[rabbits=1500] return $a'
1500 objects returned for eager expression 'for $a in collection("SCHEMA_1804635
228.dbxml") where $a/sys:Metadata/sys:Published/theRabbit/theData[rabbits=1500]
return $a'
Time in seconds for command 'query': 5.157
Now I delete the index:
dbxml> delindex {} rabbits node-element-equality-double
Deleting index type: node-element-equality-double from node: {}:rabbits
...And add the index, only this time it is decimal:
dbxml> addindex {} rabbits node-element-equality-decimal
Adding index type: node-element-equality-decimal to node: {}:rabbits
I verify the index:
dbxml> listindexes
Index: node-element-equality-decimal for node {}:rabbits
A Lookupindex yields about the same performance as when it was a double:
dbxml> time lookupindex node-element-equality-decimal {} rabbits
1125750 objects returned for eager index lookup 'node-element-equality-decimal'
Time in seconds for command 'lookupindex': 27.551
Now if I try to run a query to get the same data, asI did when it was a double index the performance is extremely poor:
dbxml> time query 'for $a in collection("SCHEMA_1804635228.dbxml") where $a/sys:
Metadata/sys:Published/theRabbit/theData[rabbits=1500] return $a'
1500 objects returned for eager expression 'for $a in collection("SCHEMA_1804635
228.dbxml") where $a/sys:Metadata/sys:Published/theRabbit/theDat[rabbits=1500]
return $a'
Time in seconds for command 'query': 629.097
I also tried to cast with similar results:
dbxml> time query 'for $a in collection("SCHEMA_1804635228.dbxml") where $a/sys:
Metadata/sys:Published/theRabbit/theData[rabbits=xs:decimal(1500)] return $a'
1500 objects returned for eager expression 'for $a in collection("SCHEMA_1804635
228.dbxml") where $a/sys:Metadata/sys:Published/theRabbit/theData[rabbits=xs:decimal(1500)] return $a'
Time in seconds for command 'query': 651.19
Sample document:
sys:Metadata xmlns:sys="http://jbischemas.rl.af.mil/schemas/sys">
<sys:Extended>
<im:BaseObject xmlns:im="http://jbischemas.rl.af.mil/schemas/im">
<im:InfoObjectType>
<im:Name>mil.af.rl.oim.benchmark.rabbit</im:Name>
<im:MajorVersion>1</im:MajorVersion>
<im:MinorVersion>0</im:MinorVersion>
</im:InfoObjectType>
<im:PublicationTime>2007-06-23T01:57:10Z</im:PublicationTime>
<im:InfoObjectID>4b6s1ot-fbp6si-f3907lwp-1-f39fyzol-o4n7</im:InfoObjectID>
<im:PublisherID>4b6s1ot-fbp6si-f3907lwp-1-f390cm3c-d</im:PublisherID>
<im:PlatformID>4b6s1ot-fbp6si-f3907lwp-1-f3908pog-4</im:PlatformID>
</im:BaseObject>
</sys:Extended>
<sys:Published>
<theRabbit>
<theData>
<rabbitUID>4b6s1ot-cpx4r3-f390ckhi-1-f390ckhx-2</rabbitUID>
<sequence_order_number>1500</sequence_order_number>
<total>1500</total>
<time_stamp_in_milliseconds>1182563830805</time_stamp_in_milliseconds>
<rabbits>1500</rabbits>
</theData>
</theRabbit>
</sys:Published>
</sys:Metadata>

Similar Messages

  • Prime Executive Summary Report

    Hi Guys,
    When we run Executive Summary Report (Reports > Report Launch Pad > Network Summary > Wireless Network Executive Summary) on Prime we are getting 13 page long report.      
    Half of the pages (6 pages) filled with  Network Air Quality vs Time information which is not giving us much value & make the report like a detail report.(no body like to scroll through 13 pages & get an idea about wireless network performance summary)
    Time Radio Type AQ Minimum Index AQ Average Index
    2013-Dec-05, 11:08:12 EST 802.11b/g/n 70 98.44
    2013-Dec-05, 11:24:22 EST 802.11b/g/n 75 98.43
    2013-Dec-05, 11:40:20 EST 802.11b/g/n 68 98.43
    2013-Dec-05, 11:56:15 EST 802.11b/g/n 65 98.38
    2013-Dec-05, 12:12:25 EST 802.11b/g/n 68 98.39
    2013-Dec-05, 12:28:34 EST 802.11b/g/n 70 98.41
    2013-Dec-05, 12:44:47 EST 802.11b/g/n 66 98.39
    2013-Dec-05, 13:00:43 EST 802.11b/g/n 50 98.33
    Is there anyway to get rid of this information from the Summary Report ? With WCS we did not have such a problem when generating these daily reports   
    TIA
    Rasika

    Anybody experienced the same problem?

  • BUG: iTunes Reporting Section Doubling Download Metrics

    I've found what seems to be a bug on the reporting section of the iTunes U metrics and am wondering if anyone else is experiencing this.
    I have attached a video to demonstrate what is happening, but essentially if I start counting metrics from Jan 2012, which is when Apple switched over to their new reporting system, the system doubles our number of downloads (among other things). If we start counting from Feb 2012 through the present, the metrics seem to be consistent with what Apple shows me on the front summary page.
    http://cdnapi.kaltura.com/index.php/kwidget/cache_st/1362518770/wid/_347381/uico nf_id/12311262/entry_id/1_5kppif39
    Any thoughts on this would be great.
    Best,
    Katie

    Katie;
    Sorry that I couldn't be of more help. Just for grins I tried the sequence again on a different Mac (MacBook Air, 10.8.2) with the same results...no change in the numbers. 
    Just as an experiment, have you tried resetting Safari?  It might be worth a try.  All the best...
    Syd Rodocker
    SRVideo Media Design
    Apple iTunes U Administrator
    Tennessee's Electronic Learning Center

  • On commit for mview refresh is not generated in DDL

    New design > relational > new table w/ single numeric column
    New Oracle 11g physical > new materialized view > on prebuilt table from above > Refresh Clause tab > select ON COMMIT action
    -- add a body for grins
    resulting XML in saved design:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <SnapshotOraclev11g class="oracle.dbtools.crest.model.design.storage.oracle.v11g.SnapshotOraclev11g" name="TABLE_1" id="E092B588-B0A8-437A-4187-9999090405D9" directorySegmentName="seg_0">
    <createdBy>kdavis1</createdBy>
    <createdTime>2012-07-18 15:28:57 UTC</createdTime>
    <ownerDesignName>OTN_Issue_20120717a</ownerDesignName>
    <action>ON COMMIT</action>
    <defaultSegment>NO</defaultSegment>
    <onPrebuiltTable>8332B16F-E06B-86AC-E123-DDA4F5DFF794</onPrebuiltTable>
    </SnapshotOraclev11g>
    Resulting DDL lacks ON COMMIT:
    -- Generated by Oracle SQL Developer Data Modeler 3.1.1.703
    -- at: 2012-07-18 11:47:26 EDT
    -- site: Oracle Database 11g
    -- type: Oracle Database 11g
    CREATE TABLE "TABLE_1"
    "Column_1" NUMBER
    LOGGING
    CREATE MATERIALIZED VIEW "TABLE_1"
    ON PREBUILT TABLE
    AS select sum(foo) from bar
    -- Oracle SQL Developer Data Modeler Summary Report:
    -- CREATE TABLE 1
    -- CREATE INDEX 0
    -- ALTER TABLE 0
    -- CREATE VIEW 0
    -- CREATE PACKAGE 0
    -- CREATE PACKAGE BODY 0
    -- CREATE PROCEDURE 0
    -- CREATE FUNCTION 0
    -- CREATE TRIGGER 0
    -- ALTER TRIGGER 0
    -- CREATE STRUCTURED TYPE 0
    -- CREATE COLLECTION TYPE 0
    -- CREATE CLUSTER 0
    -- CREATE CONTEXT 0
    -- CREATE DATABASE 0
    -- CREATE DIMENSION 0
    -- CREATE DIRECTORY 0
    -- CREATE DISK GROUP 0
    -- CREATE ROLE 0
    -- CREATE ROLLBACK SEGMENT 0
    -- CREATE SEQUENCE 0
    -- CREATE MATERIALIZED VIEW 1
    -- CREATE SYNONYM 0
    -- CREATE TABLESPACE 0
    -- CREATE USER 0
    -- DROP TABLESPACE 0
    -- DROP DATABASE 0
    -- ERRORS 0
    -- WARNINGS 0
    Posts reviewed: (materialized && view) || mview || mv

    Yes but then shouldn't "Refresh Type" be blank (instead of FAST) like "Refresh Action" is blank by default.
    Or better yet, you already fill the mview name upon selection of a table for on prebuilt -- so should you select refresh YES upon choosing a type and/or action?
    Seems to be an inconsistency here.

  • 3.0.0-665 - Export DDL is empty

    I have a relational model in DM and select menu Export / DDL File.
    I leave the selection Oracle Database 11g and click Generate.
    In the new dialog I leave everything as is (all tables and other items selected) and click OK.
    The result is just some comments:
    -- Generated by Oracle SQL Developer Data Modeler 3.0.0.665
    -- at: 2011-02-24 18:45:45 CET
    -- site: Oracle Database 11g
    -- type: Oracle Database 11g
    -- Oracle SQL Developer Data Modeler Summary Report:
    -- CREATE TABLE 0
    -- CREATE INDEX 0
    -- ALTER TABLE 0
    -- more here, I deleted for brevity
    -- DROP TABLESPACE 0
    -- DROP DATABASE 0
    -- ERRORS 0
    -- WARNINGS 0
    With some other model, it works.
    Any idea what to look for?
    I also tried Oracle SQL Developer 3.0 Early Adopter 4 (3.0.03.97), but it is the same there too (just comments are created).
    I also tried to export just one table, but the result is same, just the above comments.
    Regards,
    David

    Thanks for the picture. That all looks fine. Its contents tells me that you have not got the relevant Physical Model open. (If the Physical Model is open, the Tables do not appear on the "Tree View" tab that is shown in your picture; instead you need to go to the Tables tab to see the list of Tables.)
    Physical Models allow you to provide additional information relevant to a specific database type (e.g. Oracle 10g or 11g). Physical Models appears in the Data Modeler Browser as a node below a specific Relational Model.
    To create one you can select "New" on the right-click drop-down menu for Physical Models. Import from Data Dictionary will also create a Physical Model of the relevant type.
    Reopening a saved Design does not automatically reopen its Physical Models; nodes for those that are included in the saved design will appear as a component of the Physical Models node, but to open one you need to select "Open" from the right-click drop-down menu for the relevant physical model.
    David

  • Multi-Select (drop down list) data not saving upon save/email

    I have created a drop down list and modified it to allow multiple selection, i.e.
    form1.BusinessAreaTable[1].Row1[4].ERP::ready:form - (JavaScript, client)
    this.ui.choiceList.open= "multiSelect"; this.rawValue
    = "-1"
    However, when I go to save the form and/or email the list fields erase and the data / items I selected are gone.
    Please help, thanks.

    Okay, I have the form now.
    You are using script in the form Ready event to make a dropdown list mimic a listbox. This is totally unnecessary. I have changed the ERP to a multi-select listbox in the Object > Field palette and commented out the script.
    Here is the form: https://acrobat.com/#d=K*P4xKIA4kkqEHGTpgyvvw
    The form has not been Reader Enabled, so user with Reader will not be able to save the data inputted or submit by email in PDF format:
    Summary here:
    http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
    Niall

  • DDL Generation not working

    Hi all,
    for some strange reason the DDL generation has stopped working. See below. The physical model is definitely selected and also all the objects in it.
    Any suggestions?
    Thanks and regards, Garry
    -- Generated by Oracle SQL Developer Data Modeler 3.1.0.687
    -- at: 2012-05-02 16:00:12 CDT
    -- site: Oracle Database 11g
    -- type: Oracle Database 11g
    -- Oracle SQL Developer Data Modeler Summary Report:
    -- CREATE TABLE 0
    -- CREATE INDEX 0
    -- ALTER TABLE 0
    -- CREATE VIEW 0
    -- CREATE PACKAGE 0
    -- CREATE PACKAGE BODY 0
    -- CREATE PROCEDURE 0
    -- CREATE FUNCTION 0
    -- CREATE TRIGGER 0
    -- ALTER TRIGGER 0
    -- CREATE STRUCTURED TYPE 0
    -- CREATE COLLECTION TYPE 0
    -- CREATE CLUSTER 0
    -- CREATE CONTEXT 0
    -- CREATE DATABASE 0
    -- CREATE DIMENSION 0
    -- CREATE DIRECTORY 0
    -- CREATE DISK GROUP 0
    -- CREATE ROLE 0
    -- CREATE ROLLBACK SEGMENT 0
    -- CREATE SEQUENCE 0
    -- CREATE MATERIALIZED VIEW 0
    -- CREATE SYNONYM 0
    -- CREATE TABLESPACE 0
    -- CREATE USER 0
    -- DROP TABLESPACE 0
    -- DROP DATABASE 0
    -- ERRORS 0
    -- WARNINGS 0

    Hi Garry,
    This could be because you asked it not to generate objects on a previous DDL Generation. When you do your DDL Generation, a "DDL Generation Options" panel is displayed. This has various tabs (Tables, PK and UK Constraints, etc.). I suggest you open these tabs and check that the "Selected" tick-boxes for the relevant objects are set.
    If this doesn't help, please can you check whether there are any relevant error messages in your log file (this is normally the file datamodeler.log in the folder datamodeler\datamodeler\log).
    David

  • DM 3.0.0.665 instead of triggers not generating DDL correctly

    There seems to be a bug in the DDL generation for manually created INSTEAD OF triggers on views. The INSTEAD OF trigger does not have the INSTEAD OF clause upon DDL generation. Instead, it has the BEFORE clause. It seems to be treating INSTEAD OF triggers as normal triggers. Note: When I reversed engineered a database that already had an INSTEAD OF trigger, it imported and generated DDL was fine. This bug shows itself when manually creating INSTEAD OF triggers.
    Steps to replicate:
    1. In any design that has a view.
    2. In the physical model, find the view, expand it, right click to create Trigger for view
    3. By definition, a trigger on a view can only be an instead of trigger.
    4. The dialog box will have the 'Triggering time' showing as INSTEAD OF. You can't change it. (Which there is no reason to do anyway)
    5. Generate DDL. When generating the DDL, the trigger will not be generated as INSTEAD OF, it will be generated as a BEFORE (INSERT/UPDATE/DELETE).
    Included DDL generation from a simple database (I did not modify the DDL generated):
    -- Generated by Oracle SQL Developer Data Modeler 3.0.0.665
    -- at: 2011-03-30 13:16:32 EDT
    -- site: Oracle Database 10g
    -- type: Oracle Database 10g
    -- CREATE DATABASE DB2
    -- CONTROLFILE REUSE
    -- MAXLOGFILES 1
    -- MAXLOGMEMBERS 1
    -- MAXLOGHISTORY 0
    -- MAXDATAFILES 10
    -- MAXINSTANCES 1
    -- ARCHIVELOG
    -- FORCE LOGGING
    -- DATAFILE
    -- '' SIZE 0 K REUSE
    CREATE TABLE TABLE_1
    Column_1 VARCHAR2 (1)
    ) LOGGING
    CREATE OR REPLACE VIEW VIEW_1 ( Column_1 )
    AS SELECT
    TABLE_1.Column_1
    FROM
    TABLE_1 TABLE_1 ;
    CREATE OR REPLACE TRIGGER Trg1
    BEFORE INSERT ON VIEW_1
    FOR EACH ROW
    BEGIN
         NULL;
    END;
    -- Oracle SQL Developer Data Modeler Summary Report:
    -- CREATE TABLE 1
    -- CREATE INDEX 0
    -- ALTER TABLE 0
    -- CREATE VIEW 1
    -- CREATE PACKAGE 0
    -- CREATE PACKAGE BODY 0
    -- CREATE PROCEDURE 0
    -- CREATE FUNCTION 0
    -- CREATE TRIGGER 1
    -- CREATE STRUCTURED TYPE 0
    -- CREATE COLLECTION TYPE 0
    -- CREATE CLUSTER 0
    -- CREATE CONTEXT 0
    -- CREATE DATABASE 1
    -- CREATE DIMENSION 0
    -- CREATE DIRECTORY 0
    -- CREATE DISK GROUP 0
    -- CREATE ROLE 0
    -- CREATE ROLLBACK SEGMENT 0
    -- CREATE SEQUENCE 0
    -- CREATE MATERIALIZED VIEW 0
    -- CREATE SYNONYM 0
    -- CREATE TABLESPACE 0
    -- CREATE USER 0
    -- DROP TABLESPACE 0
    -- DROP DATABASE 0
    -- ERRORS 0
    -- WARNINGS 0

    Hi,
    Thanks for reporting this problem. I logged a bug on it.
    David

  • SQL Experts I need help!!

    I am trying to write a query that gives me a size summary of all the tables and indexes in my schema. I know this information can be obtained from USER_SEGMENTS, but I am having trouble structuring the query the way I would like. I would like the output of the query to be the following:
    TABLE_NAME INDEX_NAME SIZE
    TABLE_1............................... 50
    ................INDEX_TABLE_1_A....... 25
    ................INDEX_TABLE_1_B....... 30
    (sub_total)........................... 105
    TABLE_2.............................. 100
    ............... INDEX_TABLE_2_A...... 55
    ................INDEX_TABLE_2_B...... 50
    ................INDEX_TABLE_2_C...... 60
    (sub_total)......................... 265
    etc.........
    As you can see I want it so that the query groups the indexes with the tables and then provides the total space consumed by each table and its indexes. I have tried many different methods to get these results to no avail. If anyone could give me some ideas I would greatly appreciate it.
    PS I cannot use SQL*PLUS BREAK command
    Message was edited by:
    user616091

    Well since you can't use break you could probably use this:
    select table_name, index_name, nvl(blocks, tot) blocks
    from (
      select ord, table_name, index_name, blocks,
             sum(blocks)
             over (partition by table_name
                   order by null
                   rows between unbounded preceding and unbounded following) tot
      from (
          select 1 ord,
                 nvl(table_name,segment_name) table_name,
                 nvl2(table_name,segment_name,null) index_name,
                 blocks
          from user_segments left join user_indexes on index_name = segment_name
        union all
          select 2 ord,
                 segment_name table_name,
                 'Total' index_name,
                 null
          from user_segments
          where segment_type='TABLE'
          and exists (select 1 from user_indexes where table_name = segment_name)
    order by table_name, ord, index_name nulls first;

  • SQL FileStream Access to Stored Document

    I can upload store files, but can not retrieve files stored in SQL FileStream from a desktop PC. But I can retrieve the document from the IIS 7.0 server. The SQL server is on a different server.

    I ran found out that SQL does opens and reads the SQL filestream stored document but returns Access Denied to IIS.  The program that retrieves the data is a class library that other programmers use in their program to publish the document.  I am
    not sure if the problem is the my code or an active directory security issue.
    Calls to retrieving the document as a byte array.  Then loads the byte array to a structured data array.
            private List<string> img = new List<string>() {"JPG", "GIF", "IMG", "BMP", "PIC"};      //define specific possible image type files
           /// <summary>
            /// This will retreive the blob as a Memory Stream 
            /// </summary>
            /// <param name="ID">Optional: ID Index reference of a specified Blob file. If ID is 0 the complete list is returned</param>
            /// <returns>Return type is Memory Stream</returns>
            private byte[] data;
            private blobTable rtnBlob;
            public blobTable get_Blob(int ID = 0)          // System.Drawing.Image get_Blob(int ID=0)
                        dbTble = "FileSto";
                        tblCol = "fStoID";
                        data = go_get_sqlStream(dRow);
                    dbRow = dRow;
                dSet.Clear();
                dTable.Clear();
                IEnumerable<string> dType = from picImg in img
                                                where picImg == dbRow["docType"].ToString()
                                                select picImg;
                rtnBlob.DocByte = data;
                return rtnBlob;
            private byte[] byteStream=null;
            private byte[] go_get_sqlStream(DataRow refRow)
                object sqlPath;
                string sqlFileLoc = null;
                SqlTransaction sqlTrans;
                sqlcmd = new SqlCommand();
                sqlcn=GetConnected(sqlsvr);
                sqlcmd.Connection = sqlcn;
                sqlcn.Open();
                string sqltxt = "SELECT DocFile.PathName() FROM " + dbTble + " WHERE DocID = '" + refRow["StoID"] + "'";
                sqlcmd.CommandText = sqltxt;
                sqlPath = sqlcmd.ExecuteScalar();
                if (DBNull.Value != sqlPath)
                    sqlFileLoc = (string)sqlPath;
                else
                    throw new System.Exception("DocFile.PathName() failed");
                sqlTrans = sqlcn.BeginTransaction("mainTrans");
                sqlcmd.Transaction=sqlTrans;
                sqlcmd.CommandText="SELECT GET_FILESTREAM_TRANSACTION_CONTEXT()";
                sqlPath = sqlcmd.ExecuteScalar();
                byteStream = (byte[])sqlPath;
                sqlStream = new System.Data.SqlTypes.SqlFileStream(sqlFileLoc,byteStream, System.IO.FileAccess.ReadWrite);
                System.IO.StreamReader RSteam = new System.IO.StreamReader(sqlStream);
                string sqlData = RSteam.ReadToEnd();
                sqlStream.Seek(0, System.IO.SeekOrigin.Begin);
                byteBlob = new byte[sqlStream.Length - 1];
                sqlStream.Read(byteBlob, 0, byteBlob.Length);
                sqlStream.Close();
                sqlcmd.Transaction.Commit();
                sqlcn.Close();
                byteStream = byteBlob;
                sqlStream.Dispose();
                return byteStream;
    Thanks, 

  • I am not able to save the pdf with filled data or related to reader extension

    Hi,
    I have designed a pdf with some text field controls. But i am not able to save the document when i fill some data into the pdf.
    or whenever i save data it says that the pdf will be saved blank.
    I know that this is the reader extension issue. How to i add this reader extension feature into it.
    I know that reader extension can be
    1. cached
    2. A document can be made reader extended using adobe live cycle process.
    3. also it can be embedded while designing the pdf.
    Can any body let me know how do i incorporate reader extension feature while designing and at runtime too.
    I know we have taken reader extension license but dont know how to use this reader extension feature.
    Regards
    Sunil

    Hi Sunil,
    You indicate that you have a Reader Extensions license, did you also purchase Adobe LiveCycle Reader Extensions ES2? You would apply the license to your form using this server product.
    You can also apply reader rights using Acrobat Standard v9 (or Acrobat Professional v8), but this has license restrictions - see EULA. Also the rights that are enabled using this route will not be as many when compared to LC Reader Extensions ES2.
    I have a summary here:
    http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
    Also have a look at the Adobe page:
    http://www.adobe.com/products/livecycle/readerextensions/
    Maybe talk to the Adobe sales in your region.
    Good luck,
    Niall

  • Incorrectly Declaring Schemas as Invalid???

    I am having some problems with the document validation of DBXML. I have a few schemas that I wrote using XMLSpy 2004 (I know it's a little old). They validate through XMLSpy. I also validated them against the W3C validator and they all passed. However, when I try and run a document that references them through DBXML, I get the following error:
    Error: XML Indexer: Parse error in document at line, 1, char 536. Parser message: Complex type 'RecordType' violates the Unique Particle Attribution rule in its components 'bytes' and '##other', errcode = INDEXER_PARSER_ERROR
    The complexType 'RecordType' is defined below:
         <xs:complexType name="RecordType">
              <xs:sequence minOccurs="1" maxOccurs="1">
                   <xs:element ref="ad:adminData"/>
                   <xs:choice>
                        <xs:element name="bytes" type="xs:base64Binary"/>
                        <xs:any namespace="##other" minOccurs="0" maxOccurs="1" processContents="skip"/>
                   </xs:choice>
              </xs:sequence>
         </xs:complexType>
    If I remove one of the lines from the <xs:choice> element (bytes, or any) it works just fine.
    Thanks in advance,
    Brian J. Clark

    After doing a lot of experimentation, I don't think the problem is on my end. I think DBXML (meaning Xerces-C) has a problem with <xs:any> elements. I have created a very basic xsd file and a very basic xml file that contain nothing but a root element with one child. They validate against XMLSpy just fine.
    Schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema targetNamespace="info:rfa/rfaRegistry/xmlSchemas/iwsaDeposit" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ad="info:rfa/rfaRegistry/xmlSchemas/adminData" xmlns:col="info:rfa/rfaRegistry/xmlSchemas/collection" xmlns:dc="info:fra/fraRegistry/xmlSchemas/dcInfo" xmlns="info:rfa/rfaRegistry/xmlSchemas/iwsaDeposit">
         <xs:annotation>
              <xs:appinfo>
                   <dc:title>RFA Item-Level Deposit Record</dc:title>
                   <dc:creator>Jeffrey A. Young</dc:creator>
                   <dc:date>2006-08-31</dc:date>
              </xs:appinfo>
         </xs:annotation>
         <xs:element name="data" type="dataType" />
         <xs:complexType name="dataType">
              <xs:sequence>
                   <xs:any processContents="strict"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>
    XML File:
    <?xml version="1.0" encoding="UTF-8"?>
    <da:data xmlns:da="info:rfa/rfaRegistry/xmlSchemas/iwsaDeposit"
    xmlns:ad="info:rfa/rfaRegistry/xmlSchemas/adminData"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="info:rfa/rfaRegistry/xmlSchemas/iwsaDeposit
    D:/Data/eclipse/workspace/GDFRPrototype/xml/xsd/iwsaDeposit-2.xsd
    info:rfa/rfaRegistry/xmlSchemas/adminData
    D:/Data/eclipse/workspace/GDFRPrototype/xml/xsd/adminData.xsd">
         <info>Stuff</info>
    </da:data>
    I get the following error from DBXML:
    com.sleepycat.dbxml.XmlException: Error: XML Indexer: Parse error in document at line, 1, char 458. Parser message: Unknown element 'info', errcode = INDEXER_PARSER_ERROR

  • How to send data to a Webservice

    Hello everyone. I have a very simple example of sending data (2222) to a existing webservice as following:
    topmostSubform.Page1.SEND::click - (JavaScript, client)
    var url="http://Localhost:8080/4DWSDL";
    var serv = SOAP.connect(url);
    app.alert("hello ");
    serv.MethodeSOAP(2222);
    app.alert("hello 2");
    However, it works great in Acrobat but not in Reader. Is it possible to make it work?
    Also, although in this example the data to send is only the value 2222 but my purpose is to send all the information of the form to a webservice. Anyone has tried it before or is there any other way easier to do this? I will appreciate any suggestion from you. Thanks

    Hi,
    Data connections via web service calls will not work in Reader, unless the form has been Reader enabled in LC Reader Extensions ES2:
    I have a summary here:
    http://www.assuredynamics.com/index.php/2010/11/using-livecycle-forms-in-acrobat-and-reade r/
    Hope that helps,
    Niall
    Assure Dynamics

  • Blog Summary page as index.html

    hi,
    my web hosting server have index.html as my main page.
    is there any way i could have my blog summary page as my index page?
    all i want is the blog as my entire site, without any other pages.
    thnx

    moved the Blog page to the top of the tree.

  • Dbxml:lookup-index fails with edge-element-presence

    The custom xquery function dbxml:lookup-index seems broken for edge-element-presence indices when a namespace is specified:
    dbxml> lookupedge edge-element-presence 'http://ceridwen.us/default' node11 'http://ceridwen.us/default' node1
    1 objects returned for eager index lookup 'edge-element-presence'
    dbxml> q "declare default element namespace 'http://ceridwen.us/default'; dbxml:lookup-index('test', 'node11', 'node1')"
    0 objects returned for eager expression 'declare default element namespace 'http://ceridwen.us/default'; dbxml:lookup-index('test', 'node11', 'node1')'
    dbxml> q "declare default element namespace 'http://ceridwen.us/default'; dbxml:lookup-index('test', 'node11')"
    2 objects returned for eager expression 'declare default element namespace 'http://ceridwen.us/default'; dbxml:lookup-index('test', 'node11')'Dbxml-2.5.16, OSX 10.6.4
    Edited by: jralls on Aug 22, 2010 12:22 PM

    Is this what you need?
    dbxml> listin
    Default Index: node-element-presence-none edge-element-presence-none
    Index: node-element-equality-string node-element-equality-double for node {http://ceridwen.us/test}:dataType
    Index: node-attribute-equality-string node-attribute-equality-double for node {http://ceridwen.us/test}:elemType
    Index: node-attribute-equality-string node-attribute-equality-double for node {}:first
    Index: node-attribute-equality-string node-attribute-equality-double for node {http://ceridwen.us/test}:first
    Index: edge-attribute-equality-string node-attribute-equality-string node-attribute-equality-double for node {http://www.w3c.org/1999/xlink}:href
    Index: node-element-equality-string node-element-equality-double for node {http://ceridwen.us/test}:name
    Index: unique-node-metadata-equality-string for node {http://www.sleepycat.com/2002/dbxml}:name
    Index: node-element-equality-string node-element-equality-double for node {http://ceridwen.us/default}:node11
    Index: node-element-equality-string node-element-equality-double for node {http://ceridwen.us/default}:node12
    Index: node-element-equality-string node-element-equality-double for node {http://ceridwen.us/default2}:node2
    Index: node-element-equality-string node-element-equality-double for node {http://ceridwen.us/default}:node311
    Index: node-element-equality-string node-element-equality-double for node {http://ceridwen.us/default}:node312
    Index: node-element-equality-string node-element-equality-double for node {http://ceridwen.us/default}:node321
    Index: node-element-equality-string node-element-equality-double for node {http://ceridwen.us/default}:node322
    Index: node-element-equality-string node-element-equality-double for node {http://ceridwen.us/test}:ref
    Index: edge-attribute-equality-string node-attribute-equality-string node-attribute-equality-double for node {http://www.w3c.org/1999/xlink}:role
    Index: node-attribute-equality-string node-attribute-equality-double for node {http://www.w3c.org/1999/xlink}:second
    Index: node-attribute-equality-string node-attribute-equality-double for node {http://www.w3c.org/1999/xlink}:title
    Index: node-attribute-equality-string node-attribute-equality-double for node {http://www.w3c.org/1999/xlink}:type
    20 indexes found.This comes from
        DbXml::XmlContainer cnt = sto->getContainer();
        DbXml::XmlTransaction txn = m_mgr->createTransaction();
        try {
         DbXml::XmlUpdateContext uc = m_mgr->createUpdateContext();
         std::string xlink_uri("http://www.w3c.org/1999/xlink");
         std::string href("href");
         std::string role("role");
         std::string attr_eq("edge-attribute-equality-string");
         std::string node_pr("edge-element-presence-none");
         cnt.addIndex(txn, xlink_uri, href, attr_eq, uc);
         cnt.addIndex(txn, xlink_uri, role, attr_eq, uc);
         cnt.addDefaultIndex(txn, node_pr, uc);
         txn.commit();
        catch(DbXml::XmlException& e) {
         logError() << "XmlStorage: Opening container  " << name.sstr() << "  threw "
                 << e.what() << endl;
         throw;
        }There are only two documents in the container:
    <t:TestDoc xmlns:t="http://ceridwen.us/test" t:first="an attribute" xmlns:xlink="http://www.w3c.org/1999/xlink" xlink:second="another attribute">
       This is the root node of a test document
       <t:name>The Test Document</t:name>
       <t:dataType>TestDocument</t:dataType>
       <node1 xmlns="http://ceridwen.us/default" first="a node attribute">This element has 2 subnodes
           <node11>This is the first element under node 1</node11>
           <node12>This is the second element under node 1</node12>
       </node1>
       <node2 xmlns="http://ceridwen.us/default2">This element has three text nodes</node2>
       <node2 xmlns="http://ceridwen.us/default2">This is the second text node</node2>
       <node2 xmlns="http://ceridwen.us/default2">This element is the last one</node2>
       <Table xmlns="http://ceridwen.us/default">
          <t:DataRow t:elemType="Instance">
             <node311>First List Element</node311>
             <node312>Second List Element</node312>
          </t:DataRow>
          <t:DataRow t:elemType="Instance">
             <node321>Another First List Element</node321>
             <node322>Another Second List Element</node322>
          </t:DataRow>
       </Table>
       <?XmlStorage-html default-html?>
       <!--This is a gratuitous comment for testing.-->
    </t:TestDoc>
    <t:TestDoc xmlns:t="http://ceridwen.us/test" t:first="an attribute" xmlns:xlink="http://www.w3c.org/1999/xlink" xlink:second="another attribute">
       This is the root node of a test document
       <t:name>The Test Document</t:name>
       <t:dataType>TestDocument</t:dataType>
       <node1 xmlns="http://ceridwen.us/default" first="a node attribute">
          This element has 2 subnodes
          <node11>This is the first element under node 1</node11>
          <node12>This is the second element under node 1</node12>
       </node1>
       <node2 xmlns="http://ceridwen.us/default2">This element has three text nodes</node2>
       <node2 xmlns="http://ceridwen.us/default2">This is the second text node</node2>
       <node2 xmlns="http://ceridwen.us/default2">This element is the last one</node2>
       <Table xmlns="http://ceridwen.us/default">
          <t:DataRow t:elemType="Instance">
             <node311>First List Element</node311>
             <node312>Second List Element</node312>
          </t:DataRow>
          <t:DataRow t:elemType="Instance">
             <node321>Another First List Element</node321>
             <node322>Another Second List Element</node322>
          </t:DataRow>
       </Table>
       <?XmlStorage-html default-html?>
       <!--This is a gratuitous comment for testing.-->
       <t:ref xlink:href="dbxml:/test/The%20Test%20Document00000001" xlink:role="data:text/plain,reference" xlink:title="The Test Document"xlink:type="simple"/>
    </t:TestDoc>(Aside: It would be really nice if the dbxml shell's print command had a "pretty" option!)

Maybe you are looking for