Re: Error

2003-03-13 Thread Vitaly Prapirny
> "Kohli, Naveen" wrote: > > Clean solution will be to use xercesc namespace in your code. > > xercesc::DOMDocument It is already done in the code below (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument). John uses Borland compiler as I can see from his previous posts. Borland compiler support namespa

DO NOT REPLY [Bug 17983] New: - Formatter does not escape control characters

2003-03-13 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

DOMDocumentType

2003-03-13 Thread Mark Van Orman
Hi All, I couldn't find the Xerces-c user list so I am posting to this list. I am trying to include http://xml.bla.de/2.0/BLAxml.dtd";> into a dom document that I am building. After doing this: DOMDocumentType * dType = impl->createDocumentType(X("BLAxml"), X(""), X("http://xml.bla.de/2.0

RE: Detecting if a Schema element contains groups

2003-03-13 Thread Sir Woody Hackswell
On Thu, 13 Mar 2003, Bagepalli, Kiran wrote: Is it something that _could_ be added? Would group information be a useful thing to have in the API? IMHO, being able to "walk" through a schema would be a nice thing. And that capability is mostly there already. :) In my case, I want to walk the s

Re: Trouble Building

2003-03-13 Thread David N Bertoni/Cambridge/IBM
Two things to try: 1. Set XERCESCROOT instead of XERCESROOT -- or does your posting contain a typo? 2. Use runConfigure instead of configure. See the build instructions for more info: http://xml.apache.org/xerces-c/build.html Hope that helps... Dave

Re: Trouble Building

2003-03-13 Thread Gary Hughes
You need to set 'XERCESCROOT' not 'XERCESROOT'. Gary. exits funnel wrote: Hello, I apologize if this is not an appropriate topic, but I've just downloaded the xerces source and I'm having trouble building it on RedHat 7.2. I should mention that I'm pretty new to Linux/gmake. Here's what I've d

Trouble Building

2003-03-13 Thread exits funnel
Hello, I apologize if this is not an appropriate topic, but I've just downloaded the xerces source and I'm having trouble building it on RedHat 7.2. I should mention that I'm pretty new to Linux/gmake. Here's what I've done so far: 1. Downloaded the xerces-c-src2_2_0 bundle and extracted it to

RE: Detecting if a Schema element contains groups

2003-03-13 Thread Bagepalli, Kiran
Unfortunately xerces fails to provide this. You could do this by checking if this element is in any group(by getting XercesGroupInfo) and deduce this for the complex type. But it does not work for nested groups. G1 refers to G2. Kiran -Original Message- From: Sir Woody Hackswell [mailto:[E

Detecting if a Schema element contains groups

2003-03-13 Thread Sir Woody Hackswell
I'm playing with SEnumVal, and I would like to print out if a node has groups or group references in it. It seems that SEnumVal only shows Elements, not Groups at all. It does show all the elements in the group. However, I'd like an accounting of both. Is this possible? I need to pull the ann

DO NOT REPLY [Bug 17858] - Support for QNX/Neutrino

2003-03-13 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: Error

2003-03-13 Thread Alfredo Muñoz
Title: RE: Error Which version does not support namespaces? I am using Xerces _with_ namespaces under Win, but pretend to port the application easily to Linux and other unix flavors...   please if namespaces is not suported in some SO/Compiler,  I will be glad to know it at this time...  

RE: Error

2003-03-13 Thread Kohli, Naveen
Title: RE: Error I don;t know what version you are talking about but the one I am using does support namespaces. and thats how I am avoiding xerces code to conflict with MSXML parser code. -Original Message- From: Anthony Zawacki [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 13, 20

RE: Error

2003-03-13 Thread Anthony Zawacki
Xerces doesn't use a namespace. Since Xerces is highly portable to a variety of platforms, namespaces are avoided because some compilers do not support namespaces. Thanks, Anthony Zawacki 410-571-7161 [EMAIL PROTECTED]

RE: Error

2003-03-13 Thread Kohli, Naveen
Title: RE: Error Clean solution will be to use xercesc namespace in your code. xercesc::DOMDocument -Original Message- From: John Meyer [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 13, 2003 1:41 PM To: [EMAIL PROTECTED] Subject: Error XMLPlatformUtils::Initialize(); DOMIm

Re: Error

2003-03-13 Thread Anthony Zawacki
If I remember correctly, including the Microsoft msxml.h file automatically has a "using" clause in it, or their examples do. Either don't use their files, since you're using Xerces instead, or find and remove the "using Msxml" clause. Thanks, Anthony Zawacki 410-571-7161 [EMAIL PROTECTED]

Error

2003-03-13 Thread John Meyer
XMLPlatformUtils::Initialize(); DOMImplementation *impl = DOMImplementationRegistry::getDOMImplementation(XMLString::transcode("core") ); XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc = impl->createDocument(0,XMLString::transcode("files"),0); DOMWriter *wri = impl->createDOMWriter(); //error: [C

RE: Can you select nodes with an XPath expression?

2003-03-13 Thread Jesse Pelton
Xerces does not implement XPath, but there are at least two projects based on Xerces that do: - Pathan implements XPath2 (http://software.decisionsoft.com/) - Xalan implements XPath1 and XSLT (http://xml.apache.org/xalan-c/index.html) -Original Message- From: Magnus Strand [mailto:[EM

Re: Need somebody familiar with BCB and Xerces.

2003-03-13 Thread Vitaly Prapirny
You must release XMLString::transcode result with XMLString::release. p_Node->getChildNodes() return DOMNodeList with all nodes, not only element nodes. No need to create strFileSize with new. And Xerces can convert string to int so no need to create strFileSize at all. I think this code is more c

Can you select nodes with an XPath expression?

2003-03-13 Thread Magnus Strand
Hi, I am a new user of Xerces, I would like to know if you can select nodes from the DOM tree with an XPath expression? Like in MSXML w3c-extensions getSingleNode/getNodes(xpath expr). Question 2: I would also like to use Xerces with Mac OS 8. I wonder which of the files have filenames longer th