Getting question marks in html output when XML sourced from a CLOB...

I have noticed a number of other unanswered questions on the
same subject in this forum. Can someone at Oracle shed some
light on this problem?...
I store XML in CLOBS which contain a lot of é ö
characters. When using XSQL to select the XML from the CLOB I
have to apply a stylesheet to the XSQL (myFile.xsql) with
disable-output-escaping ="yes" in order to output well formed
XML.
I then call the XSQL file from inside another stylesheet i.e.
<xsl:variable name="sample" select="document(myFile.xsql)"/>
<xsl:template match="/">
<xsl:for-each select="$sample">
<html>
<body>
<title>
<xsl:value-of select="/page/title"/>
</title>
</body>
</html>
etc...
I use <xsl:for-each select="$sample"> to output the XML I need,
within the HTML. The problem is though if "&eacute;" appears in
the /page/title node the output in HTML appears as a question
mark.
Its important to note as well that the stylesheet I apply to
myFile.xsql starts with:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output doctype-system="/myFile.dtd" indent="yes"/>
etc..
and myFile.dtd has <!ENTITY eacute "&#x000E9;"> in order to
validate &eacute; in the CLOB.
I don't have this problem when the &eacute; character is stored
in a VARCHAR2 column and the VARCHAR2 column is in the same
select statement as the CLOB in the XSQL file. This outputs in
my HTML just fine. What am I missing here?
Shaun

I parse the XML doc into a domdocument and then loop through using xpath.valueof to pull the individual values from the nodes and then build a generic insert. It works quite well with a small number of columns. I'm not sure how it would work with a lot of columns. You can get code examples from Steve Muench's book "Developing Oracle XML Applications".

