Redirecting DTD--oracle team?

Hi, I've posted this twice with no response. I would
REALLY appeciate an answer from the Oracle XML team.
I'd like to redirect the loading of external DTD references
with the DOMParser, just as it can be done with the SAXParser.
If this is already possible, and I'm being thick and somehow
missing it in the javadocs, please thwap me upside the head
and point it out.
If it's not, I think it seriously needs to be addressed, given
that the need for this functionality is pretty basic to working
with XML to/from a DATABASE!!!
To clarify what I am asking for:
If I try to parse an xml file (lets assume it lives in my Oracle
8i database not the file system) with the line
<!DOCTYPE spec SYSTEM "mydtd.dtd">
when I call parse() it throws a an exception claiming Invalid
InputSource. It cannot open this dtd from the file system--it is
not there. It lives in the database like the xml. I want to give
the parser a handler function to call when it wants this file,
so I can pull the dtd from the database stick it into a
stream or string or whatever, and pass this to the parser, and
say "here, you this."
The SAXParser provides this with the setEntityResolver
method allowing me pass it a handler class I define that
implements resolveEntity to give it an InputSource containing a
DTD pulled from the database. Is there some different mechanism
provided by your DOMParser that I am somehow missing or is this
functionality that you will have to think about adding?
Thanks,
Eric
null

Eric Schwarzenbach (guest) wrote:
: Hi, I've posted this twice with no response. I would
: REALLY appeciate an answer from the Oracle XML team.
: I'd like to redirect the loading of external DTD references
: with the DOMParser, just as it can be done with the SAXParser.
: If this is already possible, and I'm being thick and somehow
: missing it in the javadocs, please thwap me upside the head
: and point it out.
: If it's not, I think it seriously needs to be addressed, given
: that the need for this functionality is pretty basic to working
: with XML to/from a DATABASE!!!
: To clarify what I am asking for:
: If I try to parse an xml file (lets assume it lives in my
Oracle
: 8i database not the file system) with the line
: <!DOCTYPE spec SYSTEM "mydtd.dtd">
: when I call parse() it throws a an exception claiming Invalid
: InputSource. It cannot open this dtd from the file system--it
is
: not there. It lives in the database like the xml. I want to
give
: the parser a handler function to call when it wants this file,
: so I can pull the dtd from the database stick it into a
: stream or string or whatever, and pass this to the parser, and
: say "here, you this."
: The SAXParser provides this with the setEntityResolver
: method allowing me pass it a handler class I define that
: implements resolveEntity to give it an InputSource containing
a
: DTD pulled from the database. Is there some different
mechanism
: provided by your DOMParser that I am somehow missing or is
this
: functionality that you will have to think about adding?
: Thanks,
: Eric
We only have the setBaseURL method at this time.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null

