Here's an interesting problem. Every example out there right now will parse an xml file. I want to parse a DOM object using a schema. I am trying to put together a p2p app using SOAP. There are methods available that will serialize a DOM object to transfer over HTTP, but when it gets to the other end, it is deserialized and becomes a DOM node again. Naturaly, I don't trust that DOM is valid so I want to parse it using my schema. Does anyone know how to do this? Alan
Ajith Kallambella
Sheriff
Joined: Mar 17, 2000
Posts: 5782
posted
0
Why not write it to a temporary XML file and parse the file?
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.