Similar Messages

  • Getting question marks in html output when xml file has an mdash or rsquo

    I have a java servlet that gets an xml file out of ifs, applies
    a style sheet to it, and sends it to the browser as html.
    I have:
    DOMparser parser = new DOMParser();
    parser.parse(XmlUrl);
    The characters ampersand, greater than, less than, and
    apostrophe work fine.
    HOWEVER, When the xml file has an mdash(&#X2014) or a rsquo
    (&#x2019) in it, my html output in IE shows up with question
    marks where these characters are supposed to be.
    Does anyone know what I can do to fix this? I don't understand
    why it would work with some special characters and not others?

    UPDATE
    Compiling from command line I found out that the class definition for oracle.oats.scripting.modules.basic.api.IteratingVUserScript is missing. Do you know what .jar file contains this class?
    Thanks.
    Fede.

  • Repeatedly getting question marks on my dock apps...

    I'm not moving or deleting anything, but a bunch of my dock's apps keep getting question marks on 'em and I have to go find the app and make a new shortcut. This happens on both our MacBook (OS 10.5.6) and our old G4 running OS 10.4.11. Each computer just has one user account set up.
    This is slowly driving us crazy. Help!!?? I've searched and search on the support pages and can't find anything on this except stuff that says I must have deleted the apps, etc.
    Thanks in advance for any ideas.

    Howdy Ferd II,
    Nope, not using anything to modify dock...and not using any non-apple maintenance or utilities. Not aware of any cache cleaning utilities either. I'm not savvy enough to have set up any of that.
    The apps are usually MS Office apps and Adobe apps (InDesign, Illustrator, Photoshop, Acrobat). My Quicken app has done it too. Oh, and my Canon ImageBrowser. Those are all the apps I use the most, so pretty much everything.
    Except, iTunes has never done it...I use that a lot. And Safari....Can't remember if Safari has ever done it.
    All of the above is referring to the laptop, but the desktop computer is pretty bare bones, too. No mods other than basic system with a few apps installed. We mostly use Safari, an older Photoshop, and MS office on it. Same kind of behavior. Never with iTunes, though!
    When I got the laptop a year ago, I thought I'd not have this issue that I'd been dealing with on the desktop machine. Then when it started happening on the laptop, I figured there'd be other people chiming in that this happens to THEM too, but so far none of that......! So it is a puzzlement.
    E.

  • I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    Hold down the Option key while you boot your Mac. Then, it should show you a selection of devices. Click your flash drive and it will boot from that.

  • What does a file folder with a question mark in it mean when the computer won't start?

    What does a file folder with a question mark in it mean when the computer won't start?

    There are four general causes of this issue:
    1. The computer's PRAM no longer contains a valid startup disk setting when there aren't any problems with the disk itself. This can be checked for by pressing the Option key and seeing if the drive appears.
    2. The internal drive's directory structure has become damaged. This requires usage of an alternate bootable system to perform the repair.
    3. Critical system files have been deleted. This requires usage of an alternate bootable system to reinstall them.
    4. The internal drive has died or become unplugged. This is the most likely case if the computer took a sharp impact or there are unusual sounds coming from the hard drive's location.
    (68976)

  • Why do I get question marks on iphoto instead of the photos?

    Why do I get question marks on iphoto instead of the photos?

    Possibly because you have set iPhoto to refer to photos stored elsewhere rather than copying them into its own library; and you've moved the photos.
    If you have it set this way, Preferences>Advanced - 'Copy items to the iPhoto Library' will be unchecked.

  • Late Mac Mini 2013 ,osx Yosemite .It's shows "?" (Question Mark) on the sreen when Start .

    Mac Mini Late 2013 .
    2.6GHz ,Quad core I7.
    1TB (5400-rpm) hard drive.
    OSX Yosemite upgrade .
    Now It's won't start .The screen shows " ? " ( Question Mark ).
    I ran Hardware test :No trouble found .
    Memory test : No trouble found .
    Please Help !

    A flashing question mark or globe appears when you start your Mac - Apple Support

  • I cleaned up my mac and now all my applications are gone. I try to open them and it has a question mark on the app icon. Everything from System prefrences, Everything in itunes, iphoto, preview and mail? Please help

    I cleaned up my mac and now all my applications are gone. I try to open them and it has a question mark on the app icon. Everything from System prefrences, Everything in itunes, iphoto, preview and mail? Please help

    These question marks are on your dock? And you can't open applications from your dock?
    If so, try this: Open a new finder window and navigate to the Applications folder in your hard disk. The applications in question should still be in there (the Applications folder). So drag each of the application icons that you want to be available on your dock from the Applications folder onto your dock, one by one. Take each of your question mark icons that are on the dock and drag them off the dock to get rid of them. See if that fixes you up.
    Now, if your hard disk no longer has an Applications folder in it, or the Applications folder is empty, you are going to have to reinstall OS 10.6 then do a software update to bring you back up to OS 10.6.8. You may be able to just go to the "optional installs" folder on the installer DVD and maybe all the stock applications are there -- I don't remember and I don't have an installer DVD handy to look. That would be way easier than doing a full blown OS reinstall. Also, as I recall, if OS 10.6 was on the computer when you bought it from the store, I think there should be an "extras" DVD that has a handful of applications that could be reinstalled from it, too.

  • How can I get rid of a 1202 error when downloading products from itunes

    How can I get rid of an 1202 error when downloading products from itunes?

    You have probably downloaded the Norton program which is one of the least desirable helpmates you can invite in.
    Read this thread and follow the suggestions by Thomas R, one of our gurus in this field.
    https://discussions.apple.com/message/20005609#20005609

  • RAW JPEG PROBLEM  I'm new to Aperture and neglected to mark RAW JPEG pairs when I imported (from iPhoto).  Now I have two images for each photo.  Help!!  How can I change this?

    I’m new to Aperture and neglected to mark RAW+JPEG pairs when I imported (from iPhoto).  Now I have two images for each photo.  Help!!  How can I change this?

    How did you import from iPhoto? If you saw the Import panel with raw -jpeg pairs, then you probably did not import your iPhoto library as library, but as files, and then you will see plenty of duplicates - previews, thumbnails, originls, edited versions. If that should be the case, it would be better to delete the import from iPhoto and to import your iPhoto library again, but this time using "File > Import > Library".
    Only that would require compatible versions of iPhoto and Aperture.  What are your Aperture and iPhoto version numbers?

  • I am resurrecting my old iMacG5 for my grandson. Appleworks has question mark in dock and does not load from bundled software on original installation discs. Can anyone help?

    I am resurrecting my old iMacG5 for my grandson. Appleworks has question mark in dock and does not load from bundled software on original installation discs. Can anyone help?

    I'm sorry no-one has answered you yet - I'm afraid I don't know the answer to the question: but I wanted to put into your mind that starting up with AppleWorks at this stage isn't a good idea. The program was 'end-of-lifed' years ago, it won't run on Lion, and some of the document types created in it - Databases in particular - cannot be opened at all by any other program whatever. Word Processing documents can be opened in Pages, and Spreadsheets in Numbers (with some reservations in both cases), but building up a collection of AppleWorks documents at this stage is going to lead to problems later on.
    It's difficult to know what to recommend for a PowerPC machine that would still be compatible with modern ones. An older version of Microsoft Office, perhaps, if you can find one which will run on PPC; but most of the modern Word Processors are Intel only. This is something you would need to investigate.

  • Hey, My macbook is giving me a flashing question mark on startup. When I hold down the command key to get to system preferences it asks me for a firmware password, that I did not set! Any ideas on how to bipass this?

    Hey, My mac book is giving me a flashing question mark on start up. When I hold down the command key to get to system preferences in order to help it find the system software it asks me for a firmware password, that I did not set! I also do not have the start up DVD/disk anymore. Any ideas on how to bypass this?

    Contact Apple or an authorized Apple service provider.
    (116347)

  • TS3423 my start drive not responding. getting grey screen with question mark in a folder. when i use disk utility drive wont mount

    When I turn on my Mac I get a grey screen with a folder with a question mark . Have tried the disk utility to no avail as the disk has apparently dismounted and will not mount even though the mount option is available. I have recently upgraded from snow leopard go os x maverick

    This could be a software/state problem or a hardware problem.  In your case it sounds like the latter but you should try the steps below in case it might help.
    Mac OS X: Gray screen appears during startup
    http://support.apple.com/kb/TS2570

  • Same problem, old topic - won't boot get question mark folder

    I have a G4 14" ibook that has stopped working. When I boot I get the folder with the flashing question mark. here are some specifics:
    - fan starts then stops
    - hard drive starts up
    - pram has been reset
    - booting in target mode allows hard drive to function properly on my imac (not a hard drive or hard drive connector problem)
    - removed logic board and had a circuit technician inspect all solder joints under very high mag with no problems evident
    - replaced logic board with a known good logic board and have the same problem
    I really could care less about the computer at this point as it has run its course, but it is now one of those things that if I don't figure out the problem I'll begin loosing sleep.
    If anyone has any other ideas, I'd enjoy attempting them.

    If the optical drive on the iBook G4 is failing, the only way to load 10.3 on a G4 14" (assuming it came with 10.3 or less), is via another PowerPC Mac, or an external Firewire optical drive.
    Three facts to keep in mind:
    1. Macs can't boot an older operating system than shipped with them.
    2. All Macs shipped with system specific discs, which if lost need to be replaced either by calling AppleCare, or the last seller if non-Apple authorized for those discs if Apple no longer has them.
    If you lost the discs, and bought from an Apple Authorized seller, and AppleCare no longer has them, obtaining them is very difficult, and it is best to piecemeal get the separately sold operating system, and applications. Keep in mind for machines like the iBook G4 that's the only way to install Classic on them. Elements of iLife may have been included depending on age:
    http://discussions.apple.com/thread.jspa?threadID=1490798&tstart=0
    Newer versions of iLife may install depending on system requirements:
    http://support.apple.com/kb/TA27615
    http://www.apple.com/ilife/systemrequirements.html
    Appleworks never was sold with the retail installer discs, though a retail version may be available that will work on it.
    Hardware Test never was sold with the retail installer discs.
    3. Macs can install operating systems newer than them which are retail (non-OEM, non-Update, non-DropIn, not labelled for specific Mac).
    Message was edited by: a brody

  • Getting question marks instead of images on some pages

    any help would be greatly appreciated. when opening some pages i get blue box with white question mark in it. i have been through a complete erase and install. have installed all updates. when it tells me there is an error, i go to window/activity and it says host server not found. talked to internet provider they seem to have no clue.not sure what else i can do PLEASE HELP!!!!
    mac mini   Mac OS X (10.4.6)  
    mac mini   Mac OS X (10.4.6)  

    Mom, et al. . .
    I agree the internet address would be very helpful so we could test it.
    I do have a few suggestions for at least making sure a simple clean up is not the problem:
    First: Do you have internet apps SpeedDownload, iGetter, PithHelmet, Acid Search, Safari Enhancer ? Or Norton or Virex? Sometimes non-apple internet apps need updating or uninstalling.
    Also, if the problem is only in Safari, have you done all of the following?
    (Do these one at a time, then Restart Safari)
    1. Empty your cache & History settings via the Safari menu
    2. Trash your Icons Folder:
    HD>Users>Home>YourName>Library>Safari -->Icons
    Restart Safari and a new folder will be automatically regenerated.
    (This folder saves favicons of all the sites you visit. Needs cleaning periodically -- or you can change that file's preferences to "Read Only"
    rather than "Read & Write." This will keep it from growing in size.)
    3. Launch Font Book and check all fonts for duplicates. A duplicated font will have a bullet beside the font family and you can resolve duplicates by selecting the font and at the menu bar, go to Edit > Resolve Duplicates.
    Do this for each font with a bullet next to it.
    If you're still having problems:
    4. Shut down your computer . . . unplug the computer, modem, and router, if you have one. Let everything sit for 2-3 minutes. Plug everything back in, start up your modem & router, then restart your computer.
    Hope this helps

Maybe you are looking for

  • Toda vez que o computador é ligado, o Firefox volta as configurações padrão?

    Conforme vocês podem ver pela pergunta, toda vez que ligo meu computador, o Firefox retorna as configurações padrão e acabo perdendo todas as minhas configurações pessoais, como por exemplo os favoritos, página inicial e complementos. Isso aconteceu

  • Not working in Dubai

    New update not working in dubai. Using hotspot shield it is not working. Now skype is worst. Pls help.

  • Application Launch/Quit Oddities

    I'm having an odd, re-occurring problem with Mac OS X on my MacBook Pro. Every once in a while (maybe once every month), it'll get into this weird state in which no applications will launch (they just bounce for a while, then stop; but never actually

  • Sybolic accounts - GL accounts List

    Hi Friends Can any one tell me where, in which table can we find the list of Symbolic accounts we defined and list of GL accounts we defined ( ofcourse related to FI module) and which symbolic account is assigned to how many GL accounts. where can we

  • Syncing Photos with reduced size

    Initially when I sync photos between my computer and iTouch, there is an option of whether to keep the original size of those photos. After I switched to a different folder to sync photos with iTouch, I do not have that option from iTune. can someone