473,406 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

CData Error (Java JDOM)



I'm using JDK 1.4.2 and JDOM 9.

Is there a restriction on what can be put into CDATA sections ? IE is
failing on the registered trademark sign (r in a circle). It might not be IE
but that's all I have here. Is there a restriction on what I can put into
CDATA ?
Jul 20 '05 #1
1 1935
In article <26********************@giganews.com>,
Elton John <me@privacy.net> wrote:
Is there a restriction on what can be put into CDATA sections ? IE is
failing on the registered trademark sign (r in a circle). It might not be IE
but that's all I have here. Is there a restriction on what I can put into
CDATA ?


You can certainly put that character in a CDATA section, but because
you can't use character references in a CDATA section you can only do
it if the encoding you are using includes that character. However,
most encodings (eg latin-1) do include it, so I doubt that's the
problem.

-- Richard
--
Spam filter: to mail me from a .com/.net site, put my surname in the headers.

FreeBSD rules!
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Asad Khan | last post by:
Hi, I wrote a few methods in a class, and I am using someone else's code that interfaces with the database. I created some test classes, and when I run it, I get the following error: ...
0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
0
by: Forest | last post by:
Hi, I am using JDOM beta 9. I got VerifyError when starting Websphere server using the following code. The following was inside an EJB, there is no error when I use data.setText(). Element...
1
by: Manoj Nair | last post by:
I am using Weblogic XMLOutoutStream to create a XML file on the fly. But instead of using flush() method and writing a physical file onto the disk I want to convert this outputstream to a java...
3
by: Bernd Oninger | last post by:
When I run the successfully compiled java source shown at the end I got a runtime error: Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/Content Where is the missing class ?...
1
by: TIANA | last post by:
Hi guys, unfortunately i'm a newbee to java and xml and xsd... part of my xsd looks like this: <xs:simpleType name="val"> <xs:restriction base="xs:string"> <xs:enumeration...
7
by: Tom | last post by:
I need help to implement the following task in Java and any XML API but preferably JDOM. I am a total newbie to this. I have a DocBook document, for example: <chapter> <title>Title</title>...
0
by: idorjee | last post by:
Hi Can anyone please help me why my java program says the following when I try to build it in NetBeans: Compiling 1 source file to /Users/Desktop/Jproject/jdom/build/classes...
1
by: shalini jain | last post by:
Hi all, I am very new to java and have a very limited knowledge about this. i am stuck at one problem which is really druving me crazy.. The problem is : I have written a code wherein I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.