newsml-toolkit-users Mailing List for NewsML Toolkit
Brought to you by:
dcompton,
dmegginson
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
|
From: Viner, D. <dv...@ya...> - 2004-09-14 01:40:12
|
Hi,
I'm trying to install newsml-toolkit, but I get this problem:
% java -cp xerces.jar:saxpath.jar:jaxen-full.jar:newsml-toolkit.jar
NormalizeNewsML ExampleText.xml
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xerces/framework/XMLParser
at NormalizeNewsML.main(NormalizeNewsML.java:21
Is there a different xerces.jar that I should use? (all jar files are from
the newsml-toolkit download from sourceforge)
thanks
dave
|
|
From: Pierre R. <pie...@cg...> - 2004-01-21 13:50:39
|
Hello,
first, as a newcomer on the list, hello everybody.
Then, my question :
I'm using the NewsML API and I need to insert a CDATA section into a
DataContent element, for example something like :
<DataContent>
<![CDATA[
anything with stange characters, like <, >, etc. In fact that will
be mainly HTML
]]>
</DataContent>
When I use the method setText("<![CDATA[... ]]>"), the text is escaped and i
get < instead of <, etc.
When I use the method setXMLString("<![CDATA[... ]]>") I get a error saying
that my xml string is not valid, which I do not understand.
Could anyone tell me how I could insert a CDATA into a DataContent element ?
thanks a lot
Pierre
|
|
From: Enrique S. A. <esa...@it...> - 2003-05-26 12:36:59
|
> Hello, > > I have just started to use this library for composing NewsML documents. > However I have encountered a problem: when I have to set the ProviderId > element of a NewsIdentifier, I cannot find any way to do that; should > there not be a "setString" method or so in ProviderId class...? > However I am afraid that my problem is related to my newbie condition, > so I apologize if the question is too basic or something... anyway > thanks for reading my message and congratulations for the authors of > the newsml-toolkit. > > Regards, > Kike Oops, problem solved... the ProviderId class has a method named getName() which returns a Text object which I can modify, thus modifying the text of the provider. Thought the method was only giving me a copy of the Text object... Thanks anyway, Kike |
|
From: Enrique S. A. <esa...@it...> - 2003-05-21 16:42:04
|
Hello, I have just started to use this library for composing NewsML documents. However I have encountered a problem: when I have to set the ProviderId element of a NewsIdentifier, I cannot find any way to do that; should there not be a "setString" method or so in ProviderId class...? However I am afraid that my problem is related to my newbie condition, so I apologize if the question is too basic or something... anyway thanks for reading my message and congratulations for the authors of the newsml-toolkit. Regards, Kike |