Nope. If a BOM or XMLDecl is present and allows the parser to figure out
that its really UTF16, then it can be UTF-16 by default. Else its UTF-8. You
should read Mr XML Spec.
--
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-Original Message-
From:
"Jason E. Stewart" <[EMAIL PROTECTED]> writes:
> "Jason E. Stewart" <[EMAIL PROTECTED]> writes:
>
> > I've been wrestling with printing out the values of Entities defined
> > in the internal subset of the DOCTYPE. I've discovered that to get the
> > info I need to have setCreateEntityReferenceNo
Hi,
The xml document doesn't have a encoding format tag in it. Is the default
non Latin-1 ?
-Stan
Dean Roddey wrote:
> What encoding is your document in? It must indicate that it is in 8859-1 if
> you are going to use characters from that encoding.
>
> --
> Dean Roddey
> Softwa
Thanks. I realize now that this is covered in the FAQ. I actually do have
a need to initialize and terminate the utilities multiple times in a single
process. I have several different libraries that use Xerces-C, each needing
to initialize the platform utilities individually. I use these libra
"Jason E. Stewart" <[EMAIL PROTECTED]> writes:
> I've been wrestling with printing out the values of Entities defined
> in the internal subset of the DOCTYPE. I've discovered that to get the
> info I need to have setCreateEntityReferenceNodes(TRUE). I would love
> to know where this is documented
Hi Raymond,
The short answer is you can't terminate more than once.
There are many discussions on this topic in the mailing list
archive.
http://marc.theaimsgroup.com/?l=xerces-c-dev
Cheers,
Walker
[EMAIL PROTECTED] on 05/07/2001 03:16:51 PM
Please respond to [EMAIL PROTECTED]@SMTP
To:
The API doc says:
"void XMLPlatformUtils::Initialize () [static]
Perform per-process parser initialization."
so I assume it isn't mean to be called repeatedly.
It is also written at http://xml.apache.org/xerces-c/program.html
"Key points to remember when using the C++ DOM classes:
- Create
Hi Ray,
To add a bit to Dean's comment. I've faced this as well. The
Initialize and Terminate code keeps a static counter of how many
times you've entered them. Initialze increments it and Terminate
decrements it. So, it's safe to call Initialize multiple times
and Terminate until you "undo
Hi, Ray,
The FAQ answer your question very clearly. pls refer to
http://xml.apache.org/xerces-c/faq-parse.html#faq-22.
Regards,
Peiyong Zhang
XML Parsers Development
IBM Toronto Laboratory email: [EMAIL PROTECTED]
Phone: (416)448-4088; Fax:
Its the latter. You cannot recall Initialize() after Terminate() is called.
--
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-Original Message-
From: Mitchell, Raymond [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 3:01 PM
To: '[EMAIL PROTECT
Hey,
I've been wrestling with printing out the values of Entities defined
in the internal subset of the DOCTYPE. I've discovered that to get the
info I need to have setCreateEntityReferenceNodes(TRUE). I would love
to know where this is documented anywhere in Xerces. And what do
entity reference
I have run into a problem attempting to initialize and terminate
XMLPlatformUtils more than once in a single program. The following code
causes the error.
XMLPlatformUtils::Initialize();
DOMParser *pDOMParser = new DOMParser;
delete pDOMParser;
XMLPlatformUtils::T
It is an array of unsigned chars, which must be at least as big as the max
output chars, into which will be inserted values that indicate how many
bytes from the input when into each XMLCh that was created in the output
buffer. Since many encodings use variable numbers of byte per character,
this
Stan wrote:
> Hi,
>
> In Xalan C++ 1.1 (Xerces C++ 1.4), when I attempt to parse a copyright
> character
> (Latin-1 0xA9), it returns NULL from the DTD Validator in XMLScanner2.cpp:
>
> XMLEntityDecl* DTDValidator::findEntityDecl(const XMLCh* const entName
>
What encoding is your document in? It must indicate that it is in 8859-1 if
you are going to use characters from that encoding.
--
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-Original Message-
From: Stan [mailto:[EMAIL PROTECTED]]
Sent: Monday, M
For questions about DOM Level 3, try the W3C's own www-dom mailing list.
Brief answer: I'm on the DOM Working Group, and I wouldn't take the risk of
estimating a date for the Recommendation. Development is in progress.
Prototypes of selected portions of DOM3 are likely to start appearling long
be
Hi,
In Xalan C++ 1.1 (Xerces C++ 1.4), when I attempt to parse a copyright
character
(Latin-1 0xA9), it returns NULL from the DTD Validator in XMLScanner2.cpp:
XMLEntityDecl* DTDValidator::findEntityDecl(const XMLCh* const entName
, const bool
Hi all.
My version of the std c++ library is "libstdc++-2.96-69" (in Redhat linux: rpm
-qa | grep std). The examples distributed with the xerces library runs without
problems, but when I compile the source code of any example (for example
DOMCount), I receive "segmentation fault" error.
I suspect
Further transcoding question about the following function from
Iconv400Transcoder:
virtual unsigned int transcodeFrom
(
const XMLByte* const srcData
, const unsigned intsrcCount
, XMLCh* consttoFill
, const unsigned
Does anyone have any feeling for the time line for when DOM 3 would
be finished and support for this would start showing up in software? I
realize it is very early in the process to start asking this but I'm just
wondering if anyone has any guesses (months, a year, several years .).
W
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=769
*** shadow/769 Mon May 7 07:46:48 2001
--- shadow/769.tmp.16778Mon May 7 08:36:49 2001
***
*** 39,41
--- 39,46
--- Additional Comments From [EMAIL PROTECTED] 2001-05-07 07:46 ---
Created an attachm
See the XML specification; newlines are normalized to \n during XML
parsing.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=769
*** shadow/769 Thu Mar 1 06:53:05 2001
--- shadow/769.tmp.16530Mon May 7 07:46:48 2001
***
*** 34,37
, OPEN_EXISTING
, FILE_FLAG_SEQUENTIAL_SCAN
, 0
! );
--- 34,
1) Invent an XML language language that describes your GUI designs.
2) Design your GUIs in that language.
3) Write a stylesheet that converts your GUI design into HTML.\
4) Write a stylesheet that converts your GUI into Swing code, or into
something that can produce Swing code.
Some years ago, I
See http://marc.theaimsgroup.com/?l=xerces-c-dev.
Apache Web page maintainers: could we make the archives links (on
http://xml.apache.org/mail.html as well as
http://xml.apache.org/xerces-c/index.html) point to this site? Covalent has
been down for ages, MARC seems reliable, and every third messa
25 matches
Mail list logo