No response - (XERCESC-1263) Abstract type not handled correctly by cached grammar

2004-09-15 Thread Matthew Berry
Hi Xerces-team, I posted a problem I was observing in August and as yet have not heard any response. Can someone confirm that this is in fact a problem with Xerces? When can I expect it to be fixed? Many thanks Matthew - To un

No response - (XERCESC-1263) Abstract type not handled correctly by cached grammar

2004-09-15 Thread Matthew Berry
Hi Xerces-team,   I posted a problem I was observing in August and as yet have not heard any response.   Can someone confirm that this is in fact a problem with Xerces? When can I expect it to be fixed?   Many thanks Matthew

Problem with Samples

2004-09-15 Thread Anand R Koppal
Hi, I have currently installed binaries Xerces-C++ Version 2.5.0 on AIX 5.1. I have compiler xlC 5. I have set the PATH, LIBPATH. Environment is fine according to me. Before I try using the parser, i tried to run the Sample provided with the tar. I am getting the following error. I am

Build fails on Linux

2004-09-15 Thread Alex Ivershen
Guys, I'm struggling with 2.5.0 for two days now - I tried RedHat 8, 9 and MontaVista Linux, and still can't build the library. Previous versions compiled fine. The problem is that after all object files are compiled, it can't link the shared library - here is the log tail: gmake[3]: Leaving di

Problem of Xerces in AIX-5.2

