All Forums
 Microsoft Windows CE
 .NET Application Development
 SAX Parser Not Registered
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

HBPayne

45 Posts

Posted - 08 Jan 2004 :  13:39:24  Show Profile  Email Poster
We are looking at the SAX approach to XML parsing and apparently at least one of the interfaces (SAXXMLReader) is not in the registry for Bitsy/BitsyX. Any suggestions?

----

Reviewing the REGINIT.INI for the image build we are using, there are no entries for the following:

; @CESYSGEN IF MSXML3_XMLSAX
; @CESYSGEN ENDIF MSXML3_XMLSAX

I'm assuming that SAX interfaces are defined there. Can you supply the keys needed so that we can try ADSReg.exe?

Edited by - HBPayne on 09 Jan 2004 13:06:18

ctacke

877 Posts

Posted - 15 Jan 2004 :  11:49:45  Show Profile  Email Poster
Give these a try. They're from the (big) Platform Builder registry:


; @CESYSGEN IF MSXML3_XMLSAX
;
; MXXML Writer
;
[HKEY_CLASSES_ROOT\Msxml2.MXXMLWriter]
@="MXXMLWriter"
[HKEY_CLASSES_ROOT\Msxml2.MXXMLWriter\CLSID]
@="{fc220ad8-a72a-4ee8-926e-0b7ad152a020}"

[HKEY_CLASSES_ROOT\CLSID\{fc220ad8-a72a-4ee8-926e-0b7ad152a020}]
@="MXXMLWriter"
[HKEY_CLASSES_ROOT\CLSID\{fc220ad8-a72a-4ee8-926e-0b7ad152a020}\InProcServer32]
@="msxml3.dll"
"ThreadingModel"="Both"
[HKEY_CLASSES_ROOT\CLSID\{fc220ad8-a72a-4ee8-926e-0b7ad152a020}\ProgID]
@="Msxml2.MXXMLWriter"
[HKEY_CLASSES_ROOT\CLSID\{fc220ad8-a72a-4ee8-926e-0b7ad152a020}\Version]
@="3.0"

;
; SAXAttributes
;
[HKEY_CLASSES_ROOT\Msxml2.SAXAttributes]
@="SAXAttributes"
[HKEY_CLASSES_ROOT\Msxml2.SAXAttributes\CLSID]
@="{4dd441ad-526d-4a77-9f1b-9841ed802fb0}"

[HKEY_CLASSES_ROOT\CLSID\{4dd441ad-526d-4a77-9f1b-9841ed802fb0}]
@="SAXAttributes"
[HKEY_CLASSES_ROOT\CLSID\{4dd441ad-526d-4a77-9f1b-9841ed802fb0}\InProcServer32]
@="msxml3.dll"
"ThreadingModel"="Both"
[HKEY_CLASSES_ROOT\CLSID\{4dd441ad-526d-4a77-9f1b-9841ed802fb0}\ProgID]
@="Msxml2.SAXAttributes"
[HKEY_CLASSES_ROOT\CLSID\{4dd441ad-526d-4a77-9f1b-9841ed802fb0}\Version]
@="3.0"
; @CESYSGEN ENDIF MSXML3_XMLSAX
Go to Top of Page

ctacke

877 Posts

Posted - 15 Jan 2004 :  11:52:42  Show Profile  Email Poster
Oops, forgot the reader keys:

;
; SAXXMLReader
;
[HKEY_CLASSES_ROOT\Msxml2.SAXXMLReader]
@="SAX XML Reader"
[HKEY_CLASSES_ROOT\Msxml2.SAXXMLReader\CLSID]
@="{079aa557-4a18-424a-8eee-e39f0a8d41b9}"

[HKEY_CLASSES_ROOT\CLSID\{079aa557-4a18-424a-8eee-e39f0a8d41b9}]
@="SAX XML Reader"
[HKEY_CLASSES_ROOT\CLSID\{079aa557-4a18-424a-8eee-e39f0a8d41b9}\InProcServer32]
@="msxml3.dll"
"ThreadingModel"="Both"
[HKEY_CLASSES_ROOT\CLSID\{079aa557-4a18-424a-8eee-e39f0a8d41b9}\ProgID]
@="Msxml2.SAXXMLReader"
[HKEY_CLASSES_ROOT\CLSID\{079aa557-4a18-424a-8eee-e39f0a8d41b9}\Version]
@="3.0"
Go to Top of Page

HBPayne

45 Posts

Posted - 19 Jan 2004 :  16:02:10  Show Profile  Email Poster
Thanks Chris.

I got ADSReg to work, however, we still have a problem with creating an instance of SAXXMLReader.

Two things on ADSReg which you may be aware:

- '@' has to be changed to '"Default"' in the .reg file.
- The last line in the .reg file must have a "return" (using Notepad) or the last character is chopped off in the registry.

Since the SAX developer here is using a CE .Net Bitsy development system, my next step here is to get him setup with a BitsyX and install a 4.2 image to ensure best chance of success. However, I ran into a snag. Refer to post:

topic.asp?TOPIC_ID=1322

Edited by - HBPayne on 19 Jan 2004 16:03:21
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.05 seconds. Snitz Forums 2000