Re: Anyone getting XML to work??
- From: "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
- Date: Tue, 3 May 2005 12:16:19 -0700
In case you are not using a real newsreader, I just posted a message with an
attached sample ZIPped up...
Paul T.
"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:OTeADDBUFHA.1152@xxxxxxxxxxxxxxxxxxxxxxx
> Here you go. A relatively simple example of parsing a small XML file from
> the local filesystem.
>
> Paul T.
>
> "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
> wrote in message news:usDJi$$TFHA.4092@xxxxxxxxxxxxxxxxxxxxxxx
>>I don't have any OSes with just the minimal parser in them, but I'll see
>> what I can whip up showing SAX.
>>
>> Paul T.
>>
>> "Carl Dreher" <CarlDreher@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:7A7A7BCB-9657-48EB-A630-66081632914A@xxxxxxxxxxxxxxxx
>>> I'm simply trying to read (parse) and write some XML files on a headless
>>> WinCE device. The first attempt was to build the OS using the minimal
>>> SAX
>>> support option. The 3-part example provided in the CE4.2 doc shows the
>>> following:
>>>
>>> #include "stdafx.h"
>>> #include "MyContent.h"
>>> #include "SAXErrorHandlerImpl.h"
>>> int main(int argc, char* argv[])
>>> {
>>> ...
>>>
>>> The file "SAXErrorHandlerImpl.h" does NOT exist anywhere in the OS
>>> support.
>>> The only way I was able to create an error handler was to implement the
>>> entire ISAXErrorHandler interface, and guess what? There is NO
>>> documentation
>>> on that interface, so I'm working blind as to what most of the functions
>>> do.
>>> The class I created that meets the interface spec does compile but upon
>>> running it, it crashes upon loading, so I have no forensics to find out
>>> why.
>>>
>>> Even worse, there are NO..ZERO, NONE, NADA... examples of how to use the
>>> more complicated DOM interface.
>>>
>>> Did MicroSoft just bail out of XML support for CE4.2 and but leave it in
>>> the
>>> documentat? How come a company with more money than God can't write
>>> documentation?
>>>
>>> This is yet ANOTHER example of why I will NEVER do another project in
>>> WinCE.
>>> (Assuming I survive this mess.)
>>>
>>>
>>
>>
>
>
>
.
- Follow-Ups:
- Re: Anyone getting XML to work??
- From: Carl Dreher
- Re: Anyone getting XML to work??
- References:
- Anyone getting XML to work??
- From: Carl Dreher
- Re: Anyone getting XML to work??
- From: Paul G. Tobey [eMVP]
- Re: Anyone getting XML to work??
- From: Carl Dreher
- Re: Anyone getting XML to work??
- From: Paul G. Tobey [eMVP]
- Anyone getting XML to work??
- Prev by Date: Re: Compiling Consol Apps with EVC4
- Next by Date: Re: Converting Strings, Message when opening SIP
- Previous by thread: Re: Anyone getting XML to work??
- Next by thread: Re: Anyone getting XML to work??
- Index(es):
Relevant Pages
|