[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to specify a Processing Instruction? (better: howtocontrolencodi

  • From: ComCity <mikeb@c...>
  • To: Julian Reschke <julian.reschke@g...>, xml-dev@l...
  • Date: Wed, 29 Aug 2001 17:31:55 -0700

accesslicenseprofile
----- Original Message -----
From: Julian Reschke <julian.reschke@g...>
To: ComCity <mikeb@c...>; <xml-dev@l...>
Sent: Wednesday, August 29, 2001 3:26 PM
Subject: RE: How to specify a Processing Instruction? (better: how
tocontrolencoding on saving)


> > From: Julian Reschke <julian.reschke@g...>
> > To: ComCity <mikeb@c...>; <xml-dev@l...>
> > Sent: Wednesday, August 29, 2001 3:04 PM
> > Subject: RE: How to specify a Processing Instruction? (better: how to
> > controlencoding on saving)
> >
> >
> > ..
> >
> > > "The LoadXML method always takes a Unicode BSTR that is encoded in
UCS-2
> > or
> > > UTF-16 only. If you pass in anything other than a valid Unicode BSTR
to
> > > LoadXML, it will fail to load."
> >
> > Well, that can't be.  LoadXML is used in numerous other places in
> > the code,
> > that don't fail.  And, in the code I'm looking at, LoadXML just reads in
> > plain old xml in plain old ASCII non Unicode BSTR and it does not
> > fail.  For
> > instance, this piece of code runs fine and has no problem.
>
> "Plain old ASCII", passed in a COM string, *is* encoded in UTF-16.

Load will not work for me at all....no matter what I do, I get an
error.....I think I stated that before....only loadxml will read my document
in and there is no encoding in the starting file....this is it.

  <?xml version="1.0" ?>
- <AccessLicenseRequest>
- <Request>
- <TransactionReference>
  <CustomerContext>License Test</CustomerContext>
  <XpciVersion>1.0001</XpciVersion>
  </TransactionReference>
  <RequestAction>AccessLicense</RequestAction>
  </Request>
  <CompanyName />
- <Address>
  <AddressLine1 />
  <AddressLine2 />
  <City />
  <StateProvinceCode />
  <PostalCode />
  <CountryCode />
  </Address>
- <PrimaryContact>
  <Name />
  <EMailAddress />
  <PhoneNumber />
  </PrimaryContact>
  <CompanyURL />
  <DeveloperLicenseNumber>1B571756EDDCC1B4</DeveloperLicenseNumber>
- <AccessLicenseProfile>
  <CountryCode />
  <LanguageCode>EN</LanguageCode>
  <AccessLicenseText />
  </AccessLicenseProfile>
- <OnLineTool>
  <ToolID>RateXML</ToolID>
  <ToolVersion>1.0</ToolVersion>
  </OnLineTool>
- <ClientSoftwareProfile>
  <SoftwareInstaller>yes</SoftwareInstaller>
  <SoftwareProductName>SalesCart</SoftwareProductName>
  <SoftwareProvider>ComCity Corporation</SoftwareProvider>
  <SoftwareVersionNumber>3.50</SoftwareVersionNumber>
  </ClientSoftwareProfile>
  </AccessLicenseRequest>




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.