Re: DOMCharacterData::substringData () does not throw exception as documented.

2004-05-28 Thread david_n_bertoni
> Hi all, yeah, I'm a newbee here... > > Maybe I'm doing something wrong or maybe it's just Friday afternoon and I want to go home, > but I can't seem to find Xerces-C++ on the product list page to submit this bug to Bugzilla. > I see Xerces-J and Xerces-P but no Xerces-C. :-( > Xerces-C is using

Re: Validation with a default DTD

2004-05-28 Thread Michael Glavassevich
It's possible with SAX 2.0.2. It supports DTD processing and validation for XML documents which do not have a DOCTYPE through the EntityResolver2 interface [1] (the javadoc is a little out of date). [1] http://www.saxproject.org/apidoc/org/xml/sax/ext/EntityResolver2.html#getExternalSubset(java.l

DOMCharacterData::substringData () does not throw exception as documented.

2004-05-28 Thread Rager, David
Hi all, yeah, I'm a newbee here... Maybe I'm doing something wrong or maybe it's just Friday afternoon and I want to go home, but I can't seem to find Xerces-C++ on the product list page to submit this bug to Bugzilla. I see Xerces-J and Xerces-P but no Xerces-C. :-( Anyway... I'm using xerces-

[jira] Commented: (XERCESC-1193) BUG with the spanish acute on linux but not on solaris (from Bugzilla#28384)

2004-05-28 Thread jira
The following comment has been added to this issue: Author: John Dorney Created: Fri, 28 May 2004 8:39 AM Body: I was having a similar problem on linux. I tracked the problem down to the native Transcoder for linux. Since you are only using iso8859-1 characters you can just spe

[jira] Updated: (XERCESC-1220) Unrecognized attribute value for xsi:nil='1'

2004-05-28 Thread jira
The following issue has been updated: Updater: Matthias Jung (mailto:[EMAIL PROTECTED]) Date: Fri, 28 May 2004 8:37 AM Comment: Here a patch fixing this bug. Apply from folder '~/xerces_2.5.0/src/xercesc' with patch -p3 < ~/patchfile.txt Changes: Attachment change

[jira] Created: (XERCESC-1220) Unrecognized attribute value for xsi:nil='1'

2004-05-28 Thread jira
Message: A new issue has been created in JIRA. - View the issue: http://issues.apache.org/jira/browse/XERCESC-1220 Here is an overview of the issue: -

Problems linking application in cygwin

2004-05-28 Thread Horacio de Oro
Hi! I was created a little application that parses a small xml document on Linux. It's working well now. Now I want to compile it on Cygwin, but the version of xerces that comes with cygwin give me errors while linking it. So I download the sources of Xerces 2.5.0, compile it and use it to compil

Re: SV:Repost: Only errors by validating a well-form ed XML-File against a DTD

2004-05-28 Thread Lienemann
Oh, I'm afraid its a typo. But I'm not able to check it now, if it would work now. But would he break to load the DTD just because of this typo?? In the error-message he says, every Element in my XML-File is not known. I will try it on Thursday and maybe its working now. THX Kai Lienemann -

Re: SV:Repost: Only errors by validating a well-form ed XML-File against a DTD

2004-05-28 Thread Alberto Massari
Is this a typo, or the real DTD? In this case, this line is wrong At 14.41 28/05/2004 +0200, Lienemann wrote: [...] numAxesCDATA 'REQUIRED it should be #REQUIRED Alberto - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: SV:Repost: Only errors by validating a well-form ed XML-File against a DTD

2004-05-28 Thread Lienemann
Hello, I have no problem to load an external DTD, just the problem, that the DTD is found (when i change the filename in "loadGrammar(path)" i get an error, but when I have it like I have it written upwards, the loading throws no error) but he got the DTD not really. The DTD and the XML-File shou

RE: passing FILE*

2004-05-28 Thread Jesse Pelton
Consider implementing your own FormatTarget. LocalFileFormatTarget is very simple. Just clone it except for the constructors. You'll want your own contructor that takes a FILE *, or perhaps a FileHandle. If a Xerces FileHandle is a FILE * on your platform, all the constructor needs to do is ass

Re: Converting float to XMLFloat

2004-05-28 Thread Bettina Reck
Hi, Gareth! Thanks again for your answer! In the meantime I solved my "problem" - I just had to convert my input data with sprintf() to a char* and then further on via XMLString::transcode() Bettina > Hi, > where are these inputs coming from? Are they actually XMLFloat > types? If the

Re: XInclude

2004-05-28 Thread Gareth Reakes
Hi, not that I know of, but its definitely something that I would use. Gareth On Fri, 28 May 2004, Adam Taylor wrote: > Is anyone out there working on http://www.w3.org/2001/XInclude? > Just curious before I start to look into it. > Thanks, > -Adam Taylor > > > --

XInclude

2004-05-28 Thread Adam Taylor
Is anyone out there working on http://www.w3.org/2001/XInclude? Just curious before I start to look into it. Thanks, -Adam Taylor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

OSX : problem for parsing files

2004-05-28 Thread Guillaume
Hi list,   I'm using Xerces 2.1.0 on both macOS 9.2 and 10.3 (I've built a non-carbon and a carbon (mach-o) library for my application). When I run my os 9 application, there is no problem, the xml files are parsed correctly (for example I use the path "Macintosh HD:myfile.xml"). However with

passing FILE*

2004-05-28 Thread Imran A R (RBIN/EDM1) *
Hi All Am trying to - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Converting float to XMLFloat

2004-05-28 Thread Gareth Reakes
Hi, where are these inputs coming from? Are they actually XMLFloat types? If they are, take a look at the API for XMLFloat. There are methods there that will help you. If not, explain your situation in more detail and I will try to help. Gareth On Fri, 28 May 2004, Bettina Reck wrote: >

passing FILE*

2004-05-28 Thread Imran A R (RBIN/EDM1) *
Hi All Am trying to serialize a DOM doc into a physical file. this is the code, XMLFormatTarget *myFormTarget = new LocalFileFormatTarget(filename ); //Write out the specified node as described above in the description

Re: Converting float to XMLFloat

2004-05-28 Thread Bettina Reck
Thanks for the answer! The DOM document element nodes consist of text nodes and therefor are of XMLCh datetype - that's clear to me. But in my task I have to build an XML file according to a given schema of several input values and some of them are floats. So is there a save way for the floats to

Re: Repost: Only errors by validating a well-formed XML-File against a DTD

2004-05-28 Thread Gareth Reakes
Hi, did the answer to " Validation with a default DTD" answer your question? Gareth On Fri, 28 May 2004, Kai Lienemann wrote: > I psoted this question some weeks ago and got no answer. But I think it > can't be so difficult, although I find no solution. Maybe somebody had the > same pro

SV:Repost: Only errors by validating a well-form ed XML-File against a DTD

2004-05-28 Thread Gröndal Daniel
Hi, What does your DTD look like? Are you sure it is correct? Sometimes the problem is easier to solve then expected... Just to start with //daniel Kai Lienemann (2004-05-28 09:58): >I psoted this question some weeks ago and got no answer. But I think it >can't be so difficult, although

Repost: Only errors by validating a well-formed XML-File against a DTD

2004-05-28 Thread Kai Lienemann
I psoted this question some weeks ago and got no answer. But I think it can't be so difficult, although I find no solution. Maybe somebody had the same problem? So here is the question: Hello, I want to validate my XML-Files against a specific DTD-File. Because every File shoul be validated with

re gcc 3.4.0

2004-05-28 Thread Gareth Reakes
Hi Greg, many thanks for the report. Could you chuck it in a Jira report so it does not get lost? Gareth -- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com --

Re: Validation with a default DTD

2004-05-28 Thread Gareth Reakes
Hi, IIRC you can't currently do this easily through the standard API (I can't recall the last time I worked with a DTD :)). Options: i) add a doctype after you get the document. ii) Take a look at some code in Pathan which does validation of sub trees by looking the root node up in the cu

Re: Converting float to XMLFloat

2004-05-28 Thread Gareth Reakes
Hi, On Thu, 27 May 2004, Bettina Reck wrote: > Dear all, > > I am new to Xerces-c-parser and I have the following question: > > I am using the DOMWriter to serialize an XML-file which I created before > using the DOMBuilder class. Some of my text-nodes have a float value so how You hit the nail