2004-09-15 Thread Gurudas_Pradhan
Title: Problem of Xerces in AIX-5.2 Hi All, I am getting the following linking errors , while using the Xerces Parser(AIX 5.1 compiled with xlC_r 6.0.0 .tar.gz archive: xerces-c_2_5_0-aix_510-xlc_60_040127.tar.gz [PGP] [MD5] ) . I am using AIX 5.2 version, I was downloading the above binary( C

how to create DOMDocument object from a dtd?

2004-09-15 Thread Kedar
Hi All, i am new to XML technology. Can I create a DOMDocument object by giving dtd file as input so that I can set values to required elements? Can I use createDocument method of class DOMImplementation for this??     Regards, -Kedar  

Re: Problem of Xerces in AIX-5.2

2004-09-15 Thread David Cargill
Hi Gurudas, The binaries you downloaded were built with xlC so the library won't be compatibile with gcc. Thus giving you the link errors. You can either build your app with xlC or rebuild xerces with gcc (although I am not sure if this has been done before - you might want to check the maili

RE: how to create DOMDocument object from a dtd?

2004-09-15 Thread Jesse Pelton
Xerces does not include any way to create an instance document from a DTD. I think projects to do that exist, however; you might find references in the mailing list archive.   Note that your non-disclosure "Disclaimer" effectively prohibits you from posting to public lists (like this one) tha

Re: Problem with Samples

2004-09-15 Thread David Cargill
Hi Anand, The problem is that you are using xlC V5 and the library was built with xlC V6 (since xlC V5 is out of service). So you can either upgrade to xlC V6 or download the source and build it using xlC V5. Regards, David A. Cargill XML Parser Development IBM Toronto Lab (905) 413-2371, ti

Re: Build fails on Linux

2004-09-15 Thread David Cargill
Hi Alex, What did you set your XERCESCROOT to? It should be pointing at /tmp/xerces-c-src_2_5_0. The obj and lib directories are off of this directory not /tmp/xerces-c-src_2_5_0/src/xercesc. Regards, David A. Cargill XML Parser Development IBM Toronto Lab (905) 413-2371, tie 969 [EMAIL PROT

RE: Build fails on Linux

2004-09-15 Thread Jesse Pelton
And note the second "C" in "XERCESCROOT". > -Original Message- > From: David Cargill [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 15, 2004 9:22 AM > To: [EMAIL PROTECTED] > Subject: Re: Build fails on Linux > > > > > > Hi Alex, > What did you set your XERCESCROOT to? It s

Re: No response - (XERCESC-1263) Abstract type not handled correctly by cached grammar

2004-09-15 Thread Alberto Massari
Hi Matthew, have you tried to set the validation to "always"? The default value ("auto") will activate schema validation only if the root element has the xsi:noNamespaceSchemaLocation attribute. Alberto At 10.21 15/09/2004 +0100, Matthew Berry wrote: Hi Xerces-team, I posted a problem I was obse

RE: Build fails on Linux

2004-09-15 Thread Scott Cantor
> And note the second "C" in "XERCESCROOT". Yeah, umm, any chance you guys could maybe patch the script to look for XERCESROOT as well? I can't tell you how many people mis-type that, myself included... -- Scott - To unsubscri

RE: No response - (XERCESC-1263) Abstract type not handled correctly by cached grammar

2004-09-15 Thread Matthew Berry
Thanks for your reply, Alberto. Please note I am using the DOM Level 3 DOMBuilder class, which does not have setValidationScheme() method. According to the DOMCount sample this should correspond to the XMLUni::fgDOMValidation feature - which I am setting to true. To clarify I am setting these fea

RE: No response - (XERCESC-1263) Abstract type not handled correctly by cached grammar

2004-09-15 Thread Matthew Berry
Alberto (and team) Note: The problem I am having only occurs if the document node is an abstract type. It passes validation if the abstract type is embedded within another element. I have tried to debug the problem further by delving in the Xerces source. It would appear that although I have set

ICU 3.0 and Xerces

2004-09-15 Thread Reyes Ponce
Has anyone tried building Xerces with ICU 3.0 on Windows (VC 7.1)? I see a bug in Jira related to doing this with Cygwin, but that seems to be specific to ICU on that platform. Any chance that Xerces 2.6 will be tested with ICU 3.0?

RE: No response - (XERCESC-1263) Abstract type not handled correctly by cached grammar

2004-09-15 Thread Alberto Massari
Hi Matthew, just to test if this is the cause of the problem, try adding a call to setProperty(XMLUni::fgXercesScannerName, XMLUni::fgSGXMLScanner) This should force the usage of the scanner that only known about XMLSchema, and ignores any DTD. Alberto At 17.33 15/09/2004 +0100, Matthew Berry wro

Re: ICU 3.0 and Xerces

2004-09-15 Thread Alberto Massari
At 12.39 15/09/2004 -0400, Reyes Ponce wrote: Has anyone tried building Xerces with ICU 3.0 on Windows (VC 7.1)? I see a bug in Jira related to doing this with Cygwin, but that seems to be specific to ICU on that platform. Any chance that Xerces 2.6 will be tested with ICU 3.0? It looks like ICU

RE: No response - (XERCESC-1263) Abstract type not handled correctly by cached grammar

2004-09-15 Thread Matthew Berry
Alberto, As you guessed this has worked and my document is now validated correctly. Is the behaviour I was observing a bug in Xerces or is the step you described the correct way to set up the parser? If it is a bug it would be good to have a patch file as soon as is convenient. Thanks for all yo

RE: No response - (XERCESC-1263) Abstract type not handled correctly by cached grammar

2004-09-15 Thread Alberto Massari
At 18.01 15/09/2004 +0100, Matthew Berry wrote: Alberto, As you guessed this has worked and my document is now validated correctly. Is the behaviour I was observing a bug in Xerces or is the step you described the correct way to set up the parser? If it is a bug it would be good to have a patch fil

[VOTE]: Xerces-C Release Policy & Coding Conventions

2004-09-15 Thread David Cargill
Hi Xerces-C Committers, I would like to have a vote on adopting the release policy and coding conventions attached in the forwarded note below. +1 Regards, David A. Cargill XML Parser Development IBM Toronto Lab (905) 413-2371, tie 969 [EMAIL PROTECTED] - Forwarded by David Cargill/Toront

Re: [VOTE]: Xerces-C Release Policy & Coding Conventions

2004-09-15 Thread Alberto Massari
David, I would change the "x.x.x to x.y.z" part to state that the section only refers to the public headers (the ones that gets copied in the include directory and packaged in a binary distribution). This means that client applications that need a source distribution to build will have to expect

Re: Problem of Xerces in AIX-5.2

2004-09-15 Thread Simon Kitching
On Thu, 2004-09-16 at 01:13, David Cargill wrote: > > > Hi Gurudas, > The binaries you downloaded were built with xlC so the library won't be > compatibile with gcc. Thus giving you the link errors. > > You can either build your app with xlC or rebuild xerces with gcc (although > I am not sure

RE: Validating against DTD in memory (Xerces C++ 2.5.0)

2004-09-15 Thread Carolina Garcia-Paris
I posted this message yesterday but haven't gotten a response yet. The bottomline is... has anyone gotten XercesDOMParser::loadGrammar() to work for loading a DTD grammar in memory and then use it to parse XML files against it? See my code below. Any hints/recommendations will be greatly appreciat

RE: Validating against DTD in memory (Xerces C++ 2.5.0)

2004-09-15 Thread Alberto Massari
Hi Carolina, At 17.05 15/09/2004 -0400, Carolina Garcia-Paris wrote: I posted this message yesterday but haven't gotten a response yet. The bottomline is... has anyone gotten XercesDOMParser::loadGrammar() to work for loading a DTD grammar in memory and then use it to parse XML files against it? Se

SAXParser with different InputSource

2004-09-15 Thread Xiaofan Zhou
Hi, ALl,   I have following two questions regarding how to use InputSource with SAX parser in Xerces for C++.   I know I can do something like this:    SAX2XMLReader* pParser = XMLReaderFactory::createXMLReader();     pParser->parse(input);   Where input is an instance of InputSourc