Re: Getting at PSVI

2003-12-11 Thread Neil Graham
Hi Hong, > Good stuff/hints here. But from looking at the source codes, it seems > like there is no public API to get to the GrammarPool. Indeed... > And XercesDOMParser/SAXParser have a protected fGrammarPool member but > I can't get to it without subclassing them. Somehow I thought we'd d

Re: [PATCH]: URI implemention fixes

2003-12-11 Thread Neil Graham
Much thanks Michael! I've committed your patch. Cheers! Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 905-413-3519, T/L 969-3519 E-mail: [EMAIL PROTECTED]

[PATCH]: URI implemention fixes

2003-12-11 Thread Michael Glavassevich
Hi everyone, Here's a patch to the URI implementation which adds support for registry based naming authority. It's a port of the code I added to the last release of Xerces-J. Might as well keep both implementations in synch since they're almost identical. :) --- Michael Gl

XMLString::transcode and AIX

2003-12-11 Thread Bradshaw, Karen
Title: XMLString::transcode and AIX In using XMLString::transcode on AIX, have found that the return code is identical (1) whether the buffer is of sufficient size (BUFFER_SIZE) or not.  Other Unix platforms, for example, Solaris, return 1 when buffer is sufficient and 0 when not. int return

DO NOT REPLY [Bug 25412] - Build environment macros fail to expand, properly

2003-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

RE: problem with getElementById()

2003-12-11 Thread Scott Cantor
> That is not correct. > XML Schema Part 2: Datatypes defines the ID type in accordance to the ID > type in the DTDs. The question still is, does Xerces recognize Schema > defined IDs? It does claim support for the given specification. It does, but only if you validate the instance, or use DOM3 ca

RE: Static Linking

2003-12-11 Thread Adam Heinz
Title: Static Linking The MacOS version of Xerces is statically linked, but the Windows version is not.  I've asked around for some ideas on how to automate conversion of VC++ DLL projects to static libraries, but didn't make any progress. Adam Heinz Development Consultant Exstream Software

RE: problem with getElementById()

2003-12-11 Thread Jesse Pelton
Right you are. I should have looked at the schema and the spec before shooting off my mouth. > -Original Message- > From: Denny Vrandecic [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 11, 2003 8:29 AM > To: [EMAIL PROTECTED] > Subject: Re: problem with getElementById() > > > Tha

Re: problem with getElementById()

2003-12-11 Thread Denny Vrandecic
That is not correct. XML Schema Part 2: Datatypes defines the ID type in accordance to the ID type in the DTDs. The question still is, does Xerces recognize Schema defined IDs? It does claim support for the given specification. > I'm not particularly familiar with XML Schemas, but I don't think th

RE: Schema Error

2003-12-11 Thread Jesse Pelton
Interesting question. IDs must be unique in a document per http://www.w3.org/TR/REC-xml#id. The question is, are included schemas part of the same (schema) document? It looks to me like they are: http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#compound-schema says "The *XML Schema* correspon

Re: Entity information

2003-12-11 Thread Alberto Massari
Hi Mathias, At 08.45 11/12/2003 +0100, Mathias Mueller wrote: Hi, In my dtd file I find the following lines: ... pitch %SFFloat; "1.0" Is this SFFloat only a number counter or is it a string? SFFloat is a parameter entity (like a macro in a language like C) that will be expan

Re: Schema Error

2003-12-11 Thread Denny Vrandecic
If the attribute is defined as an ID in the Schema or the DTD, then it must be unique. Here are the refs to the specs that state that: http://www.w3.org/TR/2000/WD-xml-2e-2814#NT-TokenizedType http://www.w3c.org/TR/xmlschema-2/#ID Here is the quote (XML, 3.3.1): "Validity constraint: ID Valu

Schema Error

2003-12-11 Thread Oliver, Steve
I am using Xerces-C++ 2.3. When attempting to validate an XML document I get the following error... Error at file OTA_Profile.xsd, line 2, char 122 Message: ID 'OTA2003A2003A' is not unique The schema file that I am using has several included schema. Each of the included schemas has an eleme

Re: problem with getElementById()

2003-12-11 Thread Denny Vrandecic
Hi Mirko, just a little question, although I hope someone else will answer more competently to your problem: are you sure you connected the XML-file properly with the Schema file, i.e. does the DOM-Parser have the ability to utilize the information given in the Schema? This doesn't show in your e

RE: problem with getElementById()

2003-12-11 Thread Jesse Pelton
I'm not particularly familiar with XML Schemas, but I don't think they provide any way for an XML processor to recognize ID attributes. Simply naming them "id" is not sufficient. You may need a DTD as well. > -Original Message- > From: Mirko Braun [mailto:[EMAIL PROTECTED] > Sent: Thurs

Re: Static Linking

2003-12-11 Thread Denny Vrandecic
Title: Static Linking Xerce-C is not supposed to work statically. I think it is on the ToDo-List to create a static version, but there's no promise when this will be avaiable.   Best regards, Denny     - Original Message - From: Milan Tomic To: Xerces-C Sent: Thursday,

Static Linking

2003-12-11 Thread Milan Tomic
Title: Static Linking     How can I statically link Xerces in my app? I'm using VC++ 6. I've tried to remove xerces.lib file from Object/library modules list (Project | Settings... | Linktab) of my project and to add path to Xerces *.obj files in Tools | Options... | Directories tab. But

problem with getElementById()

2003-12-11 Thread Mirko Braun
Hi to all, i,m using the Xerces 2.3.0 to parse an XML-Document validating against a Schema. When using the method getElementById() to get a node referenced by an IDREF (see code below) a NULL-Pointer is given back. I'm sure that the ID is unique within the XML Document. Is their any special

Entity information

2003-12-11 Thread Mathias Mueller
Hi, In my dtd file I find the following lines: ... pitch %SFFloat; "1.0" Is this SFFloat only a number counter or is it a string? Is there any way to get the information "SFFloat" for the attribute pitch from Xerces? I tried DataTypeInfo but the name only gave my "CDATA". Mat