Similar Messages

  • Unable to integrate Oracle Reports with Express--(To oracle Team also)

    Hi
    Unable to integrate Oracle Reports with Express. While defining
    the Express database connection using the olap connection editor
    iam getting the following error "Error locating the XCONEDIT.INI
    file. Try re-installing the software".
    what should be done?
    Atleat,If anybody has successfully connected to Express via
    Reports6i. Kindly give the details like what softwares to be
    installed in what HOME? and also other steps involved in the
    process.
    YOur help !!!
    kindly respond...(Oracle Team do respond with something)
    with rgds

    hello,
    check out the notes
    Note:112542.1
    Note:167049.1
    on oracle metalink for further information.
    if you still have issues, please contact oracle support services
    for furhter assistence.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Technotes on MLR7 - Oracle Team please review and update

    MLR7 has some great features , this note is intended to discuss and clarify latest features in the Patch 7652646
    *7139013 - ARCHIVE FEATURES IN B2B* - Oracle team please provide details
    *6924921 -- ASCII AND BINARY MODE SUPPORT IN FTP PROTOCOL* - for this I see a new parameter transfer mode when setting up FTP transport server I am guessing the values are ascii and binary - please confirm
    Thanks,
    Kalyan

    Please refer Re: Oracle AS B2B Patch 7 -10.1.2.3 What to look out for for details.
    Thanks,
    Sinkar
    [From Ramesh Team]

  • @oracle team; forms server help desparately needed

    hi
    my company is trying to migrate client machines to linux. our setup should be the following:
    database <-> forms server <-> linux client with applet viewer
    v9.2.....................v9i.................debian 3.0, j2sdk1.3
    i am working on this setup for some months(!) now but i cannot get the clients to communicate stable with the rest of the setup.
    problem: quite frequently the appletviewer will just hang and cause the forms server to create a
    f90webm_dump_`$PID` file
    in its working directory containing the following information:
    [Mon Jan 20 21:58:29 2003 CET]::Client Status [ConnId=0, PID=10033]
    >> Network connection to client failed: timeout on connection
    the people working on the client machines are quite quickly inputting data into our databases. the appletviewer will hang more often on machines < 500 MHz but it also hangs on machines with more than 1.5 GHz and 512 MB DDR
    i have literally tried everything:
    i tried these java versions:
    1.1, 1.3_x, 1.4.1 from sun, blackdown, ibm and even the one that came with the forms server on the clients
    i tried to tune every setting on the forms server and in the jvm.cfg. i even tried to install the forms server on the clients so that i would have one tcp connection less to definitely exclude network failure as a possible reason.
    i tried to use the PREEMPT_CLOSE setting, i even patched the kernels (low latency patch), analysed megabytes of debug logging, tried to strace the appletviewer to find WHY it keeps hanging!!!!
    i tried to use different linux versions for best compatibility on the clients as well as on the forms server:
    debian potato, woody, sarge, sid
    suse 7.1, 7.2, 7.3
    redhat 7.2, 7.3
    i have read almost ALL documentation you could possibly read to find the reason of this problem.
    dear oracle team
    PLEASE just tell me that you have even tested this product and that you know how to make it work in a stable way. we can even pay you money to give us the solution. we have been using oracle forms for 7 years now and we want to stick with it. but our clients HAVE to be able to run the linux OS.
    i have posted this problem 2 or 3 times already but somehow either noone seems to read this or noone has ever tried to use a three tier setup with linux on the middle and the client tier.
    as i said i have wasted MONTHS already trying to get this to work and i am out of ideas what could cause this.
    thanks for ANY reaction
    armin walland

    sorry for not responding a few days, i didnt have the possibility to do so.
    if you access and run the application from a Windows
    client using JInitiator, what happens.i have tried that of course and it seemed to be stable. (no hang in about 2 and a half days). i dont think it is a problem on the forms server itself...maybe just some setting that doesnt cooperate well with the appletviewer.
    Since we don't
    certify Forms9i with appletviewer, we didn't test it
    there.thats what i thought to be honest....since you say "we"; do you work for oracle?
    So first thing to do is to check if the
    problem is a client issue or a server side problem.seems more like a client proble to me though....somehow it looks like some deadlock or race condition, but im not a programmer so this could be a completely wrong impression.
    If youi can, can you try a test on a Windows client?as i said b4, we tried that and it seemed to work finely but it was to test the server and ensure it isnt a complete misconfiguration issue :)
    rgds, armin

  • Question to Oracle Team

    I would like to know which linux distribution may I use to have Oracle products running? Which linux distribution/version is used by the Oracle team? I don't want to get the problems I'm having now always when I try to upgrade the Oracle. This not happens with other comercial OS's like Solaris and WindowsNT.
    I have the same problem
    Fabio

    Use Red Hat 6.2.
    I've been using RH 6.2 for a while now, and never had any problem related to oracle.
    null

  • Challange For Oracle Team

    To,
    Oracle Team,
    I have a Problem in Reports while running Report on web using
    web.show_document. It shows all the parameters I have passed to
    report which are must not be visible to the user (like userid ,
    password). How to override this problem If possible give
    example.
    Thanks,
    With Warm Regards,
    Virag Patel.

    hello,
    there are different approaches for that :
    a) use run_report_object
    b) use a frameset
    c) use CGICMD.DAT cgi-keys
    without knowing your environment it's hard to tell, which
    approach is fitting your requirements.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Reliable Linux Distribution. Question to Oracle Team

    I would like to know which linux distribution may I use to have Oracle products running? Which linux distribution/version is used by the Oracle team? I don't want to get the problems I'm having now always when I try to upgrade the Oracle. This not happens with other comercial OS's like Solaris and WindowsNT.

    Use Red Hat 6.2.
    I've been using RH 6.2 for a while now, and never had any problem related to oracle.
    null

  • Oracle Team, SCHEMA DEMOS NEEDED

    Hello Oracle Team,
    I've been trying to use the schema parser for the last month. I've read multiple messages on this news group where people like me whine that they can't get anything to work. There are only like 3 examples that are downloaded with your parser. Obviously, with no other learning resources (besides blindly testing it to see how it reacts) more examples are needed.
    Obviously there was some sort of Q.A. that the parser had to go through where it was tested before you posted it. Are those tests laying around somewhere on someone's hard drive. Could you please post some of those examples to this news group? A lot of people like me would really appreciate it.
    You have responded to a couple of my previous questions by writing,
    "The new beta was released today (October 26). It should fix the problem."
    Well I tried to use the new beta for about 6 hours this morning and it didn't fix any of these same problems...
    unique, key, keyref, extension, required(for attributes).
    I know that the new parser has to work or you wouldn't keep responding to my messages saying it would. Please give some examples of how to use it.
    Please post the java files, xsd files and xml files as examples of how to use these features. Please post examples that will run correctly through the parser. Also please post modified xml files that will crash the parser.
    null

    I've gone to the internet site... http://www.w3.org/TR/xmlschema-0/
    and went down the list of functionality that should be in a schema parser. Is this what oracle is basing their parser on? If not where is the standard oracle is going off of?
    I've gone through this schema primer and I've tested the oracle schema parser. I've found that about 70% of it is not implemented or I just couldn't figure out how to get the parser to work. Also I've found there a couple of things that did work in the parser, just that the syntax was different. I've found these things (I realize that there are typos here but you'll get the basic idea).....
    What Works, What doesn't work, comparing the oracle parser with the w3c spec.
    DOESN'T WORK....
    <annotation>
    </annotation>
    syntactical difference (<restriction>)
    W3C's
    <simpleType name="myInteger">
    <restriction base="integer">
    <minInclusive value="10000"/>
    <maxInclusive value="99999"/>
    </restriction>
    </simpleType>
    Oracle's
    <simpleType name="myInteger" base="integer">
    <minInclusive value="10000"/>
    <maxInclusive value="99999"/>
    </simpleType>
    syntactical difference (<restriction>/<enumeration>)
    W3C's
    <simpleType name="USState">
    <restriction base="string">
    <enumeration value="AK"/>
    <enumeration value="AL"/>
    <enumeration value="AR"/>
    <!-- and so on ... -->
    </restriction>
    </simpleType>
    Oracle's
    <simpleType name="USState" base="string">
    <enumeration value="AK"/>
    <enumeration value="AL"/>
    <enumeration value="AR"/>
    <!-- and so on ... -->
    </simpleType>
    <list> tag doesn't appear to type check at all, this code passes fine through the parser!(it shouldn't)
    xml file>>
    <Test>
    asdf
    </Test>
    xsd file>>
    <element name="Test"
    type="this:listOfMyIntType" />
    <simpleType name="listOfMyIntType">
    <list itemType="positiveInteger"/>
    </simpleType>
    <union> tag doesn't appear to work
    xml file>>
    <Test>
    -11
    </Test>
    xsd file>>
    <element name="Test" type="r:TestUnion"/>
    <simpleType name="TestUnion">
    <union memberTypes="r:LowIntTyper:MedIntType"/>
    </simpleType>
    <simpleType name="LowIntType" base="positiveInteger">
    <minInclusive value="10"/>
    <maxInclusive value="20"/>
    </simpleType>
    <simpleType name="MedIntType" base="positiveInteger">
    <minInclusive value="30"/>
    <maxInclusive value="40"/>
    </simpleType>
    Does Work...:)
    use="required" Partially Working...
    required actually work now for attributes, you can even type check with it now!-BUT
    ONLY AT THE TOP DEFINITIONS LEVEL. I think it's supposed to work inside nested definitions.
    I found some really really weird activity with nested definitions though. If I define an
    element having 2 attributes and the element is nested... if I say that both elements are
    required, then if in the xml file I don't use either I will get the same buggy activity.
    The parser doesn't care. BUT if I only declare 1 of the attributes and NOT the other then
    the parser gets mad! So, the parser will only check nested level elements attributes if
    there are more than one attributes declared and in the xml file I only specify one. HOW NICE!
    xml file>>
    This one DOESN'T catch the required
    <LevelOne>
    <elOne>stuff</elOne>
    <elTwo>stuff</elTwo>
    </LevelOne>
    This one catches the required
    <LevelOne bugFixOne="2asdf" testAtt="234">
    <elOne>stuff</elOne> <elTwo>stuff</elTwo>
    </LevelOne>
    xsd>>
    <complexType name="TypeOne">
    <sequence>
    <element name="elOne" type="string" minOccurs="0" maxOccurs="unbounded"/> <element name="elTwo" type="string" minOccurs="0" maxOccurs="unbounded"/> </sequence>
    &lt ;attribute name="testAtt" type="positiveInteger" use="required"/> <attribute name="bugFixOne" type="string"/> <attribute name="bugFixTwo" type="string"/> </complexType>
    null

  • Oracle team members, this is Q for you...

    Dear members of Oracle OLEDB team, you are the only one who can answer this (one page at oracle.com says that you are monitoring this forum):
    ADO has Cancel method both on Command and Recordset object, which should cancel pending async call (every damn page on Internet says so). Oracle OCI interface has OCIBreak method that does exactly that. Now, why is Cancel method not working anything but waiting till the async call execution is fully completed (the call to Cancel method really blocks the calling thread!!) - it does not cancel anything, it just blocks the code !
    I can expect that Microsoft didn't bother about this "insignificant" issue, but this is Oracle provider for Oracle server written by Oracle... - why is your provider behaving the same ?
    I expect you to reply with really good explanation to this quite important issue, this is not a hundredth-time-"how to retrieve recordset from a stored procedure"-beginners-question
    Thanks in advance.
    P.S.
    Please don't misunderstand, fetching is not a problem, only "heavy" command execution ("heavy" select statement in my case)

    There was, in the early 8.1.7 days at least, a bug in OCI where the break/ cancel call didn't work properly. I have no idea whether it was fixed or not and I've long since forgotten the number. You may be able to find it on metalink. You don't say what version of the client you have or whether you've installed any patchsets for the client. If you're not on the latest patchset for your platform, and your platform isn't at least 8.1.7, I'd strongly suggest upgrading.
    Note that as a general rule, these forums aren't monitored by Oracle developers. From time to time they'll pop by, but it's not something that's likely to be their #1 priority. You could log a TAR on metalink to get an answer from an Oracle person.
    Justin

  • Oracle Form as redirect to Oracle Reports

    Okay, I can't figure out how to hide the parameters in a URL from a non-Oracle Form to an Oracle Report. I found a work around on how to call an Oracle Report with a built in parameter form from an Oracle Form, but I have never used forms. Could anyone give me a clue on how I could just create an Oracle form with buttons to the reports so I can build the fix and redirect the user to the Oracle report. I would really appreciate any help, any guidance, any direction in this matter.
    Thank you,
    V-

    here is that information regarding 9i. Perhaps here
    you can find that information as a reference.
    Heterogeneous Connectivity Administrator's Guide Contents / Search / Index / PDF
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96544.pdf
    Joel P�rez

  • ORACLE TEAM WHERE ARE YOU?

    I posted a topic below. Can the Oracle Discoverer team please respond, otherwise there is no use for this forum.
    null

    Hi Bryan,
    We have a major release coming out this year (no dates yet) with a lot of new features! More details on that in the coming months...
    The Team DBPro you are referring is not yet extensible for other database vendors including Oracle. We are following the development of DBPro and will be counting on you and all the other members of our community for the good feedback you have been providing us over the last several years. We really appreciate it!!! You can provide feedback here in the forums or email me directly (see below).
    I am currently seeking interested beta testers for our next release. If anyone reading this is the sort of person who likes to play with a new release (the fun part) AND provide a lot of detailed feedback (the-not-so-fun-part :) ), please send me an email and when the time comes I will get in contact with you! [email protected]
    Thanks!
    Christian

  • Port Redirect on Oracle Database XE?

    New to Oracle programs, would like to know how to do following?
    Server has a listener on default Port 1521 and
    want the server to respond to the client
    with a different Port (or different server) with tns 'redirect' msg.
    Can this be supported by configuring listener.ora and tnsnames.ora?
    if yes, how? If changing the Port param to a number eg. 1550 in both .ora files,
    I assume this will make the client to send initial 'connect' to Port 1550 instead of
    1521 and tns 'redirect' will not be triggered.
    Thanks,
    Steve

    Setting USE_SHARED_SOCKET to reach Oracle database through firewall - Stack Overflow
    Please note this has also the disadvantage when you shutdown the listener all connections will be dropped.
    Also note when not using port 1521 you need to set the local_listener parameter in your spfile/init.ora.
    Sybrand Bakker
    Senior Oracle DBA

  • IE11 Keep Redirecting to Oracle Java Download Site

    I am running a page that launches a Java Webstart app and a Java Applet. I don't have problem launching this page in Firefox, but I have to run it in IE11. The thing is IE11 keep redirecting me to oracle java download site. I have install Java RE like 3 times from IE already. What am I missing?

    I am running a page that launches a Java Webstart app and a Java Applet. I don't have problem launching this page in Firefox, but I have to run it in IE11. The thing is IE11 keep redirecting me to oracle java download site. I have install Java RE like 3 times from IE already. What am I missing?
    Have you set the version of Java that you want used?
    See this thread:
    http://stackoverflow.com/questions/71254/force-internet-explorer-to-use-a-specific-java-runtime-environment-install

  • Error while redirection from oracle SSO to custom application

    Hi All,
    I have enabled SSO for my web based application. I have modified in mod_osso.conf files in $ORACLE_HOME/Apache/Apache/conf directory. When user gives url like http://<application server name>:<port number>/<application name> then the browser will automatically directed to SSO page. After getting the authontication it has to come to the home page of the application.
    After giving http://<application server name>:<port number>/<application name> the browser is going to SSO page. In some IE browsers after entering the authontication details, the browser redirects to the application home page. But in some of the IE browsers its going to 'page not found' error page.
    I have checked all the details like privacy, IE service pack and security but couldn't get a concreate reason. Please any one help me out.
    Shrikant

    Hi,
    I am currently experiencing the same problem. We have narrowed it down to users running Internet Explorer through a proxy connection (e.g. SQUID etc..). If they bypass their proxy servers then using the same PC / browser authentication works, however with the proxy enabled authentication fails and they have to refresh the page manually to get the portal landing page. The strange thing is the problem does not appear to happen with Opera / Firefox browsers.
    Here are some links to the SQUID proxy issues:
    http://www.squid-cache.org/mail-archive/squid-users/200312/0338.html
    http://www.squid-cache.org/mail-archive/squid-users/200312/0336.html
    Cheers,
    Wayne

  • Thanks to Oracle team for great Christmas gift ! (pb on Webcenter link)

    Hi,
    You are very great to give us TP3 for our Christmas gift !
    I've noticed a link problem on this page :
    http://www.oracle.com/technology/software/products/jdev/htdocs/11techpreview.html
    => This link for WebCenter is broken :
    Oracle WebCenter 11g Technology Preview 3
    http://www.oracle.com/technology/products/webcenter/owcs_r11_tech_preview.html
    Thanks you very much for your great job !
    Have a merry Christmas !

    Thanks, it's fixed now.
    -- Brian

Maybe you are looking for

  • How to export playlist from PC to Iphone 5?

    I have created a playlist on Itunes of music from my PC and am trying to export them to my Iphone 5. How do I sync these? Thanks, Linda

  • /SAPAPO/SNPLLC - does not appear to work as expected

    Hi Experts, I was wondering if anyone can shed light on how this program works. We need a successfull run of the LLC calc prior to running heuristics on the supply chain. currently the heuristics run gives unpredictable results due to the LLC calc no

  • Including an XML file

    Hi, I have a simple question: Is it possible for the users to include XML files? Situation: A user sends out 6 PDF Forms, after filling out he receives it again and needs it to include in his PDF form. Thank you for your help Carsten

  • Integrate Biller Direct 6.02 with Portal 7.0

    Hello Gurus, I am using Biller Direct 6.02 and my Portal is EP 7.0. What is the best way to integrate Biller Direct from Portal. Regards Deb [Points guranteed for helpful answers]

  • Best practices for customer segmentation

    Hi all I am looking for the best practices documentation for customer segmentation, but I cannot find it anywhere in the Service Marketplace. Could anybody please direct me to where the documentation is? Points will be awarded Thanks Joaquin