Re: XHTML construction problem with ampersands / special characters

2003-12-23 Thread Michael Glavassevich
Before writing a character to the output stream the serializer makes an attempt to determine whether it can be represented in the output encoding. With a few exceptions, if the character is representable it is converted to the appropriate byte sequence, otherwise it is written as a character refere

Re: XHTML construction problem with ampersands / special characters

2003-12-23 Thread Sebastian Redl
Bob Foster wrote: Sebastian Redl wrote: If you insert the Java representation of the non-breaking space into the element content (through some \u escape probably) then the serializer should convert it to the &#; representation automatically. Really? You mean the serializer should look at th

Re: XHTML construction problem with ampersands / special characters

2003-12-23 Thread Bob Foster
Sebastian Redl wrote: If you insert the Java representation of the non-breaking space into the element content (through some \u escape probably) then the serializer should convert it to the &#; representation automatically. Really? You mean the serializer should look at the encoding of the d

Re: XHTML construction problem with ampersands / special characters

2003-12-23 Thread etb
andreas writes: > when constructing an XHTML document with Xerces-J, how to insert > special characters like " "? The problem is that the "&" > character is replaced by the """ sequence, thus " " is > expanded to ""nbsp;". > > There must be a way to insert special characters, but I have not > bee

Re: XHTML construction problem with ampersands / special characters

2003-12-23 Thread Sebastian Redl
[EMAIL PROTECTED] wrote: Hello, when constructing an XHTML document with Xerces-J, how to insert special characters like " "? The problem is that the "&" character is replaced by the """ sequence, thus " " is expanded to ""nbsp;". There must be a way to insert special characters, but I have not bee

XHTML construction problem with ampersands / special characters

2003-12-23 Thread andreas . hoenen
Hello, when constructing an XHTML document with Xerces-J, how to insert special characters like " "? The problem is that the "&" character is replaced by the """ sequence, thus " " is expanded to ""nbsp;". There must be a way to insert special characters, but I have not been able to figure it out