Exception when parsing schema with XJC

Using the command "xjc -d C:\Temp -p sbxml C:\Temp\sb2.xsd" in attempt to generate java classes for my schema I get the error below. The schema is well-formed and valid according to XMLSpy. The schema in question is found below the error. Thanks.
Mark
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
at com.sun.msv.verifier.identity.IDConstraintChecker.feedAttribute(IDConstraintChecker.java:218)
at com.sun.msv.verifier.Verifier.startElement(Verifier.java:204)
at org.iso_relax.verifier.impl.VerifierFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScanner
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:151)
at com.sun.xml.xsom.impl.parser.XSOMParser.parse(XSOMParser.java:116)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:511)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by Mark (CMH) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
     <xs:element name="INFO_EX">
          <xs:annotation>
               <xs:documentation>Collection of data for any number of days</xs:documentation>
          </xs:annotation>
          <xs:complexType>
               <xs:sequence>
                    <xs:element name="DAILY_INFO" minOccurs="0" maxOccurs="unbounded">
                         <xs:annotation>
                              <xs:documentation>Collection of data for all areas for a single day</xs:documentation>
                         </xs:annotation>
                         <xs:complexType>
                              <xs:sequence>
                                   <xs:element name="AREA_INFO" type="AREA_INFO_TYPE" minOccurs="0" maxOccurs="unbounded"/>
                              </xs:sequence>
                              <xs:attribute name="DATE_TODAY" type="xs:date" use="required"/>
                         </xs:complexType>
                    </xs:element>
               </xs:sequence>
          </xs:complexType>
     </xs:element>
     <xs:complexType name="AREA_INFO_TYPE">
          <xs:annotation>
               <xs:documentation>Collection of data for a single area for a single day</xs:documentation>
          </xs:annotation>
          <xs:sequence>
               <xs:element name="FIELD_OBS" type="FIELD_OBS_TYPE" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="AVALANCHE" type="AV_TYPE" minOccurs="0" maxOccurs="unbounded"/>
               <xs:element name="NOTABLE" type="NOTABLE_TYPE" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
          <xs:attribute name="AREA_ABBREV" type="AREA_ABBREV_TYPE" use="required"/>
     </xs:complexType>
     <xs:complexType name="FIELD_OBS_TYPE">
          <xs:annotation>
               <xs:documentation>Collection of a day's field observations</xs:documentation>
          </xs:annotation>
          <xs:sequence>
               <xs:element name="GEO_ID" type="SB_ID_TYPE"/>
               <xs:element name="SKY_PM" type="SKY_TYPE"/>
               <xs:element name="SKY_AM" type="SKY_TYPE"/>
               <xs:element name="SKI_ELEV_MAX" type="xs:unsignedShort"/>
               <xs:element name="SKI_ELEV_MIN" type="xs:unsignedShort"/>
               <xs:element name="SKI_METERS" type="xs:unsignedShort"/>
               <xs:element name="SKI_QUALITY">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:enumeration value="P"/>
                              <xs:enumeration value="F"/>
                              <xs:enumeration value="G"/>
                              <xs:enumeration value="E"/>
                              <xs:enumeration value=""/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="HI_TEMP" type="xs:decimal"/>
               <xs:element name="LO_TEMP" type="xs:decimal"/>
               <xs:element name="XPORT_AM" type="TRANSPORT_TYPE"/>
               <xs:element name="XPORT_PM" type="TRANSPORT_TYPE"/>
               <xs:element name="HN24" type="xs:int"/>
               <xs:element name="FO_DATE" type="xs:date" minOccurs="0"/>
               <xs:element name="W_SPD_AM" type="WIND_SPEED_TYPE"/>
               <xs:element name="W_SPD_PM" type="WIND_SPEED_TYPE"/>
               <xs:element name="DTMOD" type="xs:dateTime"/>
               <xs:element name="AV_ACTIVITY" type="xs:string"/>
               <xs:element name="PRECIP_AM" type="PRECIP_TYPE"/>
               <xs:element name="PRECIP_PM" type="PRECIP_TYPE"/>
               <xs:element name="FO_REMARK" type="xs:string"/>
               <xs:element name="NIL_NEW" type="xs:boolean"/>
               <xs:element name="PERCENT_OBS" type="xs:unsignedShort"/>
               <xs:element name="HS" type="xs:integer"/>
               <xs:element name="W_DIR_AM" type="WIND_DIRECTION_TYPE"/>
               <xs:element name="W_DIR_PM" type="WIND_DIRECTION_TYPE"/>
               <xs:element name="SFC2" type="SURFACE_TYPE"/>
               <xs:element name="SFC1" type="SURFACE_TYPE"/>
               <xs:element name="XPORT_DIR_AM" type="TRANSPORT_DIRECTION_TYPE"/>
               <xs:element name="XPORT_DIR_PM" type="TRANSPORT_DIRECTION_TYPE"/>
          </xs:sequence>
          <xs:attribute name="FO_ID" type="SB_ID_TYPE" use="required"/>
     </xs:complexType>
     <xs:complexType name="NOTABLE_TYPE">
          <xs:annotation>
               <xs:documentation>Data concerning a notable event</xs:documentation>
          </xs:annotation>
          <xs:sequence>
               <xs:element name="AV_ID" type="SB_ID_TYPE" minOccurs="0"/>
               <xs:element name="PARTY_SIZE" type="xs:unsignedShort"/>
               <xs:element name="CAUGHT" type="xs:unsignedShort"/>
               <xs:element name="PARTLY_BURIED" type="xs:unsignedShort"/>
               <xs:element name="BURIED" type="xs:unsignedShort"/>
               <xs:element name="INJURED" type="xs:unsignedShort"/>
               <xs:element name="FATALITIES" type="xs:unsignedShort"/>
               <xs:element name="REMARK" type="xs:string"/>
               <xs:element name="DTMOD" type="xs:dateTime"/>
               <xs:element name="NTBL_IMG" type="xs:hexBinary" minOccurs="0"/>
               <xs:element name="NTBL_TIME" type="xs:time"/>
               <xs:element name="NTBL_DATE" type="xs:date"/>
               <xs:element name="MAIN_IMGLINK_ID" type="SB_ID_TYPE" minOccurs="0"/>
               <xs:element name="NTBL_GEO_ID" type="SB_ID_TYPE" minOccurs="0"/>
          </xs:sequence>
          <xs:attribute name="NOTABLE_ID" type="SB_ID_TYPE" use="required"/>
     </xs:complexType>
     <xs:complexType name="AV_TYPE">
          <xs:annotation>
               <xs:documentation>Data concerning a single avalanche</xs:documentation>
          </xs:annotation>
          <xs:sequence>
               <xs:element name="LENGTH_MIN" type="xs:unsignedInt"/>
               <xs:element name="LENGTH_MAX" type="xs:unsignedInt"/>
               <xs:element name="REMARK" type="xs:string"/>
               <xs:element name="LWC">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:enumeration value="Dry"/>
                              <xs:enumeration value="Moist"/>
                              <xs:enumeration value="Wet"/>
                              <xs:enumeration value=""/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="AV_SIZE">
                    <xs:simpleType>
                         <xs:restriction base="xs:float">
                              <xs:minInclusive value="1"/>
                              <xs:maxInclusive value="5"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="SKIABLE">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:enumeration value="Y"/>
                              <xs:enumeration value="N"/>
                              <xs:enumeration value="N-Y"/>
                              <xs:enumeration value=""/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="GEO_ID" type="SB_ID_TYPE" minOccurs="0"/>
               <xs:element name="THICK_MIN" type="xs:unsignedInt"/>
               <xs:element name="NUM">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:pattern value="[0-9]*"/>
                              <xs:pattern value="Sev"/>
                              <xs:pattern value="Num"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="WIDTH_MIN" type="xs:unsignedInt"/>
               <xs:element name="WIDTH_MAX" type="xs:unsignedInt"/>
               <xs:element name="MAIN_IMGLINK_ID" type="SB_ID_TYPE" minOccurs="0"/>
               <xs:element name="THICK_MAX" type="xs:unsignedInt"/>
               <xs:element name="THICK_MIN" type="xs:unsignedInt"/>
               <xs:element name="DTMOD" type="xs:dateTime"/>
               <xs:element name="TYPE">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:enumeration value="Slab"/>
                              <xs:enumeration value="Loose"/>
                              <xs:enumeration value=""/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="AV_DATE" type="xs:date"/>
               <xs:element name="AV_TIME" type="xs:time"/>
               <xs:element name="AV_TRIGGER">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="15"/>
                              <xs:pattern value="N[aci].*|S[acry].*|H[acry].*|X[hcryer].*"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="BEDSFC_FORMANDSIZE">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:enumeration value="RG"/>
                              <xs:enumeration value="DF"/>
                              <xs:enumeration value="CR"/>
                              <xs:enumeration value="IM"/>
                              <xs:enumeration value="WG"/>
                              <xs:enumeration value="FC"/>
                              <xs:enumeration value=""/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="AV_LEVEL">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:enumeration value="Old"/>
                              <xs:enumeration value="Storm"/>
                              <xs:enumeration value="Ground"/>
                              <xs:enumeration value="Glacier"/>
                              <xs:enumeration value=""/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="ASPECT">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:enumeration value="N"/>
                              <xs:enumeration value="NE"/>
                              <xs:enumeration value="E"/>
                              <xs:enumeration value="SE"/>
                              <xs:enumeration value="S"/>
                              <xs:enumeration value="SW"/>
                              <xs:enumeration value="W"/>
                              <xs:enumeration value="NW"/>
                              <xs:enumeration value="All"/>
                              <xs:enumeration value=""/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="WKLYR_DATE"/>
               <xs:element name="TIMERANGE" type="xs:unsignedInt"/>
               <xs:element name="INCLINE">
                    <xs:simpleType>
                         <xs:restriction base="xs:unsignedInt">
                              <xs:minInclusive value="0"/>
                              <xs:maxInclusive value="180"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="ELEV_MIN" type="xs:unsignedInt"/>
               <xs:element name="ELEV_MAX" type="xs:unsignedInt"/>
               <xs:element name="AV_CUTBLOCK">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="1"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="LOC_DESCRIPTION">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="30"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="WKLYR_FORMANDSIZE">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:enumeration value="PP"/>
                              <xs:enumeration value="SH"/>
                              <xs:enumeration value="FC"/>
                              <xs:enumeration value="DF"/>
                              <xs:enumeration value="WG"/>
                              <xs:enumeration value="DH"/>
                              <xs:enumeration value=""/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="NTBL" type="xs:boolean"/>
          </xs:sequence>
          <xs:attribute name="AV_ID" type="SB_ID_TYPE" use="required"/>
     </xs:complexType>
     <xs:simpleType name="SB_ID_TYPE">
          <xs:annotation>
               <xs:documentation>Reference type</xs:documentation>
          </xs:annotation>
          <xs:restriction base="xs:string">
               <xs:maxLength value="10"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="AREA_ABBREV_TYPE">
          <xs:restriction base="xs:string">
               <xs:enumeration value="AD"/>
               <xs:enumeration value="BB"/>
               <xs:enumeration value="BU"/>
               <xs:enumeration value="BA"/>
               <xs:enumeration value="CA"/>
               <xs:enumeration value="GL"/>
               <xs:enumeration value="GO"/>
               <xs:enumeration value="MO"/>
               <xs:enumeration value="MB"/>
               <xs:enumeration value="RE"/>
               <xs:enumeration value="KO"/>
               <xs:enumeration value="VA"/>
               <xs:enumeration value="ST"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="SKY_TYPE">
          <xs:annotation>
               <xs:documentation>Restricts choices of sky observations</xs:documentation>
          </xs:annotation>
          <xs:restriction base="xs:string">
               <xs:enumeration value="CLR"/>
               <xs:enumeration value="OVC"/>
               <xs:enumeration value="BKN"/>
               <xs:enumeration value="SCT"/>
               <xs:enumeration value="X"/>
               <xs:enumeration value=""/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="PRECIP_TYPE">
          <xs:annotation>
               <xs:documentation>Restricts choices of precipation observations</xs:documentation>
          </xs:annotation>
          <xs:restriction base="xs:string">
               <xs:enumeration value="NIL"/>
               <xs:enumeration value="S-1"/>
               <xs:enumeration value="S1"/>
               <xs:enumeration value="S2"/>
               <xs:enumeration value="S3"/>
               <xs:enumeration value="S4"/>
               <xs:enumeration value="RV"/>
               <xs:enumeration value="RL"/>
               <xs:enumeration value="RH"/>
               <xs:enumeration value="RS"/>
               <xs:enumeration value="G"/>
               <xs:enumeration value="ZR"/>
               <xs:enumeration value=""/>
               <xs:enumeration value="RM"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="WIND_SPEED_TYPE">
          <xs:annotation>
               <xs:documentation>Restricts the choices of wind speed observations</xs:documentation>
          </xs:annotation>
          <xs:restriction base="xs:string">
               <xs:enumeration value="C"/>
               <xs:enumeration value="L"/>
               <xs:enumeration value="M"/>
               <xs:enumeration value="S"/>
               <xs:enumeration value="X"/>
               <xs:enumeration value=""/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="TRANSPORT_DIRECTION_TYPE">
          <xs:annotation>
               <xs:documentation>Enumeration of directions</xs:documentation>
          </xs:annotation>
          <xs:restriction base="xs:string">
               <xs:enumeration value="N"/>
               <xs:enumeration value="NE"/>
               <xs:enumeration value="E"/>
               <xs:enumeration value="SE"/>
               <xs:enumeration value="S"/>
               <xs:enumeration value="SW"/>
               <xs:enumeration value="W"/>
               <xs:enumeration value="NW"/>
               <xs:enumeration value=""/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="TRANSPORT_TYPE">
          <xs:annotation>
               <xs:documentation>Restricts the choices of transport observations</xs:documentation>
          </xs:annotation>
          <xs:restriction base="xs:string">
               <xs:enumeration value="Nil"/>
               <xs:enumeration value="Prv"/>
               <xs:enumeration value="M"/>
               <xs:enumeration value="I"/>
               <xs:enumeration value="U"/>
               <xs:enumeration value=""/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="SURFACE_TYPE">
          <xs:annotation>
               <xs:documentation>Restricts the choices of the surface descriptions</xs:documentation>
          </xs:annotation>
          <xs:restriction base="xs:string">
               <xs:enumeration value="PP"/>
               <xs:enumeration value="DF"/>
               <xs:enumeration value="RG"/>
               <xs:enumeration value="FC"/>
               <xs:enumeration value="DH"/>
               <xs:enumeration value="WG"/>
               <xs:enumeration value="SH"/>
               <xs:enumeration value="IM"/>
               <xs:enumeration value="CR"/>
               <xs:enumeration value=""/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="WIND_DIRECTION_TYPE">
          <xs:annotation>
               <xs:documentation>Restricts possible observed wind directions</xs:documentation>
          </xs:annotation>
          <xs:restriction base="xs:string">
               <xs:enumeration value="N"/>
               <xs:enumeration value="NE"/>
               <xs:enumeration value="E"/>
               <xs:enumeration value="SE"/>
               <xs:enumeration value="S"/>
               <xs:enumeration value="SW"/>
               <xs:enumeration value="W"/>
               <xs:enumeration value="NW"/>
               <xs:enumeration value="V"/>
               <xs:enumeration value=""/>
          </xs:restriction>
     </xs:simpleType>
</xs:schema>

myhrem, I've just come across exactly the same problem after amemding my schema. Fortunatley I hadn't changed much so it was possible to find out what caused the error. It is the empty enumeration element where value is equal to "" that causes xjc to throw the error.
I don't know if its right or wrong, in my case I was able to remove the empty element from the xsd.

Similar Messages

  • Persisting unexplained errors when parsing XML with schema validation

    Hi,
    I am trying to parse an XML file including XML schema validation. When I validate my .xml and .xsd in NetBeans 5.5 beta, I get not error. When I parse my XML in Java, I systematically get the following errors no matter what I try:
    i) Document root element "SQL_STATEMENT_LIST", must match DOCTYPE root "null".
    ii) Document is invalid: no grammar found.
    The code I use is the following:
    try {
    Document document;
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setValidating(true);
    factory.setNamespaceAware(true);
    DocumentBuilder builder = factory.newDocumentBuilder();
    document = builder.parse( new File(PathToXml) );
    My XML is:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!-- Defining the SQL_STATEMENT_LIST element -->
    <xs:element name="SQL_STATEMENT_LIST" type= "SQL_STATEMENT_ITEM"/>
    <xs:complexType name="SQL_STATEMENT_ITEM">
    <xs:sequence>
    <xs:element name="SQL_SCRIPT" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <!-- Defining simple type ApplicationType with 3 possible values -->
    <xs:simpleType name="ApplicationType">
    <xs:restriction base="xs:string">
    <xs:enumeration value="DawningStreams"/>
    <xs:enumeration value="BaseResilience"/>
    <xs:enumeration value="BackBone"/>
    </xs:restriction>
    </xs:simpleType>
    <!-- Defining the SQL_SCRIPT element -->
    <xs:element name="SQL_SCRIPT" type= "SQL_STATEMENT"/>
    <xs:complexType name="SQL_STATEMENT">
    <xs:sequence>
    <xs:element name="NAME" type="xs:string"/>
    <xs:element name="TYPE" type="xs:string"/>
    <xs:element name="APPLICATION" type="ApplicationType"/>
    <xs:element name="SCRIPT" type="xs:string"/>
    <!-- Making sure the following element can occurs any number of times -->
    <xs:element name="FOLLOWS" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    and my XML is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Document : SQLStatements.xml
    Created on : 1 juillet 2006, 15:08
    Author : J�r�me Verstrynge
    Description:
    Purpose of the document follows.
    -->
    <SQL_STATEMENT_LIST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://www.dawningstreams.com/XML-Schemas/SQLStatements.xsd">
    <SQL_SCRIPT>
    <NAME>CREATE_PEERS_TABLE</NAME>
    <TYPE>CREATION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    CREATE CACHED TABLE PEERS (
    PEER_ID           VARCHAR(20) NOT NULL,
    PEER_KNOWN_AS      VARCHAR(30) DEFAULT ' ' ,
    PRIMARY KEY ( PEER_ID )
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>CREATE_COMMUNITIES_TABLE</NAME>
    <TYPE>CREATION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    CREATE CACHED TABLE COMMUNITIES (
    COMMUNITY_ID VARCHAR(20) NOT NULL,
    COMMUNITY_KNOWN_AS VARCHAR(25) DEFAULT ' ',
    PRIMARY KEY ( COMMUNITY_ID )
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>CREATE_COMMUNITY_MEMBERS_TABLE</NAME>
    <TYPE>CREATION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    CREATE CACHED TABLE COMMUNITY_MEMBERS (
    COMMUNITY_ID VARCHAR(20) NOT NULL,
    PEER_ID VARCHAR(20) NOT NULL,
    PRIMARY KEY ( COMMUNITY_ID, PEER_ID )
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>DROP_PEER_TABLE</NAME>
    <TYPE>DELETION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    DROP TABLE PEERS IF EXISTS
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>DROP_COMMUNITIES_TABLE</NAME>
    <TYPE>DELETION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    DROP TABLE COMMUNITIES IF EXISTS
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>DROP_COMMUNITY_MEMBERS_TABLE</NAME>
    <TYPE>DELETION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    DROP TABLE COMMUNITY_MEMBERS IF EXISTS
    </SCRIPT>
    </SQL_SCRIPT>
    <SQL_SCRIPT>
    <NAME>CREATE_COMMUNITY_MEMBERS_VIEW</NAME>
    <TYPE>CREATION</TYPE>
    <APPLICATION>DawningStreams</APPLICATION>
    <SCRIPT>
    CREATE VIEW COMMUNITY_MEMBERS_VW AS
    SELECT P.PEER_ID, P.PEER_KNOWN_AS, C.COMMUNITY_ID, C.COMMUNITY_KNOWN_AS
    FROM PEERS P, COMMUNITIES C, COMMUNITY_MEMBERS CM
    WHERE P.PEER_ID = CM.PEER_ID
    AND C.COMMUNITY_ID = CM.COMMUNITY_ID
    </SCRIPT>
    <FOLLOWS>CREATE_PEERS_TABLE</FOLLOWS>
    <FOLLOWS>CREATE_COMMUNITIES_TABLE</FOLLOWS>
    </SQL_SCRIPT>
    </SQL_STATEMENT_LIST>
    Any ideas? Thanks !!!
    J�r�me Verstrynge

    Hi,
    I found the solution in the following post:
    Validate xml with DOM - no grammar found
    Sep 17, 2003 10:58 AM
    The solution is to add a line of code when parsing:
    try {
    Document document;
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setValidating(true);
    factory.setNamespaceAware(true);
    factory.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
    DocumentBuilder builder = factory.newDocumentBuilder();
    document = builder.parse( new File(PathToXml) );
    The errors are gone !!!
    J�r�me Verstrynge

  • Urgent: Out of message Exception when parsing large message with JavaMail

    I am using JavaMail to parse the message. If the size of the message I try to parse exceeds my memory setting, I will got the Out of memory error. I understand that, and it is reasonable.
    The question I have is: At the time I try to parse the message, I only want to know what the displayable text content of the message and some information about the attachement files like the attchment file name, file type, and file size. So I want to parse the message to get only those information without the body of the attachment files. In this case, I can avoid the "Out of memory" exception in most case. Is there anyway to do this with JavaMail 1.2?
    Thanks.

    Hi try to read only the header information of the mail it will give you the details

  • Xmlparser.parse fails when parsing xml with dtd

    Has anybody used successfully called xmlparser.parse in PL/SQL
    to parse an xml file with a dtd? When I try I get the following
    error:
    ERROR at line 1:
    ORA-20100: Error occurred while parsing: Invalid argument
    ORA-06512: at "SYS.XMLPARSER", line 22
    ORA-06512: at "SYS.XMLPARSER", line 69
    ORA-06512: at line 6
    When I remove the dtd reference from the xml file it works.
    (I posted this question yesterday but no responses, so I'm
    trying again...)
    Thanks - Dana

    Please see:
    http://forums.oracle.com/forums/message.jsp?id=617954
    for the solution. Thanks.

  • XMLStreamReader exception when using webservice with security access denied

    Hi,
    I'm using CXF webservices generated from a WSDL with SOAP document style. Under normal conditions, the client and server work fine, and can I read info back from the the server (SOAP http messages passed between both)
    However, for some servers, I am using SUNs Policy Agent, which checks for an authentication token in the http header cookie before allowing access to the web service. I set up the cxf service port as follow:
    Service service = Service.create(serviceName);
    service.addPort(portName, SOAPBinding.SOAP11HTTP_BINDING, address);
    servicePort = (IMyService)service.getPort(portName, IMyService.class);
    I also add the authentication token to the http header cookie in the service's request context.
    If the token is correct, everything works fine. However, if the token is incorrect, and access is denied, the policy agent does not return a SOAP http message. In this case, the web service method throws a low-level XMLStreamReader exception i.e. it can't read the SOAP message response - so I can't get the actual response from the policy agent.
    Would anyone have an idea on this? Should I configure the CXF port differently, or should I try to get the policy agent to return a SOAP message even if access is denied.
    There is already a browser that can access the policy agent - and this needs to be redirected if access is denied. So in effect, we need the redirect functionality for the browser, and the returned SOAP message for the application using the web service.
    Any help would be greatly appreciated!
    Rob

    Thanks for your answer.
    I eventually found a workaround for this problem.
    Actually you don't need to provide an SSO cookie the first time you connect to the webgate server, you just need to provide basic credentials and the webgate will provide you an SSO cookie that you can use for the next call.
    The problem is that this doesn't work out of the box with the .NET/WSDL framework for some reason (with Java + the HTTPClient library I had no problem).
    I had to had manually the following headers to the HTTP request to make it work:
    Authentication: Basic XXXXXXXX
    Cookie: OBBasicAuth=fromDialog
    Where XXXXXXXX is a base64 encoded string containing "login:password"
    Thanks,
    Franck

  • Register 12 VerifyError exception when compiling jsp with that jsp tag!

              Hi everybody,
              We implemented a tag which is charged with a simple task like just "out.println"s,
              on production with WL5.1 SP11,jdk1.2.
              Then we got java.lang.VerifyError exception which is also denoted at Giuseppe Madonna's
              mail on ( http://newsgroups2.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=6834&utag=
              ) that "java.lang.VerifyError: Register 12 contains wrong type"
              To be able to find the inconsistency in class files denoted at VerifyError exception,
              we delete the tmp dir. of web app resides in a war.
              Also the related java beans used in jsp tag and related jsp, are in a jar on our
              classpath and .tld file resides in the .war file of our web application.
              But also, I must define that it is our first tag implemented after we migrate to
              the .war file after the web application directory structure of same application(that
              old dir. also deleted), I know it is silly but, is it possible that WL can now refer
              to something related our previous directory structure of our app. like that old .tld
              file or classes?
              Or may it be related with the difference between jdk versions on the test and the
              production server?
              Any help will be really appreciated..
              Many thanks,
              Banu
              

              Start up weblogic with -
              java -noverify ....
              Mike
              "banu" <[email protected]> wrote:
              >
              >Hi everybody,
              >We implemented a tag which is charged with a simple task like just "out.println"s,
              >on production with WL5.1 SP11,jdk1.2.
              >
              >Then we got java.lang.VerifyError exception which is also denoted at Giuseppe
              >Madonna's
              >mail on ( http://newsgroups2.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=6834&utag=
              >) that "java.lang.VerifyError: Register 12 contains wrong type"
              >
              >To be able to find the inconsistency in class files denoted at VerifyError
              >exception,
              >we delete the tmp dir. of web app resides in a war.
              >
              >Also the related java beans used in jsp tag and related jsp, are in a jar
              >on our
              >classpath and .tld file resides in the .war file of our web application.
              >
              >But also, I must define that it is our first tag implemented after we migrate
              >to
              >the .war file after the web application directory structure of same application(that
              >old dir. also deleted), I know it is silly but, is it possible that WL can
              >now refer
              >to something related our previous directory structure of our app. like that
              >old .tld
              >file or classes?
              >
              >Or may it be related with the difference between jdk versions on the test
              >and the
              >production server?
              >
              >
              >Any help will be really appreciated..
              >Many thanks,
              >Banu
              >
              

  • CORBA.UNKNOWN Exception when displaying WebDynpro with AIF

    Hi,
    i get the following stacktrace when i try to disply a AIF in a Java WebDynpro:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Unhandled exception detected during a "Render" operation. Request start time: Wed Sep 27 15:50:05 CEST 2006 org.omg.CORBA.UNKNOWN: vmcid: 0x0 minor code: 0 completed: No Exception Stack Trace: org.omg.CORBA.UNKNOWN: vmcid: 0x0 minor code: 0 completed: No at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at com.sap.engine.services.iiop.server.portable.Delegate.invoke(Delegate.java:341) at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457) at com.adobe.document.xmlform._FormStub.renderAs(Unknown Source) at com.adobe.EJB_XMLFormAgent.renderAs(Unknown Source) at com.adobe.Render.execute(Unknown Source) at com.adobe.BaseADSRequest.doWork(Unknown Source) at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source) at
       at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:486)
        at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1154)
        at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
        at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
        ... 21 more
    We are on NW2004, ADS SPS 14.
    I checked that the ADS is configured properly via its webservice. The version info returned is:
    700.20050511160951.1
    Has anybody else had this problem?
    What am i doing wrong?
    Any comments are appreciated.
    regards
         Dirk

    Yes, i have.
    Removing that logo does not change the outcome however.
    Any other thoughts about this problem?
    regards
        Dirk

  • Incorrect warning when parsing query with group by clause

    I am using SQL Developer 4.0.0.13.80 with JDK 1.7.0_51 x64 on Windows 8.1
    I have the following SQL, which works perfectly:
    select substr(to_char(tot_amount), 0, 1) as digit, count(*)
    from transactions
    where tot_amount <> 0
    group by substr(to_char(tot_amount), 0, 1)
    order by digit;
    However, SQL Developer is yellow-underlining the first line, telling me that:
    SELECT list is inconsistent with GROUP BY; amend GROUP BY clause to: substr(to_char(rep_tot_amount), 0, 1), substr(to_char(rep_tot_amount),
    which is clearly wrong.
    Message was edited by: JamHan
    Added code formatting.

    Hello,
    I also have found the same issue with the GROUP BY hint. Another problem I found is that the hint suggests to amend the GROUP BY members to add also constant values that are included in the SELECTed columns and whenever those constants include strings with spaces, it generates an invalid query. Normally, constant values won't affect grouping functions and as such they can be omitted from the GROUP BY members, but it seems SQL Dev thinks it differently.
    For example, if you try the following query:
    SELECT d.DNAME, sum(e.sal) amt, 'Total salary' report_title, 100 report_nr
    FROM scott.emp e, scott.dept d
    WHERE e.DEPTNO = d.DEPTNO
    GROUP BY d.DNAME;
    when you hover the mouse pointer on the yellow hint, a popup will show the following message:
    SELECT list inconsistent with GROUP BY; amend GROUP BY clause to:
    d.DNAME, 'Total, 100
    If you click on the hint, it will amend the group by members to become:
    GROUP BY d.DNAME, 'Total, 100;
    that is clearly incorrect syntax. You may notice that after the change the yellow hint is still there, suggesting to amend further the GROUP BY members. If you click again on the hint, you will end with the following:
    GROUP BY d.DNAME, 'Total, 100;
    , 'Total, 100
    and so on.
    I am not sure if this behaviour was already known (Vadim??), but it would be nice if somebody could file a bug against it.
    Finally when writing big queries with complex functions and constant columns, those yellow lines extend all over the select list and they are visually annoying, so I wonder if there is a way to disable the GROUP BY hint until it gets fixed.
    Thanks for any suggestion,
    Paolo

  • Problem parsing XML with schema when extracted from a jar file

    I am having a problem parsing XML with a schema, both of which are extracted from a jar file. I am using using ZipFile to get InputStream objects for the appropriate ZipEntry objects in the jar file. My XML is encrypted so I decrypt it to a temporary file. I am then attempting to parse the temporary file with the schema using DocumentBuilder.parse.
    I get the following exception:
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element '<root element name>'
    This was all working OK before I jarred everything (i.e. when I was using standalone files, rather than InputStreams retrieved from a jar).
    I have output the retrieved XML to a file and compared it with my original source and they are identical.
    I am baffled because the nature of the exception suggests that the schema has been read and parsed correctly but the XML file is not parsing against the schema.
    Any suggestions?
    The code is as follows:
      public void open(File input) throws IOException, CSLXMLException {
        InputStream schema = ZipFileHandler.getResourceAsStream("<jar file name>", "<schema resource name>");
        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
        DocumentBuilder builder = null;
        try {
          factory.setNamespaceAware(true);
          factory.setValidating(true);
          factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
          factory.setAttribute(JAXP_SCHEMA_SOURCE, schema);
          builder = factory.newDocumentBuilder();
          builder.setErrorHandler(new CSLXMLParseHandler());
        } catch (Exception builderException) {
          throw new CSLXMLException("Error setting up SAX: " + builderException.toString());
        Document document = null;
        try {
          document = builder.parse(input);
        } catch (SAXException parseException) {
          throw new CSLXMLException(parseException.toString());
        }

    I was originally using getSystemResource, which worked fine until I jarred the application. The problem appears to be that resources returned from a jar file cannot be used in the same way as resources returned directly from the file system. You have to use the ZipFile class (or its JarFile subclass) to locate the ZipEntry in the jar file and then use ZipFile.getInputStream(ZipEntry) to convert this to an InputStream. I have seen example code where an InputStream is used for the JAXP_SCHEMA_SOURCE attribute but, for some reason, this did not work with the InputStream returned by ZipFile.getInputStream. Like you, I have also seen examples that use a URL but they appear to be URL's that point to a file not URL's that point to an entry in a jar file.
    Maybe there is another way around this but writing to a file works and I set use File.deleteOnExit() to ensure things are tidied afterwards.

  • Exception in java mail API when parsing email

    I am receiving the following exception when receiving some emails that contain attachments with java mail (irrelevant part of stack trace omitted):
    javax.mail.internet.ParseException: Expected ';', got ","
         at javax.mail.internet.ParameterList.<init>(ParameterList.java:289)
         at javax.mail.internet.ContentDisposition.<init>(ContentDisposition.java:100)
         at javax.mail.internet.MimeBodyPart.getFileName(MimeBodyPart.java:1136)
    The header of a message the causes the problem is:
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) ------------ Message headers ------------
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Received: from mail2.uscourts.gov ([10.170.250.2])
    by ushub06.uscmail.dcn (Lotus Domino Release 8.5.2FP1 HF3)
    with SMTP id 2011042514392620-733724 ;
    Mon, 25 Apr 2011 14:39:26 -0400
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Received: from (unknown [63.174.91.123]) by avms-usc-04c-02vh.ibmta.uscourts.gov with smtp
         id 191c_067d_57fad3b8_6f6b_11e0_8de9_00265519f638;
         Mon, 25 Apr 2011 18:39:24 +0000
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) X-WSS-ID: 0LK815L-05-67D-02
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) X-M-MSG:
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Received: from kcmexclaim.Our-Firm.com (unknown [10.42.5.222])by mail4.stinson.com (Axway MailGate 3.8.1) with ESMTP id 27239A12C1D;     Mon, 25 Apr 2011 13:39:20 -0500 (CDT)
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Received: from KCME2K7-HUB02.Our-Firm.com ([10.42.5.19]) by kcmexclaim.Our-Firm.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 25 Apr 2011 13:39:23 -0500
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Received: from FIRMCMS01.Our-Firm.com ([fe80::81d0:dd2b:9983:1126]) by KCME2K7-HUB02.Our-Firm.com ([::1]) with mapi; Mon, 25 Apr 2011 13:39:22 -0500
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) From:
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) To:
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Cc:
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Disposition-Notification-To:
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Date: Mon, 25 Apr 2011 13:39:21 -0500
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Subject: Order Regarding Application To Employ SMH as Debtor's Counsel
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Thread-Topic: Order Regarding Application To Employ SMH as Debtor's Counsel
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Thread-Index: AcwDb/bpRQlxt/eTQC6BA7G10hdWJQAB99vQ
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Message-ID: <[email protected]>
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Accept-Language: en-US
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) X-MS-Has-Attach: yes
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) X-MS-TNEF-Correlator:
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) acceptlanguage: en-US
    2011-04-25 14:39:48,060 INFO [STDOUT] (WorkManager(2)-97) Importance: Normal
    2011-04-25 14:39:48,061 INFO [STDOUT] (WorkManager(2)-97) Priority: normal
    2011-04-25 14:39:48,061 INFO [STDOUT] (WorkManager(2)-97) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4841
    2011-04-25 14:39:48,061 INFO [STDOUT] (WorkManager(2)-97) MIME-Version: 1.0
    2011-04-25 14:39:48,061 INFO [STDOUT] (WorkManager(2)-97) Return-Path:
    2011-04-25 14:39:48,061 INFO [STDOUT] (WorkManager(2)-97) X-OriginalArrivalTime: 25 Apr 2011 18:39:23.0526 (UTC) FILETIME=[18E10260:01CC0378]
    2011-04-25 14:39:48,061 INFO [STDOUT] (WorkManager(2)-97) X-MIMETrack: Itemize by SMTP Server on USHUB06/H/US/USCOURTS(Release 8.5.2FP1 HF3|December 21, 2010) at 04/25/2011 02:39:26 PM, Serialize by POP3 Server(Release 8.0.2FP3 HF28|December 28, 2009) at 04/25/2011 02:39:47 PM
    2011-04-25 14:39:48,061 INFO [STDOUT] (WorkManager(2)-97) Content-Transfer-Encoding: 7bit
    2011-04-25 14:39:48,061 INFO [STDOUT] (WorkManager(2)-97) Content-Class: urn:content-classes:message 2011-04-25 14:39:48,061 INFO [STDOUT] (WorkManager(2)-97) Content-Type: multipart/mixed;     boundary="_004_52835C1F7A6C8D4F989C433DCC611CA06F252D6682FIRMCMS01OurF_"
    2011-04-25 14:39:48,061 INFO [STDOUT] (WorkManager(2)-97) Content-Language: en-US
    the client/OS combination of the mail sender is Windows XP service Pack 3/Outlook 2007 , Java Mail version 1.4.3
    Any help would be appreciated
    Edited by: 854778 on Apr 26, 2011 8:28 AM

    The exception is occurring when parsing the Content-Disposition header.
    I don't see that header in the list of headers you provided.
    Can you save the entire message to a text file using
    msg.writeTo(new FileOutputStream("msg.txt"));
    Then look for the Content-Disposition header in msg.txt. Most likely you'll
    find that it is incorrectly formatted - as the exception says, there's a comma
    in a place that a semicolon is expected.

  • SAX Parser Validation with Schemas (C, C++ and JAVA)

    We are currently using the Oracle XML Parser for C to parse and validate XML data using the SAX parser interface with validation turned on. We currently define our XML with a DTD, but would like to switch to schemas. However, the Oracle XML Parser 9.2.0.3.0 (C) only validates against a DTD, not a schema when using the SAX interface. Are there plans to add schema validation as an option? If so, when would this be available? Also, the same limitation appears to be true for C++ and JAVA. When will any of these provide SAX parsing with schema validation?
    Thanks!
    John

    Will get back to you after checked with development team...

  • Xs:pattern - Exception: Unable to parse schema

    JDeveloper BPEL displays the following error when I try to use a variable type from a specific schema.
    Exception: Unable to parse schema
    It doesn't display the above error if I remove all the schema references to
    {http://www.w3.org/2001/XMLSchema}pattern
    Can I infer that xs:pattern is not supported, or is this a bug?
    Thanks,
    Peter T

    JDeveloper BPEL displays the following error when I try to use a variable type from a specific schema.
    Exception: Unable to parse schema
    It doesn't display the above error if I remove all the schema references to
    {http://www.w3.org/2001/XMLSchema}pattern
    Can I infer that xs:pattern is not supported, or is this a bug?
    Thanks,
    Peter T

  • Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset pref

    Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset preferences and still have problem. Slow to open and in force quit "Photoshop not responding" At this point should I uninstall and start over.

    What are the performance Preferences?

  • How to get the filename when parsing a file with d3l

    All
    After some time have experience with interconnect, IStudio I need the following info. Is it possible to get the filename when parsing a flat file using a d3l? This is needed because we need to store the filename together with the data into the database.
    Any examples or directions to some documents are welcome.
    Regards
    Olivier De Groef

    has anyone some info on this

  • Exception: Unable to parse schema abc.xsd

    hi',
    I am using abc.xsd in file adapter where I am browsing for the schema file, the issue is this abc.xsd is internally referring to other
    schema files, so it is giving me this error "Exception: Unable to parse schema abc.xsd" if I manually copy paste all the XSD it requires
    inside the project BPEL folder is works, the issue is in production enviornment all this xsd will come from one shared folder so I am
    confused how to achieve this i.e. without copying all the XSD into the project BPEL folder refer it from one shared foler which is outside
    of the project.
    thanks
    Yatan

    You can enable WebDav on the Oracle HTTP Server component.
    cd $ORACLE_HOME/Apache/Apache/htdocs/dav_public
    mkdir Schemas
    cd $ORACLE_HOME/Apache/oradav/conf
    open the moddav.conf file for editing. Find the entry for the dav_public directory and modify as follows:
    <Location /dav_public>
    DAV on
    </Location>
    Restart the server
    Now the Schema can be accessed using the URL http://soahost:port/dav_public/Schemas/abc.xsd
    This way you can share the common xsd among different BPELProcesses.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Display's fire wire port

    Just bought a new mini with a 20 in Mac display. Since the only fire wire port is taken on the mini with the display wire, can you use the displays fire wire port for the external hard drive? Thanks

  • WaitFor() doesn't wait for my process to complete?

    Hi all, I'm launching a browser from my java program to display a text file, and when this is done i want to delete that text file from the server, so i tell the process that launches the browser to wait, then i make a call to delete the file from th

  • N85 is slow - tried various kinds of resets

    My N85 is ridiciously slow, I've tried *#7370# and *#7780#. Doesn't solve my problem. Apparently there is a third way to reset the phone, holding down *, 3 and the green button while booting up - but my phone prompts for the pin-code, and I can't bot

  • Table component uses outdated attributes

    The text editor's table plugin [The table component] uses outdated markup for centering items vertically in a table cell: It renders: <td valign="middle"> instead of using the modern: <td style="vertical-align:middle"> This breaks the layout. I need

  • Oversaturated colors in ML. Can't calibrate them!

    Hi! I was so happy to upgrade my MacPro 2009 to the newest OS, but now I rally regret my decision... Colors have blown up, oversaturation is my profile now:( Red is screaming. I've got ColorMunki Photo. Calibration is completed with wrong result. Hav