Expected DOCTYPE?

I tried to run the sample code (I only find one example for one product here)for "XML Class Generator For Java"(technet.oracle.com/tech/xml/infor/htdocs/otnwp/about_oracle_xml_products.htm)
and I used the employee.dtd as the input file. I hardcoded the file name instead of put it in arg[], when I ran it, there was an error message saying:
XML Class Generator: Error Expected 'DOCTYPE'.
Expected 'DOCTYPE'.
at oracle.xml.parser.v2.XMLError.flushErrors(Compiled Code)
at oracle.xml.parser.v2.XMLError.error(Compiled Code)
at oracle.xml.parser.v2.XMLError.error(Compiled Code)
at oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(Compiled Code)
at oracle.xml.parser.v2.NonValidatingParser.parseProlog(Compiled Code)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(Compiled Code)
at oracle.xml.parser.v2.XMLParser.parse(Compiled Code)
at DTDTest.SampleMain.main(Compiled Code)
I spent an hour to try to solve it, still no progress. Is there any idea. Any help will be highly highly appreciated.
BTW, anybody can tell me how to use command line to execute a java programm which is written in JDeveloper? I only used "run" in menu, but I have to use command line now, otherwise I can't input my "input file".
Thanks.
null

Thank you so much. But unfortunately, they didn't work.
1. I used a DTD file which is generated by another program using XML SQL Utility(I believe it has the absolutely correct format),as following:
<?xml version="1.0"?>
<!DOCTYPE ROWSET [
<!ELEMENT ROWSET (ROW)*>
<!ELEMENT ROW (FirstName?, LastName?)>
<!ATTLIST ROW num CDATA #REQUIRED>
<!ELEMENT FirstName (#PCDATA)>
<!ELEMENT LastName (#PCDATA)>
]>
<ROWSET>
<ROW num="1">
<FirstName>Nancy</FirstName>
<LastName>Davolio</LastName>
</ROW>
<ROW num="2">
<FirstName>Andrew</FirstName>
<LastName>Fuller</LastName>
</ROW>
<ROW num="3">
<FirstName>Janet</FirstName>
<LastName>Leverling</LastName>
</ROW>
</ROWSET>
after ran the class gen program, there are errow messages:XML Class Generator: Error java.io.UTFDataFormatException: Invalid UTF8 encoding.
java.io.UTFDataFormatException: Invalid UTF8 encoding.
at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(Compiled Code)
at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(Compiled Code)
at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(Compiled Code)
at oracle.xml.parser.v2.XMLReader.tryRead(Compiled Code)
at oracle.xml.parser.v2.XMLReader.scanXMLDecl(Compiled Code)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(Compiled Code)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(Compiled Code)
at oracle.xml.parser.v2.XMLParser.parse(Compiled Code)
at DTDsample.DTDtest.main(Compiled Code)
What is the reason? Anybody can give me a correct sample DTD file which can be tested by the sample program in XMLClass Generator's package "SampleMain.java"? I need your kindly help!!
2. "java classname" didn't work in this way. I guess the reasons:
First,My JDeveloper is running in WinNT workstation, I don't have the sysadmin privilege to change path. I can add classpath in "Project Property" from the menu bar instead of in operation system file, it works in win95/98 not in NT. So when I run a java program in DOS, does it know the classpath which I set in JDeveloper?
Second, there are two "java.exe" in JDeveloper package,one is in "/java/bin",the other is in "/java1.2/bin", which one is default? How can I know it? I am working on a winNT workstation, I don't have the admin privilege to edit the path, so formerly, I have to use direct path to an executable file, but for "java", it doesn't work. This is the command line I uses to execute a compiled java class
c:\..\JDeveloper2.0\myclasses\ \JDeveloper2.0\java1.2\bin\java classname
the error message is
The name specified is not recognized as an
internal or external command, operable program or batch file.
What should I do to solve this problem. I definitely need to use command line to run a java program in my project, so have to solve it. Any idea is very very welcome.
null

Similar Messages

  • 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

  • ERROR ODI-40837: An error occurred during the creation of the schema

    Hi I am trying to test an xml file server and keep getting the following error.
    ERROR ODI-40837: An error occurred during the creation of the schema: ODI-40738: A SAXException was caught while reading the model saying: Expected 'DOCTYPE'.
    JDBC URL jdbc:snps:xml?f=C:/Projects/prd.xml&ro=true&DOD=YES
    anybody could help as i dont find any blog or documentation about this error?.
    Thanks
    Edited by: user626688 on May 31, 2013 1:26 PM

    There seems to be some problem with your xml file. Please work with support channel to investigate this issue.
    You can also check the xml driver parameters details at http://docs.oracle.com/cd/E28280_01/integrate.1111/e12644/appendix_xml_driver.htm#CHDECBHH

  • Unable to get the expected results with connection pooling

    Hi All,
    I have been trying to create JDBC connection pooling provided by the Apache Tomcat 4.0 with MySQL 4.0.16-nt at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html and my configuration is as follows
    server.xml
    <Context path="/DBTest" docBase="DBTest"
    debug="5" reloadable="true" crossContext="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_DBTest_log." suffix=".txt"
    timestamp="true"/>
    <Resource name="jdbc/TestDB"
    auth="Container"
    type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/TestDB">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <!-- Maximum number of dB connections in pool. Make sure you
    configure your mysqld max_connections large enough to handle
    all of your db connections. Set to 0 for no limit.
    -->
    <parameter>
    <name>maxActive</name>
    <value>100</value>
    </parameter>
    <!-- Maximum number of idle dB connections to retain in pool.
    Set to 0 for no limit.
    -->
    <parameter>
    <name>maxIdle</name>
    <value>30</value>
    </parameter>
    <!-- Maximum time to wait for a dB connection to become available
    in ms, in this example 10 seconds. An Exception is thrown if
    this timeout is exceeded. Set to -1 to wait indefinitely.
    -->
    <parameter>
    <name>maxWait</name>
    <value>10000</value>
    </parameter>
    <!-- MySQL dB username and password for dB connections -->
    <parameter>
    <name>username</name>
    <value>javauser</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>javadude</value>
    </parameter>
    <!-- Class name for mm.mysql JDBC driver -->
    <parameter>
    <name>driverClassName</name>
    <value>org.gjt.mm.mysql.Driver</value>
    </parameter>
    <!-- The JDBC connection url for connecting to your MySQL dB.
    The autoReconnect=true argument to the url makes sure that the
    mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
    connection. mysqld by default closes idle connections after 8 hours.
    -->
    <parameter>
    <name>url</name>
    <value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
    </parameter>
    </ResourceParams>
    </Context>
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>MySQL Test App</description>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/TestDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    test.jsp
    <jsp:useBean id="foo" class="foo.DBTest" scope="page" />
    <html>
    <head>
    <title>DB Test</title>
    </head>
    <body>
    <%
    foo.DBTest tst = new foo.DBTest();
    tst.init();
    %>
    <h2>Results</h2>
    Foo <%= tst.getFoo() %>
    Bar <%= tst.getBar() %>
    </body>
    </html>
    DBTest.java package
    package foo;
    import javax.naming.*;
    import javax.sql.*;
    import java.sql.*;
    public class DBTest {
    String foo = "Not Connected";
    int bar = -1;
    public void init() {
    try{
    Context ctx = new InitialContext();
    if(ctx == null )
    throw new Exception("Boom - No Context");
    DataSource ds =
    (DataSource)ctx.lookup(
    "java:comp/env/jdbc/TestDB");
    if (ds != null) {
    Connection conn = ds.getConnection();
    if(conn != null) {
    foo = "Got Connection "+conn.toString();
    Statement stmt = conn.createStatement();
    ResultSet rst =
    stmt.executeQuery(
    "select id, foo, bar from testdata");
    if(rst.next()) {
    foo=rst.getString(2);
    bar=rst.getInt(3);
    conn.close();
    }catch(Exception e) {
    e.printStackTrace();
    public String getFoo() { return foo; }
    public int getBar() { return bar;}
    Now when I am trying to run this on browser, everything goes fine except it doesn't show the expected results, instead of that it shows following in the browser:-
    Results
    Foo Not Connected
    Bar -1
    Can anybody help me out as to why I am getting such result while everything is right from my side. Is the program unable to connect to the database or it is not supporting the JDBC version that I am using.
    Thanks in advance
    Regards
    Vikas

    Oh, I think this is not the right place to post this message. I have placed the same in other place of this forum. please ignore this post here!!
    MJ, by the way the link that you suggested is not useful to me.
    Thank you

  • Add Doctype to the XML File

    Experts,
    My Scenario is JDBC to File
    For the resultant xml file i have to include a <DOCTYPE> after
    <?xml version="1.0" encoding="UTF-8" ?> while passing it to legacy system ?
    I had written an XSLT Code to acheive this, i checked in XML spy and it is working.
    but in moni iam getting an error in message mapping
    my XSLT Code is
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <!-- Add the Doctype declaration -->
    <xsl:output method="xml" indent="no" doctype-system="http://integratex.quality.techdata.de:8080/ix/dtd/ixOrder.dtd"/>
    <!-- Identity Transform - copy the source XML to the output without any changes -->
    <xsl:template match="node() | @*">
                <ns0:MT_ASNDATAOUT xmlns:ns0="http://aaaaa/sd/SD152.25">
                <xsl:copy>
                                                    <xsl:apply-templates select="node() | @*"/>
                </xsl:copy>
                </ns0:MT_ASNDATAOUT>
    </xsl:template>
    </xsl:stylesheet>
    and the error in moni is
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>Parsing error after multi mapping.</SAP:P1>
      <SAP:P2>Expected Message<i> instead of Messages</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Parsing error after multi mapping.Expected Message<i> instead of Messages</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Iam doing multi mapping between source and target, is m ulti mapping causing the issue?
    and also check my xslt code,it is working in xml spy as desired.
    Please help me on this
    Appreciate your help.
    Thanks
    Srinivas

    Hi,
    Yes you have to chnage the DTD structure to add DOCTYPE Value,one morething when you executing XSLT mapping Multi Mapping scenario it shouls also supports multi mapping feature.Fisrt execute XSLT Mapping program without multi mapping,let me know how its behaving.
    Regards,
    Raj

  • Java mapping for Remove and Add of  DOCTYPE Tag

    HI All,
    i have one issue while the Java mapping for Remove and Add of  DOCTYPE Tag   in Operation Mapping .
    it says that , while am testing in Configuration Test "  Problem while determining receivers using interface mapping: Error while determining root tag of XML"
    Receiver Determination...
    error in SXMB MOni
    " SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
      <SAP:P1>Problem while determining receivers using interface mapping: Error while determining root tag of XML: '<!--' or '<![CDATA[' expected</SAP:P1>
    plz provide solutions
    Thanks in advance.

    Hi Mahesh,
    I understand, you are using extended Receiver Determination using Operational Mapping (which has Java Mapping). And, there is an error message u201CError while determining root tag of XMLu201D, when you are doing configuration test.
    Can you please test, the Operational Mapping (which has Java Mapping) separately in ESR, with payload which is coming now. It should produce a XML something like this [Link1|http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce53aea0d7154ee10000000a421937/frameset.htm]
    <Receivers>
    <Receiver>
      <Party agency="016" scheme="DUNS">123456789</Party>
      <Service>MyService</Service>
    </Receiver>
    <Receiver>
      <Party agency="http://sap.com/xi/XI" scheme="XIParty"></Party>
      <Service>ABC_200</Service>
    </Receiver>
    </Receivers>
    If it is not (I Think it will not), then there is some problem in Java Mapping coding. Please correct it. Last option, if your Java code is small in length; you may paste it here, so that we can have a look at the cause of issue.
    Regards,
    Raghu_Vamsee

  • Is there going to be a way to add DOCTYPE to the header?

    I notice that HTML pages exported from Muse do not have a DOCTYPE in the header.  Will this be added in the future or is there a prefered way to add it by hand in either Dreamweaver or Notepad?
    Seems like an oversight.
    B

    Yes, I wasn't very clear in my question, sorry.  When I created a page I was expecting to this code:
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    That is what I am referring to.
    Is that code even nessecary?

  • Object Expected error in Struts JSP file

    Hi,
    I have a very simple JSP file as shown below.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri="/tags/struts-html" prefix="html" %>
    <html>
    <head>
    <title>pqGlobalStoreProfile.jsp</title>
    </head>
    <body onLoad="getSessionData();disableFieldsLocale();">
    <html:form action="/pqGlobalStoreProfile.do">
    <table cellpadding=5 cellspacing=0>
         <tr><td colspan=2><h3><b>Pq Global Store/Modify Profile</b></h3></td></tr>
         <tr><td>Profile Key *</td><td><html:text property="profileKey"/></td></tr>
    </table>
    </html:form>
    </body>
    </html>
    It is throwing an "Object Expected' error at Line 9 Char 1.
    I am not sure about what is causing this error.
    Thanks.

    it's a Javascript error, cuz it's calling these 2 methods when the page loads...
    onLoad="getSessionData();disableFieldsLocale();"
    Where are these methods defined? Cuz I don't see any inline Javascript, nor a linked script.
    I hope you don't think that those onload functions are going to call Java code defined in the JSP page or something, cuz... well, they aren't.

  • Compile Error: 'class' or 'interface' expected

    Hi all,
    I have a code which was compiling/running successfully:
    import java.net.*;
    code
    When I added the line: import java.io.*;
    import java.net.*;
    import java.io.*;
    code
    Got the following compile error:
    'class' or 'interface' expected
    import java.io.*;
    ^
    If I comment one of my import statements then it compiles, but I can't have both!
    Does anybody know what's the problem? where it comes from?
    Any help is greatly appreciated.

    I haven't post the entire code b/c it's very long, anyway here it is...
    import java.net.*; ;
    import java.io.*;
    //class TransactionOp: #1
    class TransactionOp
    int ID = 0;
    double price = 0.0;
    int subsID = 0;
    String xmlDoc = "";
    String xmlResp = "";
    String respID = "";
    String authCode = "";
    int opResult = 0;
    public TransactionOp(int anID, double aPrice, int aSubID)
         ID = anID;
         price = aPrice;
         subsID = aSubID;     
         //op done values: 1: REF, 2: DCL, 3: AUTH, 4: AUTH_NoID
         //op errors: -1: noResponse, -2: noAuthResp, -3: noStatus, -4: no gw.
    //class AddressCC: #2
    class AddressCC
    String zipcode = "";
    String city = "";
    String state = "";
    String country = "";
    String address1 = "";
    public AddressCC(String addr1, String city1, String state1, String country1, String zipcode1)
         address1 = addr1;
         city = city1;
         state = state1;
         country = country1;
         zipcode = zipcode1;
    //class InfoCC: #3
    class InfoCC
    String fullName = "";
    String number = "";
    String expDate = "";
    public InfoCC(String name, String number1, String date)
         fullName = name;
         number = number1;
         expDate = date;
    public class SurePayGW
    //instance fields
    private String merchant = "";//merchant = aMode
    private String password = "";
    private String server = "";
    private int subsID = 0;
    public SurePayGW()
         merchant = "34593";
         password = "hnbv78hj6";
         server = "xml.surepay.com";     
    }//endof constructor:SurePayGW
    //String formattedS = "\"" + s + "\"";
    public void spitDoc(SurePayGW sp, AddressCC address, InfoCC ccInfo, TransactionOp trans)
         String xmlBuf = "<!DOCTYPE pp.request PUBLIC \"-//IMALL//DTD PUREPAYMENTS 1.0//EN\" \"http://www.purepayments.com/dtd/purepayments.dtd\">";     
         xmlBuf = xmlBuf + "<pp.request merchant=" + "\"" + sp.merchant+ "\" password=" + "\"" + sp.password+ "\">";
         xmlBuf = xmlBuf + "<pp.auth ecommerce=\"true\" ordernumber=" + "\"" + trans.ID + "\" recurring=\"false\">";     
         xmlBuf = xmlBuf + "<pp.creditcard number=" + "\"" + ccInfo.number + "\" expiration=" + "\"" + ccInfo.expDate.charAt(0) + ccInfo.expDate.charAt(1)+ "/" + ccInfo.expDate.charAt(2) + ccInfo.expDate.charAt(3) + "\">";          
         xmlBuf = xmlBuf + "<pp.address type=\"billing\" zip=" + "\"" + address.zipcode + "\" city=" + "\"" + address.city + "\" state=" + "\"" + address.state + "\" country=" + "\"" + address.country + "\" fullname=" + "\"" + ccInfo.fullName + "\" address1=" + "\"" + address.address1 + "\"/>";
         xmlBuf = xmlBuf + "</pp.creditcard>";     
         xmlBuf = xmlBuf + "<pp.address type=\"shipping\" zip=" + "\"" + address.zipcode + "\" city=" + "\"" + address.city + "\" state=" + "\"" + address.state + "\" country=" + "\"" + address.country + "\" fullname=" + "\"" + ccInfo.fullName + "\" address1=" + "\"" + address.address1 + "\"/>";     
         xmlBuf = xmlBuf + "<pp.lineitem sku=\"R" + trans.subsID + "Zg\" description=\"Subscription Renewal\" taxrate=\"0\" quantity=\"1\" unitprice=\"" + trans.price + "USD\"/>";
         xmlBuf = xmlBuf + "</pp.auth></pp.request>";
         //print("@DBG [SurePayDoc.submitTransaction]: will send %s" % xmlBuf)
         trans.xmlDoc= xmlBuf;
         //System.out.println("This the final result of xmlBuf: ");
         //System.out.println(xmlBuf);
         //System.out.println("trans.xmlDoc = " + trans.xmlDoc);
    }//endof m: spitDoc
    public void submitTransaction(SurePayGW sp, TransactionOp aTrans)
         String param = "";
         HttpURLConnection connection;
         URL url;
         String urlString = "";
         String input = "";
         String response = "";
         try
              //params= urllib.urlencode({'xml' : aTrans.xmlDoc})
              param = java.net.URLEncoder.encode(aTrans.xmlDoc, "UTF-8");
              //System.out.println("The output from java.net.URLEncoder.encode: " + param);
              //link= httplib.HTTPSConnection(self.server)
              urlString = "https://" + sp.server;
              url = new URL(urlString);
              connection = (HttpURLConnection)url.openConnection();          
              System.out.println(connection.getURL());          
              System.out.println(connection.getResponseCode() + " " + connection.getResponseMessage());          
              System.out.println(connection.getURL());
              connection.setDoInput(true);
              connection.setDoOutput(true);
              connection.setUseCaches(false);
              //link.putrequest('POST', '/')
         connection.setRequestMethod("POST");
              //link.putheader('Content-type', 'application/x-www-form-urlencoded')
              //link.putheader('Content-length', ("%d" % len(params)))
              //link.putheader('Accept', 'text/plain')
              connection.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
              connection.setRequestProperty("Content-length", param.length());
              connection.setRequestProperty("Accept", "text/plain");
              //link.endheaders()
              connection.connect();
              System.out.println("Client : Connected");
              //link.send(params)
              //response= link.getresponse()
              //data= response.read()     
              DataOutputStream out = new DataOutputStream(connection.getOutputStream());
              System.out.println("Client : Writing Content");
              out.writeBytes(content);
              System.out.println("Client : Flushing Stream");
              out.flush();
              System.out.println("Client : Waiting for response from Server");
              BufferedReader in = new BufferedReader(new InputStreamReader(http.getInputStream()));
              System.out.println("Client : Opened input stream");
              while((input = in.readLine()) != null)
                   response += input + "\r";
              System.out.println("Client : received : "+response);
              //I'm not bothering to close the streams or http connection yet.
         }//endof: try
         catch (MalformedURLException e)
              e.printStackTrace();
         catch (Exception e)
              e.printStackTrace();
    }//endof m:submitTransaction
    }//endof class:SurePayGW

  • CIDX adapter !DOCTYPE - addition for Preamble and ServiceHeader

    We are using the CIDX adapter in PI 7.1 for sending the OrderCreate 4.0 message to a partner.
    When the partner received a first message they had the following remark:
    We are not sending the reference to the DTD for Preamble and ServiceHeader part:
    Partner expects:
    <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE Preamble SYSTEM "PreamblePartMessageGuideline.dtd">
    <Preamble><DateTimeStamp>20090724T064154.122Z</DateTimeStamp><GlobalAdministeringAuthorityCode>CIDX</GlobalAdministeringAuthorityCode><GlobalUsageCode>Test</GlobalUsageCode><VersionIdentifier>1.1</VersionIdentifier></Preamble>
    We are sending:
    <?xml version="1.0" encoding="UTF-8"?>
    <Preamble><DateTimeStamp>20090724T064154.122Z</DateTimeStamp><GlobalAdministeringAuthorityCode>CIDX</GlobalAdministeringAuthorityCode><GlobalUsageCode>Test</GlobalUsageCode><VersionIdentifier>1.1</VersionIdentifier></Preamble>
    My questions:
    Is this really part of the CIDX standard, or can then be left out?
    Is  there something that I forgot to set up?
    Any way I can get it in?
    Thanks
    Thierry Boeve

    Hi Satish
    I don't have a schema for this, it's all handled by the CIDX adapter. 
    The OrderCreate message is the only part that I can handle myself, all the enveloping is standard. 
    The problem is with the Preamble and Service header.
    Content-Type:application/x-rosettanet-agent
      &ÏMessage-ID: <490755631.141248417714315.JavaMail.pxdadmbeevssd2.int.huntsman.com>
    MIME-Version: 1.0
    Content-Type: multipart/related;
         boundary="----=_Part_688_1226761625.1248417714232";
         type="Application/x-ChemXML"
    Content-Description: This is the RosettaNet Business Message
    ------=_Part_688_1226761625.1248417714232
    Content-Type: Application/XML; RNSubType="preamble-header"
    Content-Transfer-Encoding: binary
    Content-ID: preamble-header.1362cb80781d11deb638001125bd0fd4sap.com
    <?xml version="1.0" encoding="UTF-8"?><Preamble><DateTimeStamp>20090724T064154.122Z</DateTimeStamp><GlobalAdministeringAuthorityCode>CIDX</GlobalAdministeringAuthorityCode><GlobalUsageCode>Test</GlobalUsageCode><VersionIdentifier>1.1</VersionIdentifier></Preamble>
    ------=_Part_688_1226761625.1248417714232
    Content-Type: Application/XML; RNSubType="service-header"
    Content-Transfer-Encoding: binary
    Content-ID: service-header.13656390781d11de8dd6001125bd0fd4sap.com
    <?xml version="1.0" encoding="UTF-8"?><ServiceHeader><ProcessControl><ProcessIdentity><GlobalProcessCode>OrderCreate</GlobalProcessCode><GlobalProcessIndicatorCode>E41</GlobalProcessIndicatorCode><initiatingPartner><GlobalBusinessIdentifier>405338377</GlobalBusinessIdentifier></initiatingPartner><InstanceIdentifier>1312afb0781d11de86e9001125bd0fd4</InstanceIdentifier><VersionIdentifier>4.0</VersionIdentifier></ProcessIdentity><ServiceRoute><fromService><BusinessServiceDescription><GlobalBusinessServiceCode>Buyer Service</GlobalBusinessServiceCode></BusinessServiceDescription></fromService><toService><BusinessServiceDescription><GlobalBusinessServiceCode>Seller Service</GlobalBusinessServiceCode></BusinessServiceDescription></toService></ServiceRoute><TransactionControl><AttemptCount>1</AttemptCount><PartnerRoleRoute><fromRole><PartnerRoleDescription><GlobalPartnerRoleClassificationCode>Buyer</GlobalPartnerRoleClassificationCode></PartnerRoleDescription></fromRole><toRole><PartnerRoleDescription><GlobalPartnerRoleClassificationCode>Seller</GlobalPartnerRoleClassificationCode></PartnerRoleDescription></toRole></PartnerRoleRoute><TransactionIdentity><GlobalTransactionCode>OrderCreate</GlobalTransactionCode><InstanceIdentifier>1312afb0781d11de86e9001125bd0fd4</InstanceIdentifier></TransactionIdentity><ActionControl><ActionIdentity><GlobalBusinessActionCode>OrderCreate</GlobalBusinessActionCode><InstanceIdentifier>1347f080781d11de8d5b001125bd0fd4</InstanceIdentifier><VersionIdentifier>4.0</VersionIdentifier></ActionIdentity><GlobalDocumentFunctionCode>Request</GlobalDocumentFunctionCode><PartnerRoute><fromPartner><PartnerDescription><BusinessDescription><GlobalBusinessIdentifier>405338377</GlobalBusinessIdentifier></BusinessDescription><GlobalPartnerClassificationCode>Buyer</GlobalPartnerClassificationCode></PartnerDescription></fromPartner><toPartner><PartnerDescription><BusinessDescription><GlobalBusinessIdentifier>387453178</GlobalBusinessIdentifier></BusinessDescription><GlobalPartnerClassificationCode>Seller</GlobalPartnerClassificationCode></PartnerDescription></toPartner></PartnerRoute><PerformanceControlRequest><timeToAcknowledgeReceipt><TimeDuration>00000003T000000.000Z</TimeDuration></timeToAcknowledgeReceipt></PerformanceControlRequest></ActionControl></TransactionControl></ProcessControl></ServiceHeader>
    ------=_Part_688_1226761625.1248417714232
    Content-Type: Application/XML; RNSubType="service-content"
    Content-Transfer-Encoding: binary
    Content-ID: service-content.1367fba0781d11deac08001125bd0fd4sap.com
    <?xml version="1.0" encoding="utf-8"?>
    <OrderCreate Version="4.0">
      <Header>
        <ThisDocumentIdentifier>
          <DocumentIdentifier>4A65D83286B800B8E1008000CDEB6913</DocumentIdentifier>
        </ThisDocumentIdentifier>
        <ThisDocumentDateTime>
          <DateTime DateTimeQualifier="On">2009-07-24T06:41:42Z</DateTime>
        </ThisDocumentDateTime>
      </OrderCreateBody>
    </OrderCreate>
    ------=_Part_688_1226761625.1248417714232--
    Edited by: Thierry Boeve on Aug 3, 2009 9:55 AM

  • DOCTYPE in HTML pages.

              Hi,
              in weblogic510, the html pages created by a servlet (using HTMLKONA) contain
              the DOCTYPE as follows:
              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
              Is it possible to change this to something like this?:
              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
              (or)
              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
              "http://www.w3.org/TR/html4/loose.dtd">
              This is important because the IE6 renders pages strictly on the DOCTYPE declarations.
              I appreciate your help.
              

    Yes, I wasn't very clear in my question, sorry.  When I created a page I was expecting to this code:
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    That is what I am referring to.
    Is that code even nessecary?

  • HTML quirks doctype

    Hi All,
    As far as I know, WebLogic Portal 8.1 has "standards compliance" Look and Feels out-of-the-box. And WebLogic Portal 9.2 has "legacy" Look and Feel, which renders HTML in "quirks" mode.
    And we have problems with that, because HTML content of our remote portlet (accessed via wsrp) is not "standards mode" compatible and thus not properly displayed on out-of-the-box Look and Feels.
    Does anybody faced problem like this? And what is the best solution? Develop custom "quirks" Look and Feel? Or is there any other "quirks" Look and Feel (except "legacy") that can be used for such purpose?
    Please share your expirence.
    Thanks in advance,
    Dzianis

    Hi Walter,
    I don't remember the reasons to choose this DOCTYPE. Maybe we did not
    consider all options. At any rate, the DOCTYPE has to work with all
    supported browsers as the same HTML code is delivered to all of them, so
    changing it would require thorough testing.
    If you think there are good reasons to change it, please open a bug in
    bugzilla. This way, your points won't get lost.
    Regards, Ralf
    Walter Rumsby wrote:
    > There are no rendering issues with IE8, but that's to be expected
    > because the DOCTYPE triggers quirks mode rendering. You may be using
    > IE8, but since it's pretending to be IE7 in quirks mode the experience
    > should be the same as for IE7.
    >
    > However, it is possible to force IE8 to use IE8 Standards Mode rendering
    > either via the Developer Tools or if you configure your web
    > server/servlet container to set the X-UA-Compatible header to IE=8.
    > Using the Developer Tools I forced the use of IE8 Standards Mode and
    > didn't notice any issues, although I didn't perform any indpeth testing.
    >
    > The reason I noticed the DOCTYPE was that I was trying to work out why a
    > widget in our RAP-based application that relies on excanvas worked when
    > I used IE8 - it shouldn't have been working since all but the latest
    > version of the library do not work with IE8 (as expected the widget
    > didn't work when using IE8 Standards Mode). If RAP used a DOCTYPE that
    > triggered standards mode the behaviour would be different and
    > applications in the Internet Zone would render in IE8 Standards Mode (by
    > default applications in the Intranet Zone would render in IE7
    > Compatibility Mode).
    >
    > My interest in any possible change to the DOCTYPE and rendering mode is
    > because we've developed some inhouse guidelines for developers, support
    > and QA around ensuring IE8 support and having a better understanding
    > RAP's direction here would help with guidelines specifically for parts
    > of our application suite that rely on RAP.
    >

  • Set up my own HTML 5 DocType

    I would like to set up my own HTML 5 DocType, eg: "mydefault.html" file in Dreamweaver CS6 to have an additional code.
    I have been searching everywhere to find out how to do it without success.
    Can you please point me where and how to set up?

    Hi Preran,
    The code i intend to add is something like:
    <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
    <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
    <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
    <!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    What i expect is i can set my own HTML 5 DocType, so i can select this customize blank page & the additonal code i want is already insde there, so i no need to type manual everytime when create a blank page. Thx...

  • Spry image slideshow not displaying as expected

    Hoping someone in this forum can help, as I have previously posted this problem in the Spry forum, but I only got one answer and it didn't seem to fix the problem.
    I used the widget browser to place a copy of the 'spry image slideshow with filmstrip' widget on to one of my web pages. When this page displays, there is a big gap (like excess padding) above the main image (between the outer frame and the main image frame). I can't see why this is happening or what bit of HTML/CSS to tweak to sort it out.
    I have uploaded my test page to the server and you can see it here:
    http://www.hebrideansheep.org.uk/test_gallery.html
    any and all help gratefully received.
    John

    The problem lies with stylesheet.css. If you delete that, you will see that the slideshow will display as expected.
    When doing a layout for the page, just look at the basics. In your case you have got a header, a sidebar, main content and a footer, all within a width of 960px and centered within the viewport. The basic CSS for the layout would look like
    /* CSS Document */
    html {
        margin: 0px;
        color: #666;
        font-size: 12px;
        font-family: Arial;
        background: #666 url(images/page_bkgd.jpg) repeat-x;
    body {
        width: 960px;
        margin: auto;
        background: #FFF url(images/content_bkgd_tile.jpg) repeat-y;
    #header {
        height: 180px;
        background: #4971a2 url(images/banner_bkgd.jpg) no-repeat;
    #aside {
        width: 20%;
        float: left;
        /*----for this example only*/
        background: #cfcfcf;
        min-height: 400px;
        /*----end for this example only*/
    #article {
        width: 80%;
        float: left;
        min-height: 400px; /*for this example only*/
    #footer {
        clear: both;
        height: 88px;
        background: #cfcfcf url(images/footer_bkgd.jpg) no-repeat;
    The HTML will look like
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="untitled.css" rel="stylesheet">
    </head>
    <body>
    <div id="header">
      <h1>My Header</h1>
    </div>
    <div id="aside">
        My Menu Bar
    </div>
    <div id="article">
        this is where the slideshow goes
    </div>
    <div id="footer">
        my copyright etc
    </div>
    </body>
    </html>
    Gramps

  • ""." expected" error when compiling jsp page

    Hi all,
    I moved to develop all my applications from IBM WASD to JDeveloper but when I compile the projects in JDev, there's error ""." expected" for nearly all jsp pages. But these jsp pages for sure are working very well since almost of them are in production.
    Could you help me to get rid of this.
    Thanks in advance.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@page language = "java"
    contentType = "text/html"
    session = "true"
    autoFlush = "true"
    import = "java.util.*,java.sql.*,C_DBHandler"
    buffer = "4kb"
    isThreadSafe = "true"
    info = "Common File"
    %>
    <jsp:useBean id="hndQuery" scope="page" class="C_DBHandler" />
    <%
    // these are the application settings included in the pages where needed
    String txtQuery = ""; // SQL statement
    String ipaddress = "";
    String ipport = "";
    String virtualdir = "";
    String rowdisplay = "";
    hndQuery.doConnect((String)request.getAttribute("DB_DRIVER"),
    (String)request.getAttribute("URL_CONNECTION"),
    (String)request.getAttribute("CMN.USER_ID"),
    (String)request.getAttribute("CMN.USER_PASS"));
    txtQuery = "select ip_address, ip_port, virtual_dir, row_display from xserver_config where environment='Live' and application='M13000'";
    hndQuery.doSelect (txtQuery, 1);
    if (hndQuery.getRowCount() > 0)
    hndQuery.moveFirst ();
    ipaddress = hndQuery.getColumn("IP_ADDRESS");
    ipport = hndQuery.getColumn("IP_PORT");
    virtualdir = hndQuery.getColumn("VIRTUAL_DIR");
    rowdisplay = hndQuery.getColumn("ROW_DISPLAY");
    request.setAttribute("CE_SERVER", ipaddress+":"+ipport+"/"+virtualdir);
    request.setAttribute("ROW_DISPLAY", rowdisplay);
    hndQuery.doDisConnect();
         hndQuery.finalize();
    %><HTML>
    <HEAD>
    <META name="GENERATOR" content="IBM WebSphere Studio">
    </HEAD>
    </HTML>
    The jsp page is as above. And the error line is line 1. It 's always line 1 no matter what content of that line.

Maybe you are looking for

  • Executing batch file using SM49 Tcode

    Hi, Theirs a batch file which is used to encrypt a text file ie from '.txt' to '.enc'. Seperate Encryption software and Java Pakage is used. When in SM49 the operating system command is executed,its throwing error File Not Found Exception. ie call fa

  • ISE 1.3 Internal CA

    Hi,      I am looking for some assistance on the new local CA. My client provisions and launches the Cisco Network Setup Assistant but once I hit start, the client fails. Tail logs off the ISE node produce the following.. 2015-01-09 16:00:00,155 WARN

  • Printing Linked List in reverse

    Hi Im trying to print a linked list in reverse order.. ive tried to put the objects into an array stack and then start printing form the top of the stack. any ideas?

  • Can i upgrade software version on ipod touch?

    Hi...I have an ipod touch with version 4.1 i think as the ios. I want to be able to use some apps, can i purchase an upgrade for the ios? thanks.

  • PLEASE HELP!!!! Songs not allowed to load on iPod.....

    How do I get iTunes to default back to it's settings?? when I first opened iTunes it said that my audio might not work correctly. So a check box appeared and being totally stupid, I checked all the boxes. Now I can't get back!!!!  I have tried to loa