hello everyone. 

sorry for asking a very basic doubt.

i want to use greek alphabets in CDATA section like

<SubTitle xml:lang="en">
<![CDATA[ ?$ ]]>
</SubTitle>

but the parser gives an error, how to handle it? otherwise the document is
well formed.

attached to the mail is XML file which gives error.

Error encountered is::

Fatal Error at file
"/PareshHD/DoNotDelete!!!!!/Hemant/xerces-c-src_2_3_0/bin/2nd.xml", line 1,
column 39
   Message: An exception occurred! Type:UTFDataFormatException,
Message:invalid byte 2 ($) of a 5-byte sequence.


changing "en" to other values also gives same error ..

i m using code warrior version 8.0 on mac classic.


one more doubt.....

what exactly does this DOMImplementationRegistry::getDOMImplementation
function do?? 

in one example it uses XString::transcode("Core") as input parameter,
in other it uses XString::transcode("LS" array of 100 size),
and in one it uses static const XMLCh gLS[] = {chLatin_L, chLatin_S, chNull}
as parameter.

i couldnt find some documentation for that.


plz help me on this.
thanx in advance.

regards,
hemant    
    Enjoy life to its maximum, it comes only once in a lifetime!!!



Attachment: 2nd.xml
Description: application/applefile

<?xml version="1.0" encoding="utf-8"?>
<NewsML>
<NewsEnvelope>
<DateAndTime>%DateAndTime%</DateAndTime>
<NewsService FormalName="%NewsServiceFormalName%"> </NewsService>
<NewsProduct FormalName="%NewsProductFormalName%"> </NewsProduct>
<Priority FormalName="%NewsPriority%"/>
</NewsEnvelope>
<NewsItem>
<Identification>
<NewsIdentifier>
<ProviderId>%ProviderID%</ProviderId>
<DateId>%DateID%</DateId>
<NewsItemId>103-6-16_15-25-56-172526850</NewsItemId>
  <RevisionId PreviousRevision="%PreviousRevision%" 
Update="%Update%">%RevisionID%</RevisionId> 
<PublicIdentifier>%PublicIdentifier%</PublicIdentifier> 
</NewsIdentifier>
</Identification>
<NewsManagement>
  <NewsItemType FormalName="%NewsItemTypeFormalName%" /> 
  <FirstCreated>%firstCreated%</FirstCreated> 
  <ThisRevisionCreated>%ThisRevisionCreated%</ThisRevisionCreated> 
  <Status FormalName="%StatusFormalName%" /> 
- <AssociatedWith Href="%AssociatedWithHref%">
  <Comment>%Comment%</Comment> 
  </AssociatedWith>
</NewsManagement>
<NewsComponent xml:lang="en">
<Comment></Comment>
<Role FormalName="TEXT">
 </Role>
<NewsLines>
<HeadLine xml:lang="en">
<![CDATA[  Headline58    ]]>
</HeadLine>
<StrapLine xml:lang="en">
<![CDATA[  %StrapLine%    ]]>
 </StrapLine>
<SubHeadLine xml:lang="en">
<![CDATA[    ]]>
</SubHeadLine>
<ByLine xml:lang="en">
<![CDATA[  ByLine    ]]>
</ByLine>
<DateLine xml:lang="en">
<![CDATA[   ]]>
</DateLine>
<CreditLine xml:lang="en">
<![CDATA[    ]]>
</CreditLine>
<CopyrightLine xml:lang="en">
<![CDATA[  ]]>
 </CopyrightLine>
<SlugLine>
<![CDATA[ Story1  ]]></SlugLine>
<KeywordLine xml:lang="en">
<![CDATA[    ]]>
 </KeywordLine>
<FirstWord xml:lang="en">
<![CDATA[  FIRST  ]]>
 </FirstWord>
<IntroLine xml:lang="en">
<![CDATA[  ]]>
 </IntroLine>
<StorySummary xml:lang="en">
<![CDATA[  Summary  ]]>
 </StorySummary>
<StoryHighlights xml:lang="en">
<![CDATA[  StoryHighlight  ]]>
 </StoryHighlights>
<SubTitle xml:lang="en">
<![CDATA[ ø$ \]]>
 </SubTitle>
<Story xml:lang="en">
<![CDATA[ %Story% ]]>
 </Story>
</NewsLines>
<ContentItem>
<MediaType FormalName="%MediaTypeFormalName%" /> 
<MimeType FormalName="%MimeTypeFormalName%" />
<DataContent>
<![CDATA[  BodyCopy  ]]>
</DataContent>
<Characteristics>
<Status Value="Completed" />
<Size Bytes= "" Words= "" CC="" Width="" Height="" />
</Characteristics>
</ContentItem>
</NewsComponent>
</NewsItem>
</NewsML>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to