Bug in Oracle XSchema Processor for Java v1 (recently released)

Running the sample file is giving the following error. Is this a bug
Thanks
Exception in thread "main" java.lang.NoSuchMethodError
at oracle.xml.parser.schema.XSDBuilder.initParser(XSDBuilder.java:260)
at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:179)
at XSDSetSchema.main(XSDSetSchema.java:24)
null

ah, yes. the 1k limit again. fantastic...
code (note: this is hardcoded and terribly unpolished...but it works...):
import javax.security.auth.login.Configuration;
import javax.security.auth.login.AppConfigurationEntry;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.util.HashMap;
import java.util.Map;
public class CITestAuthenticationConfiguration extends Configuration { 
private static ArrayList appConfigurationList = new ArrayList();
public CITestAuthenticationConfiguration(){}
public AppConfigurationEntry[] getAppConfigurationEntry(String applicationName){
Map map = new HashMap();
AppConfigurationEntry ace = new AppConfigurationEntry(
"CITestLoginModule",
AppConfigurationEntry.LoginModuleControlFlag.REQUIRED,
map
AppConfigurationEntry[] aceArray = new AppConfigurationEntry[1];
aceArray[0] = ace;
return aceArray;
public void refresh()
// Right now this is a load once scheme and we will not implement the
// refresh method
public static boolean addAppConfigurationEntry ( String flag, String module, String options )
// REMOVED FOR BREV[i]Long postings are being truncated to ~1 kB at this time.

Similar Messages

  • Problem with running sample code from XML Schema Processor for Java

    Hi there,
    I downloaded the XML Schema Processor for Java and tried it out. Unfortunately, it failed at the first step. FYI, I included all xmlparserv2.jar and xmlschema.jar in my classpath.
    I compiled XSDSample.java with a warning: XSDSample.java uses a deprecated API. Recompile with "-deprecation" for details. There was no problem with compiling XSDSetSchema.java.
    When I tried to run report.xml by typing java XSDSample report.xml, I got Parsing report.xml
    NonParserException: null.
    I guess that report.xml from the sample is not valid.
    Could any one give me a hint? Any suggestion would be greatly appreciated.
    ---Denali
    null

    Please post this message at:
    Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB

  • ANN: Oracle XML Parser for Java v1.0.1.1 Maintenance

    The first maintenance release of the Oracle XML Parser for
    Java is available for download here.
    It has the following fixes and changes since 1.0.1:
    Bug Fixes:
    #843157, parseDTD(InputSource, rootElement) and
    parseDTD(URL, rootelement) then parse(InputSource) bugs;
    #843143, parse(InputSource) bug;
    #793012, no need to print a trace of an exception which is
    rethrown.
    Changes: None
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    The first maintenance release of the Oracle XML Parser for
    Java is available for download here.
    It has the following fixes and changes since 1.0.1:
    Bug Fixes:
    #843157, parseDTD(InputSource, rootElement) and
    parseDTD(URL, rootelement) then parse(InputSource) bugs;
    #843143, parse(InputSource) bug;
    #793012, no need to print a trace of an exception which is
    rethrown.
    Changes: None
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • ANN: Oracle XML Parser for Java v2.0.2

    The new version of the Oracle XML Parser for Java v2 is
    available for download and has the following features and
    changes:
    1. Conformance to the XSLT/XPATH August WD.
    Note that there are several changes between April99 XSLT draft
    and the August99 XSLT/Xpath draft and these changes have been
    implemented in the XSL Processor. The XSL Processor has been
    modified to accept XPath syntax for expressions and patterns.
    Stylesheets might have to be modified to be conformant to the
    August XSLT/XPath draft before they can be used with this
    release.
    Some of the changes between April draft and the August draft
    are:
    a. Expressions in the stylesheet must match the XPath
    production Expr.
    b. Some of the attribute names and element names in XSL
    namespace have changed.
    c. Some new functions have been added to XPath CORE function
    library.
    Please refer to the August XSLT/XPath draft for more details.
    This is the first production release for v2.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    The link has been fixed. You will go to the v2 download page
    now. Sorry for the inconvience.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Renilton Oliveira (guest) wrote:
    : I didn't find the file for version 2.0.0.0 as well.
    : Renilton
    : Andrei Filimonov (guest) wrote:
    : : I tried to download XML Parser for Java v2 it seems that
    only
    : v
    : : 1.0.1.4 is available. Could you please give an exact URL for
    : v2
    : : download?
    : : Andrei Filimonov
    : : Oracle XML Team wrote:
    : : : The Oracle XML v2 parser is now available for download
    here
    : as
    : : : an early beta release and is written in Java. It features
    : an
    : : : improved architecture over the Oracle XML v1 parser and
    has
    : : : shown better performance on small to large XML documents.
    : It
    : : : will also be able to format the XML document according to
    a
    : : : stylesheet, having integrated an XSLT processor.
    : : : Version 2 of the XML Parser for Java, besides
    incorporating
    : an
    : : : XSLT processor, has been re-architected from version 1.
    This
    : : has
    : : : resulted in a number of changes to the class names
    : especially
    : : : those that support Namespaces. See v2changes.txt and
    : the .diff
    : : : difference files in the sample directory.
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    null

  • ORACLE XML PARSER FOR JAVA FOR AIX

    Hi people!
    I'm looking for the Oracle XML Parser for Java 9.0.2.0.0C, my 9iAS is BI Installation 9.0.2.3, where can I get it? In the Downloads Section there is only the version for 10g, and the existing versions for 9i are not for AIX (my OS is AIX 5.2L).
    Thanks.

    Thanks for your help, I navigate through this link and, even it shows a table where appears the release for AIX (9.2.0.6.0), when I get to http://www.oracle.com/technology/tech/xml/xdk/software/prod/utilsoft_java.htm
    it shows me only downloads for Sun, Linux and HP-UX, but not for AIX.
    Has the version for AIX being deprecated or something like that?

  • Oracle XML Parser for Java

    Does the latest release of the Oracle XML Parser for Java support JDK 1.2.2?
    I have an application which makes use of the XML Parser which runs fine with JDK 1.1.7.
    But the application crashes with the use of JDK 1.2.2 .
    Any insight into this is appreciated.
    null

    The Oracle XSQL Servlet makes extensive use of the Oracle XML Parser for Java V2 as well as its XSLT Engine and runs without issue under 1.1.8 and 1.2.2.

  • Upgrading Oracle XML Parser for Java v9.0.4 with Oracle Applications 11i

    Guys, I applied ATG.PF.H.RUP4. In postinstall steps it is mentioned,Upgrading Oracle XML Parser for Java v9.0.4 with Oracle Applications 11i(doc-271148.1)
    which says after applying patch 4038964 do the following--
    AUTOCONFIG ENABLED APPLICATIONS ENVIRONMENT
    If the Oracle E-Business Suite configuration files are maintained using the AutoConfig infrastructure, proceed with the following:
    1. Run the AutoConfig utility.
    2. Go to [JAVA_TOP].
    3. Run the unzip -l appsborg2.zip | grep 9.0.4 command. If there is a file named as .xdkjava_version_9.0.4.0.0_production, which indicates that XML Parser for Java v9.0.4 is installed correctly as part of appsborg2.zip. Otherwise, run ADAdmin to regenerate the appsborg2.zip file.
    4. Restart the application tier server processes such that the new version of Oracle XML Parser for Java will take effect.
    but actually the patch is already applied- 4038964. How do i verify if i need to do these steps or not.
    The xmlparserv2-904.zip file is already there in wrapper.classpath. of jserv.properties, forms.properties. So i think i dont need to do these steps.

    unzip -l appsborg2.zip | grep 9.0.4
    0 04-18-03 20:10 .xdkjava_version_9.0.4.0.0_production
    do i still need to do that step?No, you do not have to since "XML Parser for Java v9.0.4" is already installed as part of appsborg2.zip

  • Oracle VM Server for SPARC 2.2 Released

    We are pleased to announce the availability of Oracle VM Server for SPARC 2.2 release. See the announcement at Oracle's Virtualization Blog - https://blogs.oracle.com/virtualization/entry/announcing_oracle_vm_server_for1 .
    Please review the Oracle VM Server for SPARC 2.2 Documentation http://docs.oracle.com/cd/E35434_01/index.html for specific details of required and minimum software and supported platforms. Visit the download page http://www.oracle.com/technetwork/server-storage/vm/downloads/index.html for instructions to download the required software.
    Edited by: Honglin Su on May 24, 2012 10:22 AM

    S11 networking has "vanity naming" enabled by default (so things are named net0, net1, etc) - if you run 'dladm show-phys' you should be able to work out which one is from the vsw device.
    Note: unlike on S10, with S11 you don't need to plumb the vsw in order to get connectivity between the guests and the control domain.
    This might also help: https://blogs.oracle.com/raghuram/entry/ldoms_networking_in_solaris_11

  • ANN: Oracle XML Parser for Java v2.0.0.1

    A new maintenance release of the Oracle Parser for Java is
    available for download. It has the following fixes and changes:
    Bug fixes for #920536, i.e. Cannot access element attributes via
    XSLT; #898423. i.e. ElementDecl's in DTDs; #774774, i.e. DOM
    extensions using XSL pattern matching; #863890 i.e. SAX
    IOException not thrown.
    New APIs in the following new interface:
    1. oracle.xml.parser.v2.NSResolver
    - resolveNamespacePrefix( find the namespace definition in scope
    for a given namespace prefix )
    New APIs in the following classes:
    1. oracle.xml.parser.v2.XMLNode
    - selectNodes( Selects nodes from the tree which match the given
    pattern; client can provide an NSResolver implementation to
    resolve namespace prefixes in the pattern ).
    2. oracle.xml.parser.v2.ElementDecl
    - getParseTree( Returns the root Node of Content Model parse
    tree, which could then be traversed node by node using
    getFirstChild() and getLastChild(). The Node types are: PLUS,
    COMMA, ASTERISK, ELEMENT, QMARK ).
    This is the first beta patch release for v2.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    unzip -l appsborg2.zip | grep 9.0.4
    0 04-18-03 20:10 .xdkjava_version_9.0.4.0.0_production
    do i still need to do that step?No, you do not have to since "XML Parser for Java v9.0.4" is already installed as part of appsborg2.zip

  • Error downloading XML schema processor for java from OTN

    I'm getting error downloading this product from otn site. http://technet.oracle.com/tech/xml/schema_java/index.htm
    I login to OTN, go to this site, enter registration information and then I get the following error when I try to submit my info.
    Runtime error occured. Do you wish to debug?
    Line: 20
    Error :'e_mail_valid' is undefined.
    When I say 'No' for debug, it takes me to 'XML parser for java' download page instead of 'XML Schema processor'.
    please help.
    thankx
    null

    The 'e_mail_valid' is undefined" has to do with the format of or lack of the email address. The routing problem is ours and should be fixed later today or by tomorrow morning.
    Thanks,
    Oracle XML Team

  • Announce: Generic Algorithms for Java, 0.3 release

    The latest release of jga: Generic Algorithms for Java is now available at
    http://jga.sf.net/
    Included in this release are a collection of algorithms adapted from STL that operate over generic collections and iterations. What's included are the algorithms that do not attempt to modify the collection/iteration that they're given: in other words, all of the find/search/count algorithms. Also included are the complete set of functors and predicates that were present in the last release, with a few modifications for easier use.
    The library is released under the LGPL, and includes the source for the library, the test framework, and a non-genericized version of the test framework that verifies that the library may be used without having the generic environment available.

    A (similar, it seems) parameterized collections library for JSR-14 Java.I had looked at JUtil some time ago, and I'm not sure of the similarity: JUtil looks to provide a number of interesting (if somewhat specialized) collections. JGA provides functors & predicates, and STL-ish algorithms that operate on collections and iterators. Looks to me to be more complimentary than similar.
    Mr. Ananian/Astaire's site is also the source of SinjDoc, the javadoc tool that I used to generate the javadoc at jga.sf.net, and with which I replaced the munge4doc.pl and mungedoclist.pl scripts that I had previously used and posted on this forum.

  • My problems with Oracle Schema Processor for C++ :(

    Dear ;) Oracle XML team and others,
    the followings are really inconvenient with the C++ schema processor:
    -it doesn't even support the Candidate
    Recommendation (OK, the Java version does
    support it, and you can use XSU and upgrade your schemas later when the C++ will also
    support it.)
    -you cannot put comments in the schema, just after the <xsd:schema> element.
    -it's checking the attribute use="required"
    when an attribute is declared in a
    complexType, but it doesn't check
    when an attribute is referenced or, which could be much more useful, when an
    attributegroup is referenced, and it contains
    use attributes. (I tried XMLSpy and it was correct. But I need an API or a C++ tool.)
    I'm really awaiting this schema processor to be updated (maybe on April 14 the W3C Schema recommendation ;))
    -it supports "import" but I had problems with "include" (this looked like a bug, but after I'd posted it, noone replied :(. Maybe because the C++ processor is kind of "obsolete")
    Will the C++ version be updated? (When?)
    I cannot use Java because I try to integrate with a C++ application. I was looking for
    other products, but I only found XSV, Java XSD processors and built-in tools. It's quite sad that there isn't a C++ implementation available. :( Can anyone help me?
    Tamas
    null

    Originally posted by Tamas >Marcinkovics ([email protected]):
    Dear ;) Oracle XML team and others,
    -you cannot put comments in the schema, just >after the <xsd:schema> element.I tried the following:
    <?xml version="1.0"?>
    <schema
    xmlns = "http://www.w3.org/1999/XMLSchema"
    targetNamespace = "http://www.CarDealers.com/">
    <!-- this should fail -->
    <element name="Car">
    </element>
    </schema>
    and it works!
    Can you provide some examples?
    Thx!
    null

  • FIXED: BUG in Oracle XSLT processor

    Edit: I fixed it by just importing all of the Jdev libraries. My bad for being a dolt.
    I am trying to detect certain values in an XML document that start with $ (the dollar sign) character. This has some conflicts with the syntax for XSL variables. The following code gives an exception when running in the Oracle XSLT...
    <xsl:template name="interpretToken">
    <xsl:param name="token" />
    <xsl:choose>
    <xsl:when test="starts-with($token, '$')" >
    <a><xsl:attribute name="href">
    <xsl:value-of select='replace($token, "\$", "#")' />
    </xsl:attribute>
    <xsl:value-of select='replace($token, "\$", "")' />
    </a>
    </xsl:when>
    </xsl:choose>
    </xsl:template>
    (note that this isn't the best way to write the above code, but replace suffices)
    When I run this in the XSLT of JDev 10.1.3.2, the following stack trace is given:
    Exception in thread "Thread-1" java.lang.NoClassDefFoundError: oracle/i18n/text/OraNormalizer
         at oracle.xml.util.UnicodeUtil.<clinit>(UnicodeUtil.java:35)
         at oracle.xml.xslt.XSLSAXPrintDriver.printAttributes(XSLSAXPrintDriver.java:492)
         at oracle.xml.xslt.XSLSAXPrintDriver.startElement(XSLSAXPrintDriver.java:408)
         at oracle.xml.xslt.XSLEventHandler.reportStartElement(XSLEventHandler.java:267)
         at oracle.xml.xslt.XSLEventHandler.characters(XSLEventHandler.java:863)
         at oracle.xml.xslt.XSLValueOf.processAction(XSLValueOf.java:143)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLCondition.processAction(XSLCondition.java:181)
         at oracle.xml.xslt.XSLCondition.processAction(XSLCondition.java:157)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLTemplate.processAction(XSLTemplate.java:205)
         at oracle.xml.xslt.XSLCallTemplate.processAction(XSLCallTemplate.java:132)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLCondition.processAction(XSLCondition.java:181)
         at oracle.xml.xslt.XSLCondition.processAction(XSLCondition.java:157)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLTemplate.processAction(XSLTemplate.java:205)
         at oracle.xml.xslt.XSLCallTemplate.processAction(XSLCallTemplate.java:132)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLCondition.processAction(XSLCondition.java:181)
         at oracle.xml.xslt.XSLCondition.processAction(XSLCondition.java:157)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLTemplate.processAction(XSLTemplate.java:205)
         at oracle.xml.xslt.XSLApplyTemplates.processAction(XSLApplyTemplates.java:242)
         at oracle.xml.xslt.XSLApplyTemplates.processAction(XSLApplyTemplates.java:142)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLTemplate.processAction(XSLTemplate.java:205)
         at oracle.xml.xslt.XSLApplyTemplates.processAction(XSLApplyTemplates.java:242)
         at oracle.xml.xslt.XSLApplyTemplates.processAction(XSLApplyTemplates.java:142)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLTemplate.processAction(XSLTemplate.java:205)
         at oracle.xml.xslt.XSLApplyTemplates.processAction(XSLApplyTemplates.java:242)
         at oracle.xml.xslt.XSLApplyTemplates.processAction(XSLApplyTemplates.java:142)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLTemplate.processAction(XSLTemplate.java:205)
         at oracle.xml.xslt.XSLApplyTemplates.processAction(XSLApplyTemplates.java:242)
         at oracle.xml.xslt.XSLApplyTemplates.processAction(XSLApplyTemplates.java:142)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLTemplate.processAction(XSLTemplate.java:205)
         at oracle.xml.xslt.XSLApplyTemplates.processAction(XSLApplyTemplates.java:242)
         at oracle.xml.xslt.XSLApplyTemplates.processAction(XSLApplyTemplates.java:142)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLTemplate.processAction(XSLTemplate.java:205)
         at oracle.xml.xslt.XSLStylesheet.execute(XSLStylesheet.java:581)
         at oracle.xml.xslt.XSLStylesheet.execute(XSLStylesheet.java:548)
         at oracle.xml.xslt.XSLProcessor.processXSL(XSLProcessor.java:333)
         at oracle.xml.xslt.XSLProcessor.processXSL(XSLProcessor.java:181)
         at oracle.xml.xslt.XSLProcessor.processXSL(XSLProcessor.java:218)
         at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:121)
         at oracle.xml.async.XSLTransformer.run(XSLTransformer.java:136)
         at java.lang.Thread.run(Thread.java:595)
    No line number in my XSLT is written, but I have isolated it to the above code in the XSL file. This is some bug in the Oracle implementation, because when I run it against Saxon9, it produces output without complaint. Please help me with a work around for detecting the dollar sign and removing it for the output or can I find an oracle xslt patched package.
    Thanks a lot. - astewart / [email protected]
    Message was edited by:
    astewart
    Message was edited by:
    astewart
    Message was edited by:
    astewart

    Hi,
    You have posted to the wrong forum. Try posting to one of the XML forums such as:
    General XML
    Ron

  • Is the SoftReferences "bug" going to be fixed for Java 8?

    Hi. I'm not sure this is the best place to ask this question but was wondering if anyone here works for oracle or has information regarding this bug:
    http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=cfd518f51afc7780e5188276b5f9?bug_id=6912889
    It says the targeted version is 8 but I've not heard anything about it being fixed.
    Does anyone know if this is going to be fixed or a way I could vote on it to be fixed?
    Thanks, Nick.

    Boomah wrote:
    It says the targeted version is 8 but I've not heard anything about it being fixed.So I guess it will be fixed then. Java 8 is still a while away.
    Does anyone know if this is going to be fixed or a way I could vote on it to be fixed?Why would anyone know? This is just a user-to-user forum, we're all exactly like you: not in Oracle's inner circle. And no you can't vote anymore.
    Of course someone could contribute a fix to the OpenJDK project to speed up the process if it were really important to them that it was fixed.

  • Searching for oracle.dacf.* for Java-Development

    Hello,
    i have a lot of java-classes here which i want to improve. if it was compilerable it could be an application with a connection to an Oracle 8.1.7 Database.
    The application of this source code is running actually, but i want to fix some problems which are in the used application.
    I fixed them by adding and correcting code in the Java-Files. But if i want to compile them the compiler stops with the error, that he isn't able to find the oracle.oacf.-Packages. The problem is, that i have looked for them on my harddisk and the harddisk of the server, where the oracle-database is installed. But i can't find this package. where can i find it? I have already installed the newest Oracle JDeveloper, but it is not in that enviroment.
    Can anyone help or provide this oacf-package as a zip-file to my e-mail-address?
    thanks in advance
    Oliver

    The api's for BPEL / Workslow canbe found here:
    http://orasoa.blogspot.com/2007/05/newbie-getting-started-with-oracle-soa.html
    Marc

Maybe you are looking for