XSU Generated Schemas and DTDs are bad input for oracg

Hi,
I'm trying to write a utility that accepts a database schema name and writes XML Schemas and a DTDs for each table based on a:
select * from table_name
over each table in the schema. I would then like to use those files as input to the oracg utility to produce java files. There are some problems though. The DTD representation is not meant as a standalone DTD. In other words its of the form:
<!DOCTYPE NAME [
...dtd defs here ...
]>
which oracg doesn't like. Its not a big deal to do some post processing and delete the DOCTYPE defenition, but then oracg barfs with the following error:
Error: DTD Class Generator failed to generate classes. oracle.xml.parser.v2.XMLParseException: Expected 'DOCTYPE'.
Here is the DTD I was trying to generate a class from:
<!ELEMENT STATION (ROW)*>
<!ELEMENT ROW (STN_THTR_AREA_CODE, STN_ID_CD, STN_NM?, STN_ESTD_DATA?, STN_CTRY_CD?, STN_SW_TYPE_CD?, STN_AGNY_CD?, STN_
MFR_CD?, STN_CURR_SFTWR?, STN_TIME_ZONE?, STN_LATD?, STN_LNGTD?, STN_NM_VLD_CALLS_1?, STN_NM_VLD_CALLS_2?, STN_NM_VLD_CA
LLS_3?, STN_NM_VLD_CALLS_4?, STN_NM_CALLS_1?, STN_NM_CALLS_2?, STN_NM_CALLS_3?, STN_NM_CALLS_4?, STN_STDY_ID_1?, STN_STD
Y_ID_2?, STN_STDY_ID_3?, STN_STDY_ID_4?, STN_CLASS_A_PHONES_ESTD_QTY?, STN_CLASS_B_PHONES_ESTD_QTY?, STN_POC_TTL?, STN_P
OC_FIRST_NM?, STN_POC_LAST_NM?, STN_POC_OFC_SYM_NM?, STN_POC_APO_PPO?, STN_POC_PSTL_CD?, STN_POC_AUTVN_TLPHN_NBR?, STN_M
ODIFIED_DT?, STN_TANDEM?, STN_MEMO?, STN_SW_TYPE_DESC?, STN_FREQ?, STN_THTR, STN_STDY_ID, STN_GEOLOC?, STN_SHIFT_FLG, ST
N_SEQ?, STN_TMPLT_NM?)>
<!ATTLIST ROW num CDATA #REQUIRED>
<!ELEMENT STN_THTR_AREA_CODE (#PCDATA)>
<!ELEMENT STN_ID_CD (#PCDATA)>
<!ELEMENT STN_NM (#PCDATA)>
<!ELEMENT STN_ESTD_DATA (#PCDATA)>
<!ELEMENT STN_CTRY_CD (#PCDATA)>
<!ELEMENT STN_SW_TYPE_CD (#PCDATA)>
<!ELEMENT STN_AGNY_CD (#PCDATA)>
<!ELEMENT STN_MFR_CD (#PCDATA)>
<!ELEMENT STN_CURR_SFTWR (#PCDATA)>
<!ELEMENT STN_TIME_ZONE (#PCDATA)>
<!ELEMENT STN_LATD (#PCDATA)>
<!ELEMENT STN_LNGTD (#PCDATA)>
<!ELEMENT STN_NM_VLD_CALLS_1 (#PCDATA)>
<!ELEMENT STN_NM_VLD_CALLS_2 (#PCDATA)>
<!ELEMENT STN_NM_VLD_CALLS_3 (#PCDATA)>
<!ELEMENT STN_NM_VLD_CALLS_4 (#PCDATA)>
<!ELEMENT STN_NM_CALLS_1 (#PCDATA)>
<!ELEMENT STN_NM_CALLS_2 (#PCDATA)>
<!ELEMENT STN_NM_CALLS_3 (#PCDATA)>
<!ELEMENT STN_NM_CALLS_4 (#PCDATA)>
<!ELEMENT STN_STDY_ID_1 (#PCDATA)>
<!ELEMENT STN_STDY_ID_2 (#PCDATA)>
<!ELEMENT STN_STDY_ID_3 (#PCDATA)>
<!ELEMENT STN_STDY_ID_4 (#PCDATA)>
<!ELEMENT STN_CLASS_A_PHONES_ESTD_QTY (#PCDATA)>
<!ELEMENT STN_CLASS_B_PHONES_ESTD_QTY (#PCDATA)>
<!ELEMENT STN_POC_TTL (#PCDATA)>
<!ELEMENT STN_POC_FIRST_NM (#PCDATA)>
<!ELEMENT STN_POC_LAST_NM (#PCDATA)>
<!ELEMENT STN_POC_OFC_SYM_NM (#PCDATA)>
<!ELEMENT STN_POC_APO_PPO (#PCDATA)>
<!ELEMENT STN_POC_PSTL_CD (#PCDATA)>
<!ELEMENT STN_POC_AUTVN_TLPHN_NBR (#PCDATA)>
<!ELEMENT STN_MODIFIED_DT (#PCDATA)>
<!ELEMENT STN_TANDEM (#PCDATA)>
<!ELEMENT STN_MEMO (#PCDATA)>
<!ELEMENT STN_SW_TYPE_DESC (#PCDATA)>
<!ELEMENT STN_FREQ (#PCDATA)>
<!ELEMENT STN_THTR (#PCDATA)>
<!ELEMENT STN_STDY_ID (#PCDATA)>
<!ELEMENT STN_GEOLOC (#PCDATA)>
<!ELEMENT STN_SHIFT_FLG (#PCDATA)>
<!ELEMENT STN_SEQ (#PCDATA)>
<!ELEMENT STN_TMPLT_NM (#PCDATA)>
I'm also having problems dealing with schemas. The call to OracleXMLQuery.getXMLMetaData(OracleXMLQuery.SCHEMA, false) returns the following for this particular table:
<DOCUMENT xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
<xsd:element name="STATION">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ROW" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="STN_THTR_AREA_CODE" type="xsd:string" minOc curs="0"/>
<xsd:element name="STN_ID_CD" type="xsd:string" minOccurs="0"/>
<xsd:element name="STN_NM" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_ESTD_DATA" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_CTRY_CD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_SW_TYPE_CD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_AGNY_CD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_MFR_CD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_CURR_SFTWR" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_TIME_ZONE" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_LATD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_LNGTD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_VLD_CALLS_1" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_VLD_CALLS_2" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_VLD_CALLS_3" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_VLD_CALLS_4" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_CALLS_1" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_CALLS_2" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_CALLS_3" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_CALLS_4" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_STDY_ID_1" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_STDY_ID_2" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_STDY_ID_3" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_STDY_ID_4" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_CLASS_A_PHONES_ESTD_QTY" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_CLASS_B_PHONES_ESTD_QTY" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_TTL" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_FIRST_NM" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_LAST_NM" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_OFC_SYM_NM" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_APO_PPO" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_PSTL_CD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_AUTVN_TLPHN_NBR" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_MODIFIED_DT" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_TANDEM" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_MEMO" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_SW_TYPE_DESC" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_FREQ" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_THTR" type="xsd:string" minOccurs="0"/>
<xsd:element name="STN_STDY_ID" type="xsd:string" minOccurs="0"/>
<xsd:element name="STN_GEOLOC" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_SHIFT_FLG" type="xsd:string" minOccurs="0"/>
<xsd:element name="STN_SEQ" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_TMPLT_NM" type="xsd:string" nullable="true" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="num" type="xsd:integer"/>
</xsd:complexType&g t;
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
/>
The oracg utility gives the following errors with this as input:
file:/export/home/kennedy/generatedSchemas/STATION.xsd<Line 1, Column 58>: XML-0190: (Fatal Error) Whitespace required.
file:/export/home/kennedy/generatedSchemas/STATION.xsd<Line 1, Column 58>: XML-0201: (Fatal Error) Expected name instead of <.
file:/export/home/kennedy/generatedSchemas/STATION.xsd<Line 1, Column 58>: XML-0122: (Fatal Error) '=' missing in attribute.
file:/export/home/kennedy/generatedSchemas/STATION.xsd<Line 1, Column 59>: XML-0125: (Fatal Error) Attribute value should start with quote.
Error: Schema Class Generator failed to generate classes. oracle.xml.parser.v2.XMLParseException: Whitespace required.
which clearly points to the fact that the XSD:SCHEMA element is enclosed in the Document Element. Removing the document tag completely and leaving XSD:SCHEMA as the root element works. But thats a lot of post processing to be doing and I was wondering if there was a way to generate XML Schemas and DTDs using the standalone representations.
If there is no way to do that, could somebody help me fix the error generated by oracg with my DTD?
Thanks,
Matt

Hi,
I'm trying to write a utility that accepts a database schema name and writes XML Schemas and a DTDs for each table based on a:
select * from table_name
over each table in the schema. I would then like to use those files as input to the oracg utility to produce java files. There are some problems though. The DTD representation is not meant as a standalone DTD. In other words its of the form:
<!DOCTYPE NAME [
...dtd defs here ...
]>
which oracg doesn't like. Its not a big deal to do some post processing and delete the DOCTYPE defenition, but then oracg barfs with the following error:
Error: DTD Class Generator failed to generate classes. oracle.xml.parser.v2.XMLParseException: Expected 'DOCTYPE'.
Here is the DTD I was trying to generate a class from:
<!ELEMENT STATION (ROW)*>
<!ELEMENT ROW (STN_THTR_AREA_CODE, STN_ID_CD, STN_NM?, STN_ESTD_DATA?, STN_CTRY_CD?, STN_SW_TYPE_CD?, STN_AGNY_CD?, STN_
MFR_CD?, STN_CURR_SFTWR?, STN_TIME_ZONE?, STN_LATD?, STN_LNGTD?, STN_NM_VLD_CALLS_1?, STN_NM_VLD_CALLS_2?, STN_NM_VLD_CA
LLS_3?, STN_NM_VLD_CALLS_4?, STN_NM_CALLS_1?, STN_NM_CALLS_2?, STN_NM_CALLS_3?, STN_NM_CALLS_4?, STN_STDY_ID_1?, STN_STD
Y_ID_2?, STN_STDY_ID_3?, STN_STDY_ID_4?, STN_CLASS_A_PHONES_ESTD_QTY?, STN_CLASS_B_PHONES_ESTD_QTY?, STN_POC_TTL?, STN_P
OC_FIRST_NM?, STN_POC_LAST_NM?, STN_POC_OFC_SYM_NM?, STN_POC_APO_PPO?, STN_POC_PSTL_CD?, STN_POC_AUTVN_TLPHN_NBR?, STN_M
ODIFIED_DT?, STN_TANDEM?, STN_MEMO?, STN_SW_TYPE_DESC?, STN_FREQ?, STN_THTR, STN_STDY_ID, STN_GEOLOC?, STN_SHIFT_FLG, ST
N_SEQ?, STN_TMPLT_NM?)>
<!ATTLIST ROW num CDATA #REQUIRED>
<!ELEMENT STN_THTR_AREA_CODE (#PCDATA)>
<!ELEMENT STN_ID_CD (#PCDATA)>
<!ELEMENT STN_NM (#PCDATA)>
<!ELEMENT STN_ESTD_DATA (#PCDATA)>
<!ELEMENT STN_CTRY_CD (#PCDATA)>
<!ELEMENT STN_SW_TYPE_CD (#PCDATA)>
<!ELEMENT STN_AGNY_CD (#PCDATA)>
<!ELEMENT STN_MFR_CD (#PCDATA)>
<!ELEMENT STN_CURR_SFTWR (#PCDATA)>
<!ELEMENT STN_TIME_ZONE (#PCDATA)>
<!ELEMENT STN_LATD (#PCDATA)>
<!ELEMENT STN_LNGTD (#PCDATA)>
<!ELEMENT STN_NM_VLD_CALLS_1 (#PCDATA)>
<!ELEMENT STN_NM_VLD_CALLS_2 (#PCDATA)>
<!ELEMENT STN_NM_VLD_CALLS_3 (#PCDATA)>
<!ELEMENT STN_NM_VLD_CALLS_4 (#PCDATA)>
<!ELEMENT STN_NM_CALLS_1 (#PCDATA)>
<!ELEMENT STN_NM_CALLS_2 (#PCDATA)>
<!ELEMENT STN_NM_CALLS_3 (#PCDATA)>
<!ELEMENT STN_NM_CALLS_4 (#PCDATA)>
<!ELEMENT STN_STDY_ID_1 (#PCDATA)>
<!ELEMENT STN_STDY_ID_2 (#PCDATA)>
<!ELEMENT STN_STDY_ID_3 (#PCDATA)>
<!ELEMENT STN_STDY_ID_4 (#PCDATA)>
<!ELEMENT STN_CLASS_A_PHONES_ESTD_QTY (#PCDATA)>
<!ELEMENT STN_CLASS_B_PHONES_ESTD_QTY (#PCDATA)>
<!ELEMENT STN_POC_TTL (#PCDATA)>
<!ELEMENT STN_POC_FIRST_NM (#PCDATA)>
<!ELEMENT STN_POC_LAST_NM (#PCDATA)>
<!ELEMENT STN_POC_OFC_SYM_NM (#PCDATA)>
<!ELEMENT STN_POC_APO_PPO (#PCDATA)>
<!ELEMENT STN_POC_PSTL_CD (#PCDATA)>
<!ELEMENT STN_POC_AUTVN_TLPHN_NBR (#PCDATA)>
<!ELEMENT STN_MODIFIED_DT (#PCDATA)>
<!ELEMENT STN_TANDEM (#PCDATA)>
<!ELEMENT STN_MEMO (#PCDATA)>
<!ELEMENT STN_SW_TYPE_DESC (#PCDATA)>
<!ELEMENT STN_FREQ (#PCDATA)>
<!ELEMENT STN_THTR (#PCDATA)>
<!ELEMENT STN_STDY_ID (#PCDATA)>
<!ELEMENT STN_GEOLOC (#PCDATA)>
<!ELEMENT STN_SHIFT_FLG (#PCDATA)>
<!ELEMENT STN_SEQ (#PCDATA)>
<!ELEMENT STN_TMPLT_NM (#PCDATA)>
I'm also having problems dealing with schemas. The call to OracleXMLQuery.getXMLMetaData(OracleXMLQuery.SCHEMA, false) returns the following for this particular table:
<DOCUMENT xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
<xsd:element name="STATION">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ROW" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="STN_THTR_AREA_CODE" type="xsd:string" minOc curs="0"/>
<xsd:element name="STN_ID_CD" type="xsd:string" minOccurs="0"/>
<xsd:element name="STN_NM" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_ESTD_DATA" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_CTRY_CD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_SW_TYPE_CD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_AGNY_CD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_MFR_CD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_CURR_SFTWR" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_TIME_ZONE" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_LATD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_LNGTD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_VLD_CALLS_1" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_VLD_CALLS_2" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_VLD_CALLS_3" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_VLD_CALLS_4" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_CALLS_1" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_CALLS_2" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_CALLS_3" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_NM_CALLS_4" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_STDY_ID_1" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_STDY_ID_2" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_STDY_ID_3" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_STDY_ID_4" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_CLASS_A_PHONES_ESTD_QTY" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_CLASS_B_PHONES_ESTD_QTY" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_TTL" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_FIRST_NM" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_LAST_NM" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_OFC_SYM_NM" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_APO_PPO" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_PSTL_CD" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_POC_AUTVN_TLPHN_NBR" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_MODIFIED_DT" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_TANDEM" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_MEMO" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_SW_TYPE_DESC" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_FREQ" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_THTR" type="xsd:string" minOccurs="0"/>
<xsd:element name="STN_STDY_ID" type="xsd:string" minOccurs="0"/>
<xsd:element name="STN_GEOLOC" type="xsd:string" nullable="true" minOccurs="0"/>
<xsd:element name="STN_SHIFT_FLG" type="xsd:string" minOccurs="0"/>
<xsd:element name="STN_SEQ" type="xsd:integer" nullable="true" minOccurs="0"/>
<xsd:element name="STN_TMPLT_NM" type="xsd:string" nullable="true" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="num" type="xsd:integer"/>
</xsd:complexType&g t;
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
/>
The oracg utility gives the following errors with this as input:
file:/export/home/kennedy/generatedSchemas/STATION.xsd<Line 1, Column 58>: XML-0190: (Fatal Error) Whitespace required.
file:/export/home/kennedy/generatedSchemas/STATION.xsd<Line 1, Column 58>: XML-0201: (Fatal Error) Expected name instead of <.
file:/export/home/kennedy/generatedSchemas/STATION.xsd<Line 1, Column 58>: XML-0122: (Fatal Error) '=' missing in attribute.
file:/export/home/kennedy/generatedSchemas/STATION.xsd<Line 1, Column 59>: XML-0125: (Fatal Error) Attribute value should start with quote.
Error: Schema Class Generator failed to generate classes. oracle.xml.parser.v2.XMLParseException: Whitespace required.
which clearly points to the fact that the XSD:SCHEMA element is enclosed in the Document Element. Removing the document tag completely and leaving XSD:SCHEMA as the root element works. But thats a lot of post processing to be doing and I was wondering if there was a way to generate XML Schemas and DTDs using the standalone representations.
If there is no way to do that, could somebody help me fix the error generated by oracg with my DTD?
Thanks,
Matt

Similar Messages

  • Difference between schema and DTD

    Difference between schema and DTD
    <author>
    <firstname></firstname>
    <lastname></lastname>
    </author>
    How will u write dtd and schema for above XML ?

    DTD:
    <!ELEMENT author(firstname, lastname)>
    <!ELEMENT firstname(#PCDATA)>
    <!ELEMENT lastname(#PCDATA)>
    Schema:
    <xs:element name="author">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="firstname" type="xs:string"/>
    <xs:element name="lastname" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>

  • Samsung is now the underdog and that's bad news for HTC

    Samsung’s market share dropped significantly, and companies like HTC are thinking Samsung is now ripe for the picking.
    Samsung is now the underdog and that’s bad news for HTC | TalkAndroid.com

    Author makes very valid points.

  • I recently upgraded to Lion and i find that my computer is running slow and applications are crashing.  For example I have Word 2011 for Mac and it crashes all the time I end up losing my work.  It often happens when I'm in notebook trying to record.

    i recently upgraded to Lion and i find that my computer is running slow and applications are crashing.  For example I have Word 2011 for Mac and it crashes all the time I end up losing my work.  It often happens when I'm in class using notebook and when I press record my computer starts thinking and it freezes.
    Also, I feel that it overheats often and my battery runs out pretty quickly.  I had the macbook (black) and this never happened before.  I'm not sure if I'm doing something wrong or if there is something with my computer.I bought my computer summer 2010, I don't think this should be happening. Please Help......

    This is exactly what keeps happening to mine too.  I was at a conference taking notes, and I was
    using the Notebook template, and doing some audio recording simultaneously.  About 3 hours into the conference (not consistently recording, but on and off with the sessions) my file wouldn't save anymore, saying something like "File cannot be modified while in use with another program" and "Invalid file name" when I would go back into my folder to look for it). I tried installing some updates from Microsoft, and when I restarted, I was at least able to open my old notes again, and so far it looks like the audio was working.  However, today at the conference, the same thing happened again, but I wasn't actively recording any audio (though after I had copy and pasted my second file of notes into the original, I went back to using it after re-naming it). 
    Does the crash happen to you under similar cirucumstances?  The update might help a little, but it is definitely not the solution.  Does anyone have any solutions?  Lion shouldn't be this buggy... I moved to Mac to get away from the garbage of bugs and compatibility issues...

  • Hi can you help the sound is not working on my Mac I have went into settings and there are no option for interal speaker help

    Hi can you help the sound is not working on my Mac I have went into settings and there are no option for interal speaker help

    Read the documentation at the links.  They won't hurt your data. 
    Basically smc reset is shutdown, pull your plug for 15 seconds, plug it back in, wait 5 seconds, and reboot.  Harmless to you.  Resets the smc.
    Pram reset is similar but you need to push commnd-option-P-R after the boot chime.  Read what does.
    smc and pram reset

  • Graphics card Quadro K4200 don't work with cuda in Adobe Premiere CS 6 version 6.0.5. Maybe they are bad drivers for graphics card? How to solve this problem?

    I have purchased graphics card Quadro K4200, but graphics card don't work with cuda in Adobe Premiere CS 6 version 6.0.5. Maybe they are bad drivers for graphics card? How to solve this problem?

    Did you use the nVidia Hack http://forums.adobe.com/thread/629557

  • I received a link to fill out a document on this site through email. However, when I click the link, it just directs me to my FormsCentral homepage and there are no documents for me to fill out. How do I find this document or stop myself from just being r

    I received a link to fill out a document on this site through email. However, when I click the link, it just directs me to my FormsCentral homepage and there are no documents for me to fill out. How do I find this document or stop myself from just being redirected to my homepage?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • Warning: Action and Event are not compatible for LinktoAction type

    Hi,
       I get a warning message "Action and event are not compatible" for the action associated with the type LinkToAction. The Action method "ShowDetails" has the parameters wdEvent (default) and IWDNodeElement.
       Can anybody please suggest what causes this warning?
    Regards
    Sagar

    Sagar,
    Unfortunately, it is impossible to remove this warning completely. However, you may safely ignore it.
    What you can do is copy text of warning (or part of text), then click "Filter" icon on Tasks view in IDE and set filter to hide these warnings. I do this for annoying "UI element has no lable text"
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • OIM11g R2 - If two roles (ACF2 and AD) are selected together for a user req

    Hi ,
    We are facing a problem In the Catalog, if two roles (ACF2 and AD) are selected together for a user and checking it out.The request goes to approval process.We have not created any approval process flow.
    Plz let me know how to recover from it and provide an option to provision two roles simulaneously to a user without going into approval process.
    Steps to Reproduce:
    1. Create a user in OIM .
    2. Search that user.Administration->Users->Search User
    3. Click on 'Roles' tab and select 'Request Role' under that tab.
    4.'Catalog' tab opens .Click on Search icon and Add AD and ACF2 Role to the cart.
    5. Click on 'Check out'
    6. Click on Submit button
    7. Request Summary tab opens with Request status shown as 'Obtaining Request Approval' and Request Type as 'Assign Roles'.
    Note: If we assign AD and ACF2 individually to user and running Evaluate User Policies we are able to see account in Provisioned state under Accounts tab of User and request is not going to approval process
    Thanks in advance

    Hi,
    As mentioned I created two auto approval policies
    1. Request Type= Assign Roles
    Level= Request Level
    Auto Approval checked
    Approval Rule=Requester.UserLogin Equals XELSYSADM
    (Created this rule as i am logeed in as XELSYSADM)
    2. Request Type= Assign Roles
    Level= Operation Level
    Auto Approval checked
    All Scope Checked
    Approval Rule=Request.RequestType Equals Assign Roles
    After that i opened the user request role page and requested 2 roles (AD and ACF2).
    But now also request went to approval work flow
    Please point which step i have missed or any other step need to be performed.
    Regards,
    Edited by: Puneet Lobana on Jan 7, 2013 12:54 AM

  • TS1815 I just added an album I uploaded from my turntable and there are no tabs for artwork or lyrics to add. Any suggestions?

    I just added an album to Itunes that I uploaded from my turntable and there are no tabs for artwork or lyrics to add.  Any suggestions, please?  Thanks.

    Select album or individual tracks: Control click > Get Info.

  • What are the frequencies all versions of the iPhone 6 and what are they used for (e.g. GSM, 3G, LTE, WIFI, Bluetooth,etc...) provided with channel numbers per frequency

    what are the frequencies all versions of the iPhone 6 and what are they used for (e.g. GSM, 3G, LTE, WIFI, Bluetooth,etc...) provided with channel numbers per frequency.

    Click here

  • What are Wrapper classes and what are they used for ?

    What are Wrappter classes and what are they used for ?..Also, any examples would be great to understand this concept

    Wrapper classes are used to enclose primitive data
    types so that they can be used in instances where an
    object is required. For example, if you want to add an
    integer to an ArrayList, you can't use this:java.util.List al = new ArrayList();
    int i=123;
    al.add(i);because the ArrayList expects data of type object. In
    order to all the integer to the ArrayList, you must wrap
    it in the Integer wrapper class. This works:java.util.List al = new ArrayList();
    int i=123;
    al.add(new Integer(i));Hope that helps.
    Mark

  • The default account option in iOS for contacts is missing; while I have multiple account options for mail and contacts are turned on for iCloud and other accounts.

    The default account option in iOS for contacts is missing; while I have multiple account options for mail and contacts are turned on for iCloud and other accounts.  I previously was able to select between my Microsoft Exchange Contacts (work account) and iCloud (personal), but both those options are now gone.  I tried turning contacts for both off and on and rebooting, but it didn't help.  Any ideas?

    Just a guess but if the exchange account is from your employer, your employer may have installed a security profile to your device preventing you from adding or editing contacts in the exchange account by removing the Default Account setting.  You would need to check with your employer's IT department to confirm this.  You could also test this by adding a Gmail account and turning on contacts syncing with Gmail to see if the setting reappears.

  • Why do iPhones/iPad not support Flash Player/Java and what are my alternatives for browsing sites using these plug-ins?

    Why do iPhones/iPad not support Flash Player/Java and what are my alternatives for browsing sites using these plug-ins?

    There are also iSwifter, Photon, Skyfire, etc., some only support Flash some support Java and Flash.
    Adobe never made a version of Flash for iOS and closed their mobile flash division a couple of years ago. You can get Flash on other personal devices but you will be using a 2 year old version that has not been patched for security vulnerabilities.
    When the original iPhone was released Mr. Jobs said it would never run Java as it was old technology and a security risk. Nothing has changed since.

  • What are these and what are they useful for?: and

    I have seen these symbols being used in Java: << and >>, what are they and what do they do?
    Thank you.

    As DrQuincy asks how is this of use over multiplying
    and dividing?In your processor there are often different instructions for shifting, multiplying, and deleteing. Typically the shifting instructions take less time to execute and so using the shifting operator will be faster than multiplying. This assumes the compiler doesn't recognize the situation and optimize it out though.
    The >>,<<,>>>, &,|,and ^ operators are mainly useful when you need to deal with individual bits of data. For instance if you are talking to another system (thats not java) that uses a different method of storing numbers (little endian/big endian etc.), or doing something such as creating parity data for error correction. There are lots of things to do, but most a low level and its rare when you need to use them.

Maybe you are looking for