In the C++ DOM APIs.
Dave
[EMAIL PROTECTED] on 01/26/2000 05:25:40 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: David N Bertoni/CAM/Lotus)
Subject: Re: *::item() and *::getLength()
In the Java or C++ parser, and which APIs are we talking about exactly,
Hi Pierpaolo
I am still having this problem with DOMParser. I set the feature as shown:
p.setFeature("http://apache.org/xml/features/dom/create-entity-ref-nodes",false);
"Love & Sweetness" is converted to "Love Sweetness". When I traverse the
DOM there
is only one child node with the text "Lov
We just switched from IBM xml4j to Apache Xerces, and found
thatcharacter references and general entities not working in
PCDATA,while it's working in attributes.Here is the xml file we
used. The blue part will give us the right text,but the purple part is
shrinked to "function Function2(){
I've been watching this list for a while, working with IBM's parser and now
Xerces for Java. I just started working with schemas in hopes of avoiding
a whole bunch of custom document handlers for data validation, and I think
I've come across what looks like a bug. I've translated a DTD to a schema
In the Java or C++ parser, and which APIs are we talking about exactly, DOM
or SAX or what?
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]
David_N_Bertoni@lotus.com on 01/26/2000 02:11:38 PM
Please respo
If you get that error, it is likely that it was transcoded sucessfully into
Unicode for internal use. But, of course, the code point 0x is not a
valid XML character anywhere in a document so you get this error. So,
either the encoding is wrong but not wrong enough to make the transcoding
act
Maybe I missed the email that explained this, but why did the formal
parameter of the various item() functions change from int to unsigned long?
This (silently) broke a bunch of the Xalan code.
Given that it _was_ changed, why wasn't getLength() changed to return an
unsigned long? It seems incon
> Yes, if you look in the ps at the end of the mail, you have it.
Sorry. There I go reading emails too quickly again...
> >
> I'm a dummy about encondings
I'm a dummy about them also. Since you have "An invalid XML character
(Unicode: 0x0)", it looks like you are possibly inserting a charac
Okay, I think I see the problem. I was running a debug build of my project.
This debug build links in msvcrtd.lib and msvcirtd.lib which appear to
conflict with the release version of the run time linked into the Xerces
parser. I fixed the problem by setting up my debug project to link with the
r
My first reaction would be to say NO. Oracle is a smart database package
that knows how to read XML. They have nice features in 8i. Creating a flat
file from an XML is like going backward. A better solution would be to
investigate how you can read the XML directly into Oracle. IBM's DB2
extender ha
A way to see which DLLs are being used
is to use DEPENDS.EXE which comes with VC6. It will
tell you which 'should' be loaded if the exe was
run.
Another way is to use pview.exe which is also
a part of VC6 and will tell you
which DLL is 'really' loaded. You may find that another
application running
> Would it be of interest to add the C++Builder Projects to the source tree ?
> My project structure for C++Builder is in the parallel to VC. Unfortunately
> my code now isn't very god, its just working.
We will be happy to add the C++Builder project files to the source
as long as you can
- inte
> On the XML Apache website you talk about a TreeView component for C++
> builder which shows XML data.
>
> I've searched the Alphaworks site but haven't found anything. Where can I
> get it?
>
Sorry for not being more specific. The C++ Builder sample
'DOMSampleTreeViewer.zip'
may be downloa
I was able to build samples files on solaris .
Now, We are receiving a datafile from a vendor which is in a XML format
based on DTD supplied by them.
I want to remove all those XML tags and create a flat file with data only.
Use that flat file to upload data into Oracle.
I'm new to XML so can som
What you are doing looks basically correct to me. The first element added
to the document implictly becomes the root element, then you are adding
other elements underneath that. It seems basically correct. One thing to
try, assuming that you are confident that your build is ok since you can
run
Please find below some excerpts from the new sample that we have
added to Xerces-C. It illustrates how you can create a DOM tree
in memory. Note: It uses DOM Level 2 api's to create the
document node.
The next binary release of Xerces-C 1.1.0 will contain this sample.
If you need it today, then yo
> I download "Xerces-C-src_1_0_ 1 " and ran runConfigure like
> runConfigure -psolaris -cgcc -xCC. Then I ran "make"to build samples.
>
Besides using gmake instead of 'make' do not mix gcc and CC. At best
you may be able to compile the sources, but they won't link as the
binary file formats ar
After a quick look at what you are describing... For something like this to
happen, either you've got to have some horrible heap corruption, multiple
runtimes, someone returning pointers to non-allocated memory and telling
people its really allocated memory, or someone returning pointers to mem
Pier,
Is there a place where I can find the StyleBook syntax (apart
from looking atthe DTD and figuring out the hard way). It seems you have written
up some document, but I cannot seem to locate it. In case it is gone, can you
reinstate it back?
Thanks,
-
Anupam==
>
>
> Version number : 1.0.1
> Platform: NT4 + SP4
> Compiler: MSVC6
>
> Sample file: Attached---Its basically a cut paste of DOMPrint sample
>
> Problem: In function ostream& operator<<(ostream& target, const DOMString&
> s)
>
> When delete is called on p it results in a Debug Assertion.
>
Andy is in a W3C meeting right now, so he can't answer. But I think that
this was already reported and is fixed now in the latest code, but if not
I'll make sure that he sees it once the meetings are over so that he can
slip it in before the new release.
---
Ok, I'll fix that today. Thanks.
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]
David_N_Bertoni@lotus.com on 01/26/2000 07:44:52 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subjec
Does our binary build run ok on your system? If so, then its got to be
something to do with your build. Given that 6/3 is nowhere in particular,
that's a sign that something is pretty completely hosed in your build and
that the parser is just out in the ozone. Where did you get the code and
when
Here is what the C++ version looks like. Given a validator its:
NameIdPoolEnumerator elemEnum =
valToUse->getElemEnumerator();
while (elemEnum.hasMoreElements())
{
}
Of course we use templates because that's the C++ way, but basicaly we just
ask the validator for an enumerator
Its gmake (GNU make)
Arundhati
IBM- Java Technology Center
Cupertino, CA
Axel Hecht wrote:
> I compiled here on solaris 2.7 without no problems as well.
> Which make are you using? (I used GNUmake.)
>
> Axel
I have
seen this EXACT same behavior. I thought it might be due to my using a dll
and having differences in the versions of the C run time that I'm linking
with. I've since confirmed that my dll and my main exe are both using the
same version of the CRT. Anyone else come across this... an
New to the list, pardon if discussed before, couldn't find
anything in the archives.
I get the following message when trying to build XercesJ 1.0.1
(on WinNT, but I don't think that matters):
OutputFormat.java:67: Class org.w3c.dom.html.HTMLDocument not found in
import.
import org.w3c.dom.html.HT
Unfortunately, I think leaks will be a continuing source of complaints,
especially as the code base gets into to more applications. Making an
uninitialize method available (which could be called from global object
destructors) that releases resources and restores each and every static back
to null
I really meant util/XMLURL.hpp, not framework/XMLURL.hpp. Sorry for the
confusion...
Dave
David_N_Bertoni@lotus.com on 01/26/2000 10:44:52 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: David N Bertoni/CAM/Lotus)
Subject: Problem with framework/URLInputSourc
This file should include framework/XMLURL.hpp, since URLInputSource has an
instance of an XMLURL as a data member. Although Xerces will build
properly, others will not be able to build unless they also include
XMLURL.hpp.
I've made the change to URLInputSource.hpp locally, and rebuilt everything
I'd like to associate an Entity-manager with Xerces and fail to get it
right. The classes are quite straightforward
public em extends EntityManager {
public InputStream(String pubid, String sysid) {
if(pubid.equals("foo"))
return new InputStream("fi
Version number : 1.0.1
Platform: NT4 + SP4
Compiler: MSVC6
Sample file: Attached---Its basically a cut paste of
DOMPrint sample
Problem: In function ostream&
operator<<(ostream& target, const DOMString& s)
When delete is called on p it results in a Debug Assertion.
In dbgheap.c a
[C++|1.0.1]
A few days ago I have sent a mail regarding static compilation for Windows
NT, which in the case of the product I am working on is very useful.
Did somebody do the same thing for Unix ?
It would be very helpful.
TIA
Jean Georges PERRIN
--
Four J's Development Tools (www.4js.com)
[E
Hello,
After compiling the xerces-c distribution on my Linux (without any problems and
following the instructions), I've just tried to run the different samples like
DOMCount, DOMPrint, SAXPrint, etc (on personnal.xml, for example). Each
time I get into this error:
Fatal Error at file "perso
I compiled here on solaris 2.7 without no problems as well.
Which make are you using? (I used GNUmake.)
Axel
meanwhile I found the reason:
I was using CodeFusion 1.0 with gcc 2.9 which
assigns the Error 1 state.
Using the plain SuSE distribution,
the problem is assigned the Warning state
and the system links fine!
Regards,
Bernd--- Begin Message ---
Dear developer,
I tried to compile Xerces-C-src_1_0
Andy Clark wrote:
>
> Pierpaolo Fumagalli wrote:
> > It doesn't really mean what are your directory names, until we keep the
> > sbk:// thing... But since it seems to create some confusion, I was
> > thinking about removing it and standardizing the directory naming...
>
> How about creating a sta
Dear all,
We're using Xerces-J 1.0.1 in a server being
developed, and getting a NullPointerException in
org.apache.xerces.dom.DeferredDocumentImpl.
See line below (1218) where error
occurs.
Still trying to find a way to reproduce the error
but only clues we
have at the moment are that
Praki Prakash wrote:
>
> I am trying to get DTD information in Xerces-Java 1.0.1 and following
> EnumVal sample from Xerces-C. I don't see any way to get the element
> declaration pool (getElemEnumerator method) from DTDValidator. Most of
> the methods in DTDValidator take element declaration inde
Pierpaolo Fumagalli wrote:
> It doesn't really mean what are your directory names, until we keep the
> sbk:// thing... But since it seems to create some confusion, I was
> thinking about removing it and standardizing the directory naming...
How about creating a standard StyleBook EntityResolver th
Just to make sure everyone is up to date on the additions that have been
added to make the next release more friendly for "non-local file" oriented
XML parsing...
There is an abstract base class in the util/XMLNetAccesor.hpp named
XMLNetAccessor. Each platform support file can, upon request by
The entire build instructions are at the web-site:
http://xml.apache.org/xerces-c/build.html
The make utility is 'gmake' not make.
- Anupam
- Original Message -
From: Doshi, Nilesh <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 25, 2000 3:36 PM
Subject: Problem build
42 matches
Mail list logo