Validate SOAP Messages With XSD Schemas

2003-03-21 Thread Kevin Zhang
Hello, I'm new to xerces. Anybody can show me how to validate soap message with xsd schemas. thanks a lot, Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

DO NOT REPLY [Bug 18120] - Building Makefiles on Tandem(OSS)

2003-03-21 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: Encoding scheme with DOMWriter

2003-03-21 Thread elliot . rapp
Thanks. I figured that the rawBuffer would be in the original encoding scheme of the document but wasn't sure. That should be fine, but I'm not quite sure yet. Actually the receiving application is not "xml-aware" per se. It is sort of a toolbox, and I am adding a wrapper around Xerces to allo

Re: Encoding scheme with DOMWriter

2003-03-21 Thread Neil Graham
Hi Elliot, I'd defer to PeiYong on this one, since he's done most of the serialization work. But my thought is that the rawBuffer would be in whatever encoding you set on the Document that you serialized into the MemBufFormatTarget (or the encoding of the original document of course if you haven'

Re: Encoding scheme with DOMWriter

2003-03-21 Thread elliot . rapp
Neil, Thanks for the help. That was definitely it. Now my question is whether this is what I should be doing. Basically, since I am writing a wrapper around this functionality, I need to be able to serialize a node as text and deliver it as a modified PStr (4 byte length instead of one) in nat

RE: XercesDOMParser::parse() - Is this Recursive?

2003-03-21 Thread Renin Jegadeesan
Hi Neil, Mine program too works fine for XML docs of finite depth. like, a sample of, with a depth of 5, works just fine. a sample like this with a depth upto 3000 works fine. But if i keep extending

RE: XercesDOMParser::parse() - Is this Recursive?

2003-03-21 Thread Neil Graham
Hi Renin, No, that doesn't produce a very complex DFA and so not much recursion would be entailed. Just in case though I made a little document containing your grammar snippet and the parser ate it up happily. Cheers, Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 905-413-3519,

RE: XercesDOMParser::parse() - Is this Recursive?

2003-03-21 Thread Renin Jegadeesan
Neil, Thank you very much for the answer. I thought i had a very simple grammar in my DTD. It does have a loop though. Is that what you refer to as a "complicated Grammar"? My Grammar is, Thanks in advance. renin. > -Original Message-

RE: XercesDOMParser::parse() - Is this Recursive?

2003-03-21 Thread Neil Graham
Hi Renin, While the parser's use of a state-machine for validation does indeed not entail recursion, there's certainly recursion required to convert the representation derived from the grammar into a state machine. So it's possible that, if the grammar you're using is very complicated, you could

RE: XercesDOMParser::parse() - Is this Recursive?

2003-03-21 Thread Renin Jegadeesan
Hi Dave, Thanks a lot for the answer. I figured as much as, the reading the xml document and creating the DOM Tree would be non-recursive, but i was concerned about the Validation part. Unfortunately, my program is crashing if the depth of the DOM Tree is around 3000. I was thinking this would be

RE: XercesDOMParser::parse() - Is this Recursive?

2003-03-21 Thread David N Bertoni/Cambridge/IBM
Hi Renin, The parser doesn't traverse a DOM tree. It parses an XML stream and builds a DOM from that stream. Most of the information that maintains the state of the parse is not kept on the stack, and the parser is not implemented using recursive descent -- it's a state machine. Dave

Re: FYI: Xerces-C 2.2.0 Project for Borland C++ Builder 5

2003-03-21 Thread Hiroyuki Shimada
Hello. On Fri, 21 Mar 2003 18:01:42 +0900 Hiroyuki Shimada <[EMAIL PROTECTED]> wrote: > Xerces-C 2.2.0 Project for Borland C++ Builder 5 is available at > http://shimaden.homelinux.net/~shimaden/xercesc/ . I have built XercesLib.dll and some test projects with wrong linker option (only for 2.2.0

Re: How to use cached grammar

2003-03-21 Thread Khaled Noaman
The DTD grammar is cached using the system id that you pass when you call load grammar. When you parse you xml file, does the system id of the DOCTYPE resolves to the same id that you passed to load grammar? "Bagepalli, Kiran" wrote: > I am trying the following piece of code > > XMLPlatformUt

RE: XercesDOMParser::parse() - Is this Recursive?

2003-03-21 Thread Renin Jegadeesan
I am sorry i wasn't clear. I understood from the code that it's not re-entrant. what i meant was, does the XercesDOMParser::parse() traverse the DOM Tree in a recursive manner? since my program is multi-threaded, i am worried if this traversing is done in a recursive manner, the depth of the DOM

DO NOT REPLY [Bug 18215] - to get value of node

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

FYI: Xerces-C 2.2.0 Project for Borland C++ Builder 5

2003-03-21 Thread Hiroyuki Shimada
Hello. Xerces-C 2.2.0 Project for Borland C++ Builder 5 is available at http://shimaden.homelinux.net/~shimaden/xercesc/ . -- Mail: [EMAIL PROTECTED] Home Page: http://www.din.or.jp/~shimaden/ Hiroyuki Shimada --