Determining Where Hits Were Found (XML Section Groups)

Hello all,
Hoping for a bit of help. It's my first time posting here, but I've benefitted from reading a lot of your posts. I have created a single Oracle Text index for a resume database of sorts. It utilizes a user datastore. The procedure I use gathers a a single user's information in my database and organizes it via XML tags that are assigned in the procedure - outputs a CLOB. I did this in order to try the AUTO SECTION GROUP option when indexing, so that I could use the WITHIN operator.
So, for example, the procedure is given the rowid for a single employee, and the output may be:
<ALL>
<PERSONAL>
83019
John Smith
10/05/1973
Baltimore, MD
</PERSONAL>
<SKILLS>
Oracle Database Administrator
.NET Developer
</SKILLS>
</ALL>
My problem is I wish to know the SPECIFIC section groups where hits were registered if I search all of the XML
SELECT EMPLOYEE_ID
FROM EMPLOYEE_TBL
WHERE CONTAINS (DUMMY_COLUMN, 'developer WITHIN ALL', 1) > 0
ORDER BY SCORE (1) DESC
My output is:
EMPLOYEE_ID
83019
Is there any way I can also list the sections where hits were registered for this user? In this example, I'd want the "SKILLS" section to show up in the result set.

skMed,
Yes, that is a problem. Alternatives are the first method using UNION ALL or creating a MATERIALIZED VIEW and indexing that, similar to what I demonstrated to the other poster on this thread, or CTX_DOC.HIGHLIGHT as Roger said. I have provided a demonstration of the problem below, followed by an alternative solution that uses CTX_DOC.HIGHLIGHT as Roger suggested. I used a function but Roger may have a more elegant method.
SCOTT@orcl_11g> CREATE TABLE employee_tbl
  2    (employee_id  NUMBER,
  3       fname          VARCHAR2 (7),
  4       lname          VARCHAR2 (7),
  5       dob          DATE,
  6       city          VARCHAR2 (9),
  7       state          VARCHAR2 (2),
  8       dummy_column VARCHAR2 (1),
  9       CONSTRAINT emp_id_pk PRIMARY KEY (employee_id))
10  /
Table created.
SCOTT@orcl_11g> CREATE TABLE skills
  2    (employee_id  NUMBER,
  3       skill          VARCHAR2 (30),
  4       CONSTRAINT skills_id_fk FOREIGN KEY (employee_id) REFERENCES employee_tbl (employee_id))
  5  /
Table created.
SCOTT@orcl_11g> CREATE TABLE jobs
  2    (employee_id  NUMBER,
  3       job          VARCHAR2 (30),
  4       CONSTRAINT job_id_fk FOREIGN KEY (employee_id) REFERENCES employee_tbl (employee_id))
  5  /
Table created.
SCOTT@orcl_11g> BEGIN
  2    INSERT INTO employee_tbl VALUES
  3        (1, 'Adam', NULL, NULL, NULL, NULL, NULL);
  4    INSERT INTO employee_tbl VALUES
  5        (2, 'Bob', NULL, NULL, NULL, NULL, NULL);
  6    INSERT INTO employee_tbl VALUES
  7        (3, 'Charles', NULL, NULL, NULL, NULL, NULL);
  8    INSERT INTO employee_tbl VALUES
  9        (4, 'David', NULL, NULL, NULL, NULL, NULL);
10    INSERT INTO skills VALUES (1, 'OTHERS');
11    INSERT INTO skills VALUES (2, '.NET');
12    INSERT INTO skills VALUES (3, 'OTHERS');
13    INSERT INTO skills VALUES (4, '.NET');
14    INSERT INTO jobs   VALUES (1, '.NET');
15    INSERT INTO jobs   VALUES (2, 'OTHERS');
16    INSERT INTO jobs   VALUES (3, '.NET');
17    INSERT INTO jobs   VALUES (4, '.NET');
18  END;
19  /
PL/SQL procedure successfully completed.
SCOTT@orcl_11g> CREATE OR REPLACE PROCEDURE resume
  2    (p_rowid IN     ROWID,
  3       p_clob     IN OUT CLOB)
  4  AS
  5  BEGIN
  6    FOR e IN
  7        (SELECT employee_id,
  8             employee_id || ' ' || fname || ' ' || lname || ' ' || dob || ' '
  9             || city || ',     ' || state AS personal
10         FROM      employee_tbl
11         WHERE  ROWID = p_rowid)
12    LOOP
13        DBMS_LOB.WRITEAPPEND (p_clob, 10, '<PERSONAL>');
14        DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (e.personal), e.personal);
15        DBMS_LOB.WRITEAPPEND (p_clob, 11, '</PERSONAL>');
16        DBMS_LOB.WRITEAPPEND (p_clob, 8, '<SKILLS>');
17        FOR s IN (SELECT skill FROM skills WHERE employee_id = e.employee_id) LOOP
18          DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (s.skill) + 1, s.skill || ' ');
19        END LOOP;
20        DBMS_LOB.WRITEAPPEND (p_clob, 9, '</SKILLS>');
21        DBMS_LOB.WRITEAPPEND (p_clob, 12, '<JOBHISTORY>');
22        FOR j IN (SELECT job FROM jobs WHERE employee_id = e.employee_id) LOOP
23          DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (j.job) + 1, j.job || ' ');
24        END LOOP;
25        DBMS_LOB.WRITEAPPEND (p_clob, 13, '</JOBHISTORY>');
26    END LOOP;
27  END resume;
28  /
Procedure created.
SCOTT@orcl_11g> SHOW ERRORS
No errors.
SCOTT@orcl_11g> BEGIN
  2    CTX_DDL.CREATE_PREFERENCE ('your_datastore', 'USER_DATASTORE');
  3    CTX_DDL.SET_ATTRIBUTE ('your_datastore', 'PROCEDURE', 'resume');
  4    CTX_DDL.CREATE_SECTION_GROUP ('your_sec_group', 'XML_SECTION_GROUP');
  5    CTX_DDL.ADD_FIELD_SECTION ('your_sec_group', 'PERSONAL', '<PERSONAL>', TRUE);
  6    CTX_DDL.ADD_FIELD_SECTION ('your_sec_group', 'SKILLS', '<SKILLS>', TRUE);
  7    CTX_DDL.ADD_FIELD_SECTION ('your_sec_group', 'JOBHISTORY', '<JOBHISTORY>', TRUE);
  8  END;
  9  /
PL/SQL procedure successfully completed.
SCOTT@orcl_11g> CREATE INDEX resume_idx ON employee_tbl (dummy_column)
  2  INDEXTYPE IS CTXSYS.CONTEXT
  3  PARAMETERS
  4    ('DATASTORE     your_datastore
  5        SECTION GROUP     your_sec_group
  6        STOPLIST     CTXSYS.EMPTY_STOPLIST')
  7  /
Index created.
SCOTT@orcl_11g> CREATE OR REPLACE FUNCTION list_element
  2    (p_string     VARCHAR2,
  3       p_element    INTEGER,
  4       p_separator  VARCHAR2 DEFAULT ':')
  5    RETURN          VARCHAR2
  6  AS
  7    v_string      VARCHAR2 (32767);
  8  BEGIN
  9    v_string := p_separator || p_string || p_separator;
10    v_string := SUBSTR (v_string, INSTR (v_string, p_separator, 1, p_element) + LENGTH (p_separator));
11    RETURN SUBSTR (v_string, 1, INSTR (v_string, p_separator) - 1);
12  END list_element;
13  /
Function created.
SCOTT@orcl_11g> SELECT * FROM employee_tbl ORDER BY employee_id
  2  /
EMPLOYEE_ID FNAME   LNAME   DOB       CITY      ST D
          1 Adam
          2 Bob
          3 Charles
          4 David
SCOTT@orcl_11g> SELECT * FROM skills ORDER BY employee_id
  2  /
EMPLOYEE_ID SKILL
          1 OTHERS
          2 .NET
          3 OTHERS
          4 .NET
SCOTT@orcl_11g> SELECT * FROM jobs ORDER BY employee_id
  2  /
EMPLOYEE_ID JOB
          1 .NET
          2 OTHERS
          3 .NET
          4 .NET
SCOTT@orcl_11g> COLUMN ixv_value    FORMAT A26
SCOTT@orcl_11g> COLUMN from_section FORMAT A15
SCOTT@orcl_11g> SELECT ixv_value,
  2           list_element (ixv_value, 1) AS from_section,
  3           TO_NUMBER (list_element (ixv_value, 3)) AS token_type
  4  FROM   ctx_user_index_values
  5  WHERE  ixv_index_name = 'RESUME_IDX'
  6  AND    ixv_class = 'SECTION_GROUP'
  7  /
IXV_VALUE                  FROM_SECTION     TOKEN_TYPE
SKILLS:SKILLS:17:Y         SKILLS                   17
PERSONAL:PERSONAL:16:Y     PERSONAL                 16
JOBHISTORY:JOBHISTORY:18:Y JOBHISTORY               18
SCOTT@orcl_11g> COLUMN token_info FORMAT A30 WORD_WRAPPED
SCOTT@orcl_11g> SELECT token_text, token_type, token_first, token_last, token_count
  2  FROM   dr$resume_idx$i
  3  WHERE  token_text = 'NET'
  4  /
TOKEN_TEXT       TOKEN_TYPE TOKEN_FIRST TOKEN_LAST TOKEN_COUNT
NET                       0           1          4           4
NET                      17           2          4           2
NET                      18           1          4           3
SCOTT@orcl_11g> -- problem:
SCOTT@orcl_11g> SELECT t.employee_id, t.fname,
  2           SCORE (1),
  3           list_element (v.ixv_value, 1) AS from_section
  4  FROM   employee_tbl t, dr$resume_idx$i i, dr$resume_idx$k k, ctx_user_index_values v
  5  WHERE  CONTAINS (t.dummy_column, '.NET%', 1) > 0
  6  AND    i.token_text = 'NET'
  7  AND    i.token_type = TO_NUMBER (list_element (v.ixv_value, 3))
  8  AND    k.docid BETWEEN i.token_first AND i.token_last
  9  AND    k.textkey = t.ROWID
10  ORDER  BY t.employee_id
11  /
EMPLOYEE_ID FNAME     SCORE(1) FROM_SECTION
          1 Adam             3 JOBHISTORY
          2 Bob              3 JOBHISTORY
          2 Bob              3 SKILLS
          3 Charles          3 SKILLS
          3 Charles          3 JOBHISTORY
          4 David            6 JOBHISTORY
          4 David            6 SKILLS
7 rows selected.
SCOTT@orcl_11g> -- alternative solution:
SCOTT@orcl_11g> CREATE OR REPLACE FUNCTION from_section
  2    (p_emp_id IN VARCHAR2,
  3       p_text      IN VARCHAR2,
  4       p_rowid  IN ROWID)
  5    RETURN VARCHAR2
  6  AS
  7       hightab   ctx_doc.highlight_tab;
  8       v_clob       CLOB;
  9       v_clob2   CLOB;
10       v_section VARCHAR2 (32767);
11       v_result  VARCHAR2 (32767);
12  BEGIN
13    CTX_DOC.HIGHLIGHT ('resume_idx', p_emp_id, p_text, hightab, FALSE);
14    DBMS_LOB.CREATETEMPORARY (v_clob, TRUE);
15    DBMS_LOB.CREATETEMPORARY (v_clob2, TRUE);
16    resume (p_rowid, v_clob);
17    FOR i IN 1 .. hightab.COUNT LOOP
18        v_clob2 := SUBSTR (v_clob, 1, hightab(i).offset);
19        v_clob2 := SUBSTR (v_clob2, 1, INSTR (v_clob2, '>', -1) - 1);
20        v_section := SUBSTR (v_clob2, INSTR (v_clob2, '<', -1) + 1);
21        v_result := v_result || ',' || v_section;
22    END LOOP;
23    DBMS_LOB.FREETEMPORARY (v_clob);
24    DBMS_LOB.FREETEMPORARY (v_clob2);
25    RETURN LTRIM (v_result, ',');
26  END from_section;
27  /
Function created.
SCOTT@orcl_11g> SHOW ERRORS
No errors.
SCOTT@orcl_11g> COLUMN from_section FORMAT A60 WORD_WRAPPED
SCOTT@orcl_11g> SELECT t.employee_id, t.fname, SCORE (1),
  2           from_section (employee_id, '.NET%', ROWID) AS from_section
  3  FROM   employee_tbl t
  4  WHERE  CONTAINS (t.dummy_column, '.NET%', 1) > 0
  5  ORDER  BY t.employee_id
  6  /
EMPLOYEE_ID FNAME     SCORE(1) FROM_SECTION
          1 Adam             3 JOBHISTORY
          2 Bob              3 SKILLS
          3 Charles          3 JOBHISTORY
          4 David            6 SKILLS,JOBHISTORY
SCOTT@orcl_11g>

Similar Messages

  • Problem in creating xml section group

    I have created xml section group with some sections defined in the field.Now my attributes are repeated with different root nodes.so i have put braces for differentiation and created context index.
    drop index abc_indexes_idx;
    begin
    ctx_ddl.remove_section('xyz_xml_group','abLName');
    ctx_ddl.remove_section('xyz_xml_group','abFName');
    ctx_ddl.remove_section('xyz_xml_group','cdLName');
    ctx_ddl.remove_section('xyz_xml_group','cdFName');
    ctx_ddl.remove_section('xyz_xml_group','efLName');
    ctx_ddl.remove_section('xyz_xml_group','efFName');
    ctx_ddl.remove_section('xyz_xml_group','ghLName');
    ctx_ddl.remove_section('xyz_xml_group','ghFName');
    end;
    begin
    ctx_ddl.drop_section_group('xyz_xml_group');
    end;
    begin
    ctx_ddl.drop_preference('xyz_wildcard_pref1');
    end;
    begin
    ctx_ddl.drop_preference('xyz_lexer_pref1');
    end;
    begin
    ctx_ddl.drop_preference('STEM_FUZZY_PREF');
    end;
    begin
    ctx_ddl.create_section_group('xyz_xml_group','XML_SECTION_GROUP');
    ctx_ddl.add_field_section('xyz_xml_group','abLName','IncidentSubject(PersonGivenName');
    ctx_ddl.add_field_section('xyz_xml_group','abFName','IncidentSubject(PersonSurName');
    ctx_ddl.add_field_section('xyz_xml_group','cdLName','ActivityVictim(PersonGivenName');
    ctx_ddl.add_field_section('xyz_xml_group','cdFName','ActivityVictim(PersonSurName');
    ctx_ddl.add_field_section('xyz_xml_group','efLName','ActivityComplainantPerson(PersonGivenName');
    ctx_ddl.add_field_section('xyz_xml_group','efFName','ActivityComplainantPerson(PersonSurName');
    ctx_ddl.add_field_section('xyz_xml_group','ghLName','ActivityWitness(PersonGivenName');
    ctx_ddl.add_field_section('xyz_xml_group','ghFName','ActivityWitness(PersonSurName');
    end;
    begin
    ctx_ddl.create_preference('STEM_FUZZY_PREF','BASIC_WORDLIST');
    ctx_ddl.set_attribute('STEM_FUZZY_PREF','SUBSTRING_INDEX','TRUE');
    end;
    begin
    ctx_ddl.set_attribute('STEM_FUZZY_PREF','PREFIX_INDEX','YES');
    end;
    begin
    ctx_ddl.create_preference('njdex_lexer_pref1','BASIC_LEXER');
    ctx_ddl.set_attribute('STEM_FUZZY_PREF','WILDCARD_MAXTERMS','15000');
    end;
    drop index xyz_indexes_idx
    create index xyz_indexes_idx on xyz_INDEXES(abc column) indextype is ctxsys.context parameters
    ('datastore ctxsys.direct_datastore wordlist STEM_FUZZY_PREF FILTER ctxsys.null_filter lexer xyz_lexer_pref1
    sync(on commit)SECTION GROUP xyz_xml_group MEMORY 500M ');
    My XML document is as follows whichi stored in a column of abc and it is of xmltype datatype
    <?xml version="1.0" encoding="utf-8"?>
    <ab:IncidentReportGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j="http://www.it.ojp.gov/jxdm/3.0.3" xmlns:ext="http://xml.abc.com/jxdm/3.0.3/extension" xmlns:ab="http://xml.abc.com/jxdm/3.0.3">
    <ab:IncidentReport>
    <ext:IncidentSubject>
    <j:PersonName>
    <j:PersonGivenName>abc</j:PersonGivenName>
    <j:PersonMiddleName />
    <j:PersonSurName>xyz</j:PersonSurName>
    <j:PersonSuffixName />
    <j:PersonFullName>abc, xyz </j:PersonFullName>
    </j:PersonName>
    </ext:IncidentSubject>
    <ext:ActivityComplainantPerson>
    <j:PersonName>
    <j:PersonGivenName>abc</j:PersonGivenName>
    <j:PersonMiddleName />
    <j:PersonSurName>xyz</j:PersonSurName>
    <j:PersonSuffixName />
    <j:PersonFullName>abc, xyz </j:PersonFullName>
    </j:PersonName>
    </ext:ActivityComplainantPerson>
    <ext:ActivityWitness>
    <j:PersonName>
    <j:PersonGivenName>abc</j:PersonGivenName>
    <j:PersonMiddleName />
    <j:PersonSurName>xyz</j:PersonSurName>
    <j:PersonSuffixName />
    <j:PersonFullName>abc, xyz </j:PersonFullName>
    </j:PersonName>
    </ext:ActivityWitness>
    <ext:ActivityVictim>
    <j:PersonName>
    <j:PersonGivenName>abc</j:PersonGivenName>
    <j:PersonMiddleName />
    <j:PersonSurName>xyz</j:PersonSurName>
    <j:PersonSuffixName />
    <j:PersonFullName>abc, xyz </j:PersonFullName>
    </j:PersonName>
    </ext:ActivityVictim>
    <ext:ActivityWitness>
    </ab:IncidentReport>
    </ab:IncidentReportGroup>
    now when i am trying to run the query
    select * from xyz_indexes where contains(xyzcolumn,'(LORI WITHIN abLName)
    & ("BELAND" WITHIN abFName)')>0
    It is not returning anything.
    Can anyone provide me some help on it.

    I changed your data to match what you were searching for, then I noticed that your third parameters for add_field_section were wrong, so I changed that. The query then returns rows, as demonstrated below. However, I suspect that add_field_section is not what you want to use with your XML data since you have tags with the same names within different categories.
    SCOTT@orcl_11g> SET DEFINE OFF
    SCOTT@orcl_11g> begin
      2    ctx_ddl.drop_section_group('xyz_xml_group');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.drop_preference('xyz_lexer_pref1');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.drop_preference('STEM_FUZZY_PREF');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_section_group('xyz_xml_group','XML_SECTION_GROUP');
      3    ctx_ddl.add_field_section('xyz_xml_group','abLName','j:PersonGivenName');
      4    ctx_ddl.add_field_section('xyz_xml_group','abFName','j:PersonSurName');
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_preference('STEM_FUZZY_PREF','BASIC_WORDLIST');
      3    ctx_ddl.set_attribute('STEM_FUZZY_PREF','SUBSTRING_INDEX','TRUE');
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.set_attribute('STEM_FUZZY_PREF','PREFIX_INDEX','YES');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_preference('xyz_lexer_pref1','BASIC_LEXER');
      3    ctx_ddl.set_attribute('STEM_FUZZY_PREF','WILDCARD_MAXTERMS','15000');
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> drop index xyz_indexes_idx
      2  /
    Index dropped.
    SCOTT@orcl_11g> DROP TABLE xyz_indexes
      2  /
    Table dropped.
    SCOTT@orcl_11g> CREATE TABLE xyz_indexes
      2    (xyzcolumn  XMLTYPE)
      3  /
    Table created.
    SCOTT@orcl_11g> INSERT INTO xyz_indexes VALUES
      2  (XMLTYPE (
      3  '<?xml version="1.0" encoding="utf-8"?>
      4  <ab:IncidentReportGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j="http://www.it.ojp.gov/jxdm/3.0.3" xmlns:ext="http://xml.abc.com/jxdm/3.0.3/extension" xmlns:ab="http://xml.abc.com/jxdm/3.0.3">
      5    <ab:IncidentReport>
      6        <ext:IncidentSubject>
      7          <j:PersonName>
      8            <j:PersonGivenName>LORI</j:PersonGivenName>
      9            <j:PersonMiddleName />
    10            <j:PersonSurName>"BELAND"</j:PersonSurName>
    11            <j:PersonSuffixName />
    12            <j:PersonFullName>abc, xyz </j:PersonFullName>
    13          </j:PersonName>
    14        </ext:IncidentSubject>
    15        <ext:ActivityComplainantPerson>
    16          <j:PersonName>
    17            <j:PersonGivenName>abc</j:PersonGivenName>
    18            <j:PersonMiddleName />
    19            <j:PersonSurName>xyz</j:PersonSurName>
    20            <j:PersonSuffixName />
    21            <j:PersonFullName>abc, xyz </j:PersonFullName>
    22          </j:PersonName>
    23        </ext:ActivityComplainantPerson>
    24        <ext:ActivityWitness>
    25          <j:PersonName>
    26            <j:PersonGivenName>abc</j:PersonGivenName>
    27            <j:PersonMiddleName />
    28            <j:PersonSurName>xyz</j:PersonSurName>
    29            <j:PersonSuffixName />
    30            <j:PersonFullName>abc, xyz </j:PersonFullName>
    31          </j:PersonName>
    32        </ext:ActivityWitness>
    33        <ext:ActivityVictim>
    34          <j:PersonName>
    35            <j:PersonGivenName>abc</j:PersonGivenName>
    36            <j:PersonMiddleName />
    37            <j:PersonSurName>xyz</j:PersonSurName>
    38            <j:PersonSuffixName />
    39            <j:PersonFullName>abc, xyz </j:PersonFullName>
    40          </j:PersonName>
    41        </ext:ActivityVictim>
    42    </ab:IncidentReport>
    43  </ab:IncidentReportGroup>'
    44  ))
    45  /
    1 row created.
    SCOTT@orcl_11g> create index xyz_indexes_idx on xyz_INDEXES(xyzcolumn) indextype is ctxsys.context parameters
      2  ('datastore ctxsys.direct_datastore wordlist STEM_FUZZY_PREF FILTER ctxsys.null_filter lexer xyz_lexer_pref1
      3  sync(on commit)SECTION GROUP xyz_xml_group MEMORY 500M ')
      4  /
    Index created.
    SCOTT@orcl_11g> select * from xyz_indexes where contains(xyzcolumn,'(LORI WITHIN abLName)
      2  & ("BELAND" WITHIN abFName)')>0
      3  /
    XYZCOLUMN
    <?xml version="1.0" encoding="utf-8"?>
    <ab:IncidentReportGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xm
    lns:j="http://www.it.ojp.gov/jxdm/3.0.3" xmlns:ext="http://xml.abc.com/jxdm/3.0.
    3/extension" xmlns:ab="http://xml.abc.com/jxdm/3.0.3">
      <ab:IncidentReport>
        <ext:IncidentSubject>
          <j:PersonName>
            <j:PersonGivenName>LORI</j:PersonGivenName>
            <j:PersonMiddleName />
            <j:PersonSurName>"BELAND"</j:PersonSurName>
            <j:PersonSuffixName />
            <j:PersonFullName>abc, xyz </j:PersonFullName>
          </j:PersonName>
        </ext:IncidentSubject>
        <ext:ActivityComplainantPerson>
          <j:PersonName>
            <j:PersonGivenName>abc</j:PersonGivenName>
            <j:PersonMiddleName />
            <j:PersonSurName>xyz</j:PersonSurName>
            <j:PersonSuffixName />
            <j:PersonFullName>abc, xyz </j:PersonFullName>
          </j:PersonName>
        </ext:ActivityComplainantPerson>
        <ext:ActivityWitness>
          <j:PersonName>
            <j:PersonGivenName>abc</j:PersonGivenName>
            <j:PersonMiddleName />
            <j:PersonSurName>xyz</j:PersonSurName>
            <j:PersonSuffixName />
            <j:PersonFullName>abc, xyz </j:PersonFullName>
          </j:PersonName>
        </ext:ActivityWitness>
        <ext:ActivityVictim>
          <j:PersonName>
            <j:PersonGivenName>abc</j:PersonGivenName>
            <j:PersonMiddleName />
            <j:PersonSurName>xyz</j:PersonSurName>
            <j:PersonSuffixName />
            <j:PersonFullName>abc, xyz </j:PersonFullName>
          </j:PersonName>
        </ext:ActivityVictim>
      </ab:IncidentReport>
    </ab:IncidentReportGroup>
    SCOTT@orcl_11g>

  • XML Section Group(INPATH)

    I have the below 2 xml files. When i am trying to query using inpath the pattern matches for both xmls and so pulls the data from both the xml's but i want to grab the data from xml1 which is Exact matching data.
    The query pulls the data even if it finds single match from all xml files not the exact match .
    So, can anyone provide the solution for this would be really appreciated.
    XML 01:
    <A>
    <B>
    <C>value0</C>
    <D>value1</D>
    </B>
    </A>
    XML 02:
    <A>
    <B>
    <C>value0</C>
    </B>
    <B>
    <D>value1</D>
    </B>
    </A>
    contains(xml_doc, 'value0 INPATH (//B/C)) & value0 INPATH (//B/C))' > 0

    Sorry,
    I posted the wrong sample xml.Please check the correct xml's below:
    XML 01:
    <A>
    <B>
    <C>value0</C>
    <D>value1</D>
    </B>
    </A>
    XML 02:
    <A>
    <B>
    <C>value0</C>
    </B>
    <B>
    <D>value1</D>
    </B>
    </A>
    contains(xml_doc, 'value0 INPATH (//B/C)) & value0 INPATH (//B/C))' > 0

  • No batches/stocks were found - determination is performed online MFBF

    Hi Gurus,
    Can anybody please help me why we are getting this message in MFBF.
    When the user is trying to turn in production for material A in MFBF, and when they hit post with correction in the home screen of MFBF, in the next screen the system gives a message "No batches/stocks were found - (Batch) determination is performed online" . In this screen we have the component B under the material A which was entered in the first screen. Part B is batch managed, and there are batches also in the system, but the system is not automatically picking up the batches for part B. Why is this happening?
    Thanks
    Anusha

    dear Anusha
    please look here:
    http://help.sap.com/saphelp_47x200/helpdata/en/25/283aac4f7811d18a150000e816ae6e/frameset.htm
    focus your attention into Production (PP/PP-PI) -  Batch Determination in Production/Manufacturing
    just click on that link

  • No batches/stocks were found (Batch) determination is performed online erro

    Hi Gurus,
    Can anybody please help me with this. When the user is trying to turn in production for material A in MFBF, and when they hit post with backflush, the system gives a message No batches/stocks were found - (Batch) determination is performed online in the next screen. In this screen we have the component B under the materia lA which was entered in the first screen. Part B is batch managed, and there are batched also in the system, but the dettermination is not occuring.
    Thanks
    Anusha

    dear Anusha
    please look here:
    http://help.sap.com/saphelp_47x200/helpdata/en/25/283aac4f7811d18a150000e816ae6e/frameset.htm
    focus your attention into Production (PP/PP-PI) -  Batch Determination in Production/Manufacturing
    just click on that link

  • BAM-06008: The XML payload is invalid; extra contents were found.

    Hi All,
    Version:11.1.1.6
    We are getting the BAM Error: "BAM-06008: The XML payload is invalid; extra contents were found" after I added a another field to a BAM Object.I have added that extra field to corresponding data objects .wsdl file as well as in the .xsd. I can see the new field in the BAM DO. However, when I used to send a payload with the newly added field it fails with the above error. However, if I add a new data object in BAM with the field it works fine.
    Why  am  I getting this error?
    Thanks,
    Rahul

    I have followed the following steps:-
    1.Make entry of new field in ".wsdl" file which is in the BAM folder.
    2.Make entry of new filed in ".xsd" file.
    3.Make appropriate mappings in ".xsl" file corresponding to the sensor's action.
    Initially i was only restarting BAM and was facing above mentioned error. After restarting SOA as well as BAM server, it started working.

  • How can I determine where to publish each comment in my website?

    How can I determine where to publish each comment in my website?
    I have one form for the comments, but I want to show them in different webpages depending on the user choice
    for example, I created 6 pages blue circle, pink circle,  green circle, blue square, pink square, and green square,so  the user chooses pink or blue or green from one menu and circle or square from another menu which determine which page it will be displayed on.
    you can see the form on the bottom of this website  www.assori.com
    thanks for any help

    It's my fault, I lost you there.
    See I wrote the steps as they were in  "Adobe Help" so please forget about the last comment.
    I chose the "advanced mode" because I have more than one menu to filter (shape and color) 
    lets say I want the comments on my website to be displayed conditionaly, and I have two lists one for colors (blue and pink) and other for shapes (square and circle), 
    So I'm going to have four pages each page has its own recordset, let's say now I want to filter the recordset for (Blue Circle) page 
    I don't know how to do it but by following the steps in Dreamweaver help: 
    -Select name, and click the Select button. 
    -Select content, and click the Select button. 
    -Select shape, and click the Where button. 
    -Select section, and click the Where button. 
    -Select time, and click the Order By button. 
    this is how the SQL statement look likes:
    SELECT mytable.name, mytable.contents
    FROM mytable
    WHERE mytable.shape='circle' AND mytable.`section`='blue'
    ORDER BY mytable.hdw_serverTime 
    then to Define the variables 'circle' and 'blue' :
    by clicking the Plus (+) button in the Variables area and entering the following values in the Name, Default Value, and Run-Time Value columns:
    circle,square,Request("circle")
    blue,blue,Request("blue") 
    Also I understand that I have to define a parameter but which (URL or Form) and how?  I don't know 

  • WCS#2009.10.20.11.20.34: No matching users were found with search string ..

    Hi,
    I setup my webcenter spaces using OID. I used the console application to setup OIDAuthenticator. I can see OID users and groups in the console application. I can also login to webcenter spaces using any of the OID user. But when I try to create a page in webcenter spaces I get error
    WCS#2009.10.20.11.20.34: No matching users were found with search string ..
    Also, when I try to change permission grants for a given page in webcenter spaces using 'Set Page Access' I cannot search for any of the OID users.
    I have modified my jps-config.xml to add
         <property name="username.attr" value="uid"/>
    <property name="user.login.attr" value="uid"/>
    inside the 'idstore.ldap' serverInstance as mentioned in the document. But stilll it does not work.
    Can anybody help me..
    I see the following error in my WLS_Spaces-diagnostic.log
    [2009-10-20T11:20:34.203-05:00] [WLS_Spaces] [ERROR] [] [oracle.webcenter.webcenterapp] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: executive] [ecid: 0000IHmjzSbFg4WFLzyGOA1ArTye00000E,0] [APP: webcenter] WCS#2009.10.20.11.20.34: No matching users were found with search string executive
    [2009-10-20T11:20:34.203-05:00] [WLS_Spaces] [ERROR] [] [oracle.webcenter.webcenterapp] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: executive] [ecid: 0000IHmjzSbFg4WFLzyGOA1ArTye00000E,0] [APP: webcenter] [[
    oracle.webcenter.webcenterapp.security.WCSecurityException: No matching users were found with search string executive
         at oracle.webcenter.webcenterapp.model.security.WebCenterSecurityUtils.getPrincipal(WebCenterSecurityUtils.java:494)
         at oracle.webcenter.webcenterapp.model.security.WebCenterSecurityUtils.getUserPrincipal(WebCenterSecurityUtils.java:377)
         at oracle.webcenter.webcenterapp.internal.view.shell.WebCenterPagesManagerImpl._grantCustomPermission(WebCenterPagesManagerImpl.java:650)
         at oracle.webcenter.webcenterapp.internal.view.shell.WebCenterPagesManagerImpl.createPersonalPage(WebCenterPagesManagerImpl.java:582)
         at oracle.webcenter.webcenterapp.internal.view.backing.BoilerplateBean._createPage(BoilerplateBean.java:818)
         at oracle.webcenter.webcenterapp.internal.view.backing.BoilerplateBean.clickCreatePageFromWizard(BoilerplateBean.java:947)
         at oracle.webcenter.webcenterapp.internal.view.backing.BoilerplateBean.clickCreatePageFromWizard(BoilerplateBean.java:929)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1282)
         at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:81)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:145)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:145)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:81)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:787)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:280)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPageRedirectionFilter.doFilter(WebCenterShellPageRedirectionFilter.java:210)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellFilter.doFilter(WebCenterShellFilter.java:603)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.processFilters(WebCenterLocaleWrapperFilter.java:256)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:228)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.security.idm.ObjectNotFoundException: No User found matching the criteria
         at oracle.security.idm.providers.stdldap.util.DirectSearchResponse.initSearch(DirectSearchResponse.java:171)
         at oracle.security.idm.providers.stdldap.util.NonPagedSearchResponse.<init>(NonPagedSearchResponse.java:52)
         at oracle.security.idm.providers.stdldap.util.NonPagedSearchResponse.<init>(NonPagedSearchResponse.java:43)
         at oracle.security.idm.providers.stdldap.util.LDAPRealm.searchUsers(LDAPRealm.java:480)
         at oracle.security.idm.providers.stdldap.LDIdentityStore.search(LDIdentityStore.java:265)
         at oracle.security.idm.providers.stdldap.LDIdentityStore.searchUsers(LDIdentityStore.java:358)
         at oracle.webcenter.framework.service.Utility.getUserFromUserName(Utility.java:571)
         at oracle.webcenter.webcenterapp.model.security.WebCenterSecurityUtils.searchUser(WebCenterSecurityUtils.java:315)
         at oracle.webcenter.webcenterapp.model.security.WebCenterSecurityUtils.getPrincipal(WebCenterSecurityUtils.java:486)

    I have run dead smack into this issue using AD also. Is there a solution? I have tried all of the options for the following settings which seem to control the look up process:
    <property name="username.attr" value="cn"/>
    <property name="user.login.attr" value="sAMAcountName"/>.
    For me, this issue rears its ugly head when attempting to add a role to an AD user. I can enter the login name in the find user box, click the find button, and the user is found. I select the user, pick the role, click "Add Member(s)", and then bam "No matching users were found with search string <login user>" message.
    Based on my analysis of the problem, my guess would be that the look up process, which works, differs from the role assignment process in source of data and/or the key-field used to find a match.
    Any help would be greatly appreciated.
    Thanks In Advance.

  • CS4:  "Critical errors were found in setup. Please see the setup log for details" !!

    I am using Win XP Pro SP3. I have CS3 installed, and successfully installed Dreamweaver, Fireworks and Flash from CS4 Design Premium. Then I successfully uninstalled DW, FW and FL CS3.
    When I tried to open a SWF in Illustrator it failed to open, and then I tried to create a really simple SWF (a rectangle) by exporting from Illustrator and tried to open that and it also failed. Whenever I tried to open or place ANY SWF into Illustrator I get a "file *** is in an unknown format and cannot be opened" error.
    I decided there must be a corrupt file, maybe the upgrade must have affected some Illustrator files, so I tried to repair the CS3 installation. After over 2 hours of INTENSE FRUSTRATION having to constantly switch CS3 and CS4 disks many MANY times, the installation failed, listing "common files" that were missing from non-existent folders such as "C:\Documents and Settings\[username]\Desktop\Adobe CS4\Fireworks CS4\payloads\etc
    When I tried to repair the CS4 installation after loading all the profile settings it errors before the installation window comes up, with "Critical errors were found in setup. Please see the setup log for details". Then it shuts down the installer. I then tried to do a system restore and system restore failed on all restore points!
    Please help:
    1. Where is "the setup log"?
    2. Will creating and populating the folders mentioned in the failed CS3 installation from the CS4 disk allow it to work?
    3. How can I uninstall CS4 if I can't even get to the installation window?
    4. Has Adobe just DESTROYED MY REGISTRY BEYOND REPAIR!!!???

    im haveing a huge irritation useing illustrator cs4 live paint bucket because i can use everything else apart from the paint bucket which should be the easyiest tool to use sometimes it works with the white arrow sometimes it doesnt i sometimes get this below message
    the selection contains objects that cannot be converted. live paint groups can only contain paths and compound paths. clipping paths are not allowed
    the lines which i have drawn are connected which i believe have to be in order to use the paint bucket and i have no clipping paths so i am am baffled
    i presume it is because the line is set to 0.01 it seems the live paint bucket wont notice thin lines, but i tried makeing the line thicker so i could use the paint bucket and it still doesnt work.

  • No items to be picked were found

    Hi,
    created an order then a delivery with ref.to order
    Now iam trying to create a transfer order(with ref.) but the system says no items to be picked were found....i checked the delivery (tab page:picking) where it says:
    Overall picking status : A (not yet picked)
    Overall WM status : blank (No WM trns.ord. reqd)
    wat do i do ?it is not a text item too.
    thnx in advance.

    Hi Haseeb
    This would be a customising problem
    If the item is not relevant for warehouse management VBUP-LVSTA = ' ', then you will not be able to pick it
    using a transfer order but instead it has to be done manually in the picking TAB of the delivery.
    It is the customising in the enterprise structure that determines whether or not an item is relevant for WM.
    Menu path SPRO > IMG > ENTERPRISE STRUCTURE > ASSIGNMENT > LOGISTICS EXECUTION > Assign warehouse number to plant/storage location.
    In this case the combination of Plant and storage location you are finding in this delivery does not have
    a warehouse number assigned to it in the customising above. Perhaps you have the wrong storage location in the
    delivery, if you change it to one that has a Warehouse assignment then you should be able to create a TO
    Hope this helps
    Rgds
    Brian

  • 406 No acceptable objects were found & Not Acceptable

    Hi,
    I've checked a XML-file (being at my server) by http://wapsilon.com and got the following error-message: 406 No acceptable objects were found
    I've also tried it with my mobie (Siemens S35) and got this error-message: Not Acceptable
    Within my xsl-Sheet, which is referenced by the xml-file, I'm using
    <xsl:output method="xml" encoding="iso-8859-1" doctype-public="-//WAPFORUM//DTD WML 1.1//EN" doctype-system="http://www.wapforum.org/DTD/wml_1.1.xml"/>.
    Do you have any idea, what could be wrong - or which permissions I have to set at my server?
    Bye
    Chris

    I am replying to myself :-) because I couldn't edit my own post.
    I copied gcc from /Developper to /usr/bin, where it wasn't present (I assume it was not installed by Xcode).
    When I try (again) ./configure, I get in Terminal:
    checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/Users/admin/gnupg-2.0.19':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    So gcc is found, but it cannot create executables.
    Does all this mean that copying gcc to /usr/bin is not enough, and that I have to include gdd in $PATH?
    All help will be greatly appreciated.

  • Limitations of Path Section Group Indexing with alphabet I

    Hi,
    I created oracle text context indexing with Path section group and was trying to retrieve an element using the below query but it was not giving me any output
    select /*+FIRST_ROWS*/rowid,abccolumn,xyz column, efgcolumn,
    from xyz table
    where contains(xyzcolumn, 'I INPATH (/a:xyz/b:abc/c:efg/d:hij)',1)>0 )
    but with the same query instead of I if i am replacing with O i am getting the output.
    I wanted to know the significance of I as i was to retrieve all the other columns based on the search criteria .
    There are only 2 elements I or O in that node.
    with O i am able to retrieve so wanted to know how i can retrieve with I

    begin
    ctx_ddl.drop_section_group('xyz_path_group');
    end;
    begin
    ctx_ddl.drop_preference('xyz_wildcard_pref1');
    end;
    begin
    ctx_ddl.drop_preference('xyz_word_PREF');
    end;
    begin
    ctx_ddl.drop_preference('xyz_lexer_PREF1');
    end;
    begin
    ctx_ddl.create_section_group('xyz_path_group','PATH_SECTION_GROUP');
    end;
    begin
    ctx_ddl.create_preference('xyz_word_PREF','BASIC_WORDLIST');
    ctx_ddl.set_attribute('xyz_word_PREF','SUBSTRING_INDEX','TRUE');
    ctx_ddl.set_attribute('xyz_word_PREF','PREFIX_INDEX','YES');
    end;
    begin
    ctx_ddl.create_preference('xyz_lexer_pref1','BASIC_LEXER');
    ctx_ddl.set_attribute('xyz_word_PREF','WILDCARD_MAXTERMS','15000');
    end;
    drop index xyz;
    create index xyz on abc(pqr) indextype is ctxsys.context parameters
    ('datastore ctxsys.direct_datastore wordlist xyz_word_PREF FILTER ctxsys.null_filter lexer xyz_lexer_pref1
    sync(on commit)SECTION GROUP xyz_path_group MEMORY 500M ');
    This is how i created index and the table i have several column but the column pqr i am indexing has XML (Large) xml with 15 namespaces and with 3 prefixes

  • No packages applicable to your system were found after service?

    Hello
    I got my system back from Lenovo a week ago after getting some service done.  As far as I know the motherboard was not replaced but I cannot get any system updates.  I did a restore to the factory default system and I cannot get any updates for a week now, only the message: No packages applicable to your system were found.  In the recovery menu my system is listed as INVACTO and the serial number is blank.  The bottom of my system lists product ID 2746CTO.  I do not remember if the serial number was blank before I sent it in but it is now.  ThinkVantage toolbox also lists product: INVACTO, serial: blank, and warranty: Could not be determined.  Could my serial number had been erased and my system model changed while it was at Lenovo?  Could this be the reason I'm getting no updates?
    Thanks in advance for any help.
    John

    Hi,
    open registry and Check the following registry keys (or similar)
    HKLM\HARDWARE\ACPI\DSDT\LENOVO\
    HKLM\HARDWARE\ACPI\FADT\LENOVO\
    HKLM\HARDWARE\ACPI\RSDT\LENOVO\
    They should be in the form of your model number without the hyphen and not TP-xx___
    it worked with my R61 8919Y16
    Also check following registry too:
    HKEY_LOCAL_MACHINE\SOFTWARE\Lenovo\System Update\Preferences\UCSettings\RunTime
    whether the key called "MTM" contains your full MTM number.
    Let me know, how does the registry looks by you.
    You can also check following tests, that will show you the MTM, that is detected by System Update:
    Go to :
    %ProgramFiles%\Lenovo\System Update\egather\
    - start the "IA.exe" and a new .xml file will be created. The name of this file will contain the MTM of your system, that is detected.
    Cheers

  • Weblogic Portal: Error While Deploying: VALIDATION PROBLEMS WERE FOUND

    Hello friends
    I am getting following error while deploying EAR on server.
    “Module named 'MyEAR' failed to deploy. See Error Log view for more detail.”
    Steps I followed:
    1: Created one portal domain successfully and was able to start the serve after thatr.
    2: Created one Portal EAR Project and added it on server.
    Now when I am restarting the server, getting following error/log
    **“weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND**
    **problem: cvc-complex-type.2.4c: Expected element 'module@http://java.sun.com/xml/ns/javaee' before the end of the content in element application@http://java.sun.com/xml/ns/javaee:<null>”**
    Exception stack Trace:
    java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
    at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper$DeploymentProgressListener.watch(WlsJ2EEDeploymentHelper.java:1566)
    at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:470)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1346)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:803)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:623)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:516)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:708)
    at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2690)
    at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:272)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4c: Expected element 'module@http://java.sun.com/xml/ns/javaee' before the end of the content in element application@http://java.sun.com/xml/ns/javaee:<null>
    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
    at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:81)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:97)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    problem: cvc-complex-type.2.4c: Expected element 'module@http://java.sun.com/xml/ns/javaee' before the end of the content in element application@http://java.sun.com/xml/ns/javaee:<null>
    at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
    at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
    at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:301)
    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:178)
    as it is ‘brand new ‘ – IDE generated application, weblogic-application.xml is untouched.
    Thanks & Regards

    I have seen this problem also. To be clear, this occurs straight out of the box. In other words - launch eclipse, create a new workspace, create a new portal EAR project with the wizard, and then try to deploy it without touching anything. In fact, try changing the portal's facets to anything, plain EAR, 11g default, Portal EAR - it doesn't matter. It will not deploy. Either you get this error or you get deployment errors complaining about missing library references in the weblogic-application.xml. Then - you have to do surgery just to get an 'out of the box' portal to run. Very frustrating.

  • Windows 7 Installation problem: "no drives were found, click to load driver to provide a mass storage driver..."

    I just purchased a Toshiba Satellite laptop (U945-S4140) that came with windows 8. I am trying to install windows 7 enterprise 64 bit.
    I have the installation file on a bootable USB stick. In order to boot from the USB, I have to go into the BIOS settings and change from UEFI to CSM boot mode. Then the computer will boot from the usb stick and the windows 7 installation begins to work fine.
    However, I soon get an error message that "no drives were found. click to load driver to provide a mass storage driver for installation."
    I cannot figure out how to proceed. Any help would be greatly appreciated.
    Cheers

    Hello Maxxpower33, thank you for your words.
    I looked through the error logs that could be generated from the tool and found this one which may be what you experienced.  Kindly let me know if this is what you got:
    "Files copied successfully. However, we were unable to run bootsect to make the USB device bootable. If you need assistance with bootsect, please click the "Online Help" link above for more information."
    Some further information is that I found this post where another user experienced the same error on a laptop, although the speculation mentioned in the post is that the user does not have a Windows store account under which he purchased the license for Windows
    7 Home Premium, which is the flavor he was trying to get on the bootable drive.  However, this does not seem to be a valid response due to the fact that the tool does not check Windows XAuthCert Servers for validation on licensing.  So ignore that
    portion of the post, but the 2nd post helps a bit by linking to another article, providing both below.
    Forum Port With Same Error
    Article with 4 methods to create
    a bootable Windows 7 USB Drive
    In that first post, further down, is another reply to a tool that I have not tested with.  So please use caution on this one as I cannot find very much feedback other than on their own website, but sounds much like the first tool I mentioned in my first
    post "Unetbootin", but this one is called Rufus, and two people did mention they had good success with this tool after having difficulties with the Windows utility.
    Rufus
    After all that is said and done, there is not 1 tool that will work for everyone all of the time on every environment.  Why?  I would like to know also...but speculate hardware/firmware/bios combinations could be the culprit.  One of these
    tools should work for you and it would be my recommendation to try them in this order (skipping what you've already tried):
    1) Windows 7 USB/DVD Download Tool
    2) Unetbootin
    3) Manually creating the partition and xcopy'ing the extracted ISO to it
    4) Rufus
    5) Borrow a PC with a DVD-R in it and burn the ISO to a disc and install from it.  If your laptop does not have a DVD drive, an external drive can be purchased for roughly $25 or less.  Or if you have an internal drive laying around, buy an enclosure
    for about $15 and put the drive inside there and attach it to your laptop via USB or eSATA.
    As always, my advice is nothing more than my opinion, which are like bungholes...everyone has one and they all stink!  LOL!
    John Fester

Maybe you are looking for