RE: valid schema can not be loaded using Xerces 2.7

2006-09-15 Thread Xiaofan Zhou
of them in the import chain will ignore one of the two. Alberto At 09.30 13/09/2006 -0700, Xiaofan Zhou wrote: Alberto, But in my case, I never import the same namespace more than once, notice a.xsd and c.xsd have the same namespace but complete different content, and b.xsd

RE: valid schema can not be loaded using Xerces 2.7

2006-09-13 Thread Xiaofan Zhou
Alberto, But in my case, I never import the same namespace more than once, notice a.xsd and c.xsd have the same namespace but complete different content, and b.xsd has a different namespace. Here is the sequence: a.xsd (say has a namespace1) |-import namespace2, location=b.xsd

RE: NetAccessorException

2006-03-22 Thread Xiaofan Zhou
; if you need to stay on Xerces 1.7 you can try to backport the changes found at http://svn.apache.org/viewcvs.cgi?rev=231009view=rev Alberto At 11:03 AM 1/16/2006 -0800, David Bertoni wrote: Xiaofan Zhou wrote: Dave, Thanks much for the reply. The error message is like this: XML parser

a few questionsregarding schema parsing using xerces-c++

2006-01-03 Thread Xiaofan Zhou
Hi All, Igot a few questions regarding schema paring in Xerces: (1) I created a parser and load grammar like this: SAX2XMLReader* pParser = XMLReaderFactory::createXMLReader(); pParser-loadGrammar(theSchema, Grammar::SchemaGrammarType); Now can I start traversing the schema

RE: compilation errors in my application using Xerces-c

2005-11-22 Thread Xiaofan Zhou
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument. Hope this helps, Alberto At 09.19 21/11/2005 -0800, Xiaofan Zhou wrote: Alberto, Thanks for the reply. I did resolve the error cannot find 'dom/DOM.hpp' file by adding the Xerces include path to the project include directories. But for some files I

RE: compilation errors in my application using Xerces-c

2005-11-21 Thread Xiaofan Zhou
: Xiaofan Zhou To: c-dev@xerces.apache.org Sent: Monday, November 21, 2005 2:16 AM Subject: compilation errors in my application using Xerces-c Hi, All, I am having issues compile my application in which I use Xerces-c package. Here is \ what I do: First, my environment

Invalid character 0xFFFe

2005-05-26 Thread Xiaofan Zhou
Hi, All, I am encounting a XML parsing error saying something like the following: XML Parser failed, Error: Invalid character (Unicode 0xFFFe) The XML filesize is about100K in disk, the application is sort of like this: it is createdfrom a DOM tree in memory then passed to a SAX

RE: Invalid character 0xFFFe

2005-05-26 Thread Xiaofan Zhou
. If an application detects a U+FFFE it can therefore presume that the data is in the opposite endianness of the architecture and that the data should be byte swapped. (A 32-bit architecture should also be word swapped.) HTH! Matt -Original Message- From: Xiaofan Zhou [mailto:[EMAIL PROTECTED] Sent

RE: Invalid character 0xFFFe

2005-05-26 Thread Xiaofan Zhou
array as ASCIIfied hex with printf(...%x...) and so forth, then grep it for 0xFFFE. Or dump it into a file and look at it with a hex editor. --Matt -Original Message- From: Xiaofan Zhou [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 2:48 PM To: c-dev@xerces.apache.org Subject: RE

RE: Invalid character 0xFFFe

2005-05-26 Thread Xiaofan Zhou
of bug. First I would try upgrading. If upgrading does not work, perhaps you could search the user and dev lists for FFFE and FEFF, as well as trying the xml.apache.org JIRA databse. They might have record of this being a fixed bug, etc. HTH! Matt -Original Message- From: Xiaofan Zhou