Xml parsing question

2004-06-25 Thread lihong pei
Hi, I have a xml file, one of elements called "include" contains the path to another xml file. I need to validate the merged xml file. What's the best way to handle this? ( I can't use xinclude mechanism. ) Any suggestions and code snippets? Thanks, Lihong --

Re: Validating XML Schema instance against XMLSchema.xsd

2004-06-25 Thread Neil Graham
Hi Andrew, You can grab SQC here: http://www.alphaworks.ibm.com/tech/xmlsqc Cheers, Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 905-413-3519, T/L 969-3519 E-mail: [EMAIL PROTECTED]

Re: Validating XML Schema instance against XMLSchema.xsd

2004-06-25 Thread Andrew Wilson
I have a similar problem. Any pointers on where SQC can be obtained? D ^ DAndrew E Wilson < A > AV technology consultant (UK) D v D Tel +44 7710 727636, or +44 1753 885549 Hi, So it seems that according to xerces-c 2.5.0 W3's XMLSchema.xsd is not a valid XML Schema instance. An

Re: Validating XML Schema instance against XMLSchema.xsd

2004-06-25 Thread Gareth Reakes
Hi, So it seems that according to xerces-c 2.5.0 W3's XMLSchema.xsd is not a valid XML Schema instance. Any clues are appreciated. It is not a valid schema in the general sense. There are explicit allowances the the specs make for the schema for schema . As Alby says, there are also many many mo

Re: Creating a XML document from SAX

2004-06-25 Thread Caignart Olivier
Hi Alberto ! Thank you so much for your answer. I think i can now go on in my work with this sample. Greetings, have a good day Olivier On Fri, 2004-06-25 at 11:47, Alberto Massari wrote: > Hi Olivier, > I made a mistake in writing the code (well, it happens, when you don't test > the code be

Re: Creating a XML document from SAX

2004-06-25 Thread Alberto Massari
Hi Olivier, I made a mistake in writing the code (well, it happens, when you don't test the code before suggesting it! ;-) ) The order of the initialization methods after the ":" is derived from the order of declaration of the variables; so fTarget was still 0 when given to the constructor of XM

Re: performance issue for DOMString

2004-06-25 Thread Alberto Massari
Hi Helen, the clone() method is not cloning the entire string buffer; it creates a small structure that will point to the same buffer of the original string, incrementing a reference count. If you have verified that your performance issues are in these functions, it could be because of the exces