DBXML Berkley messes up characters invalidating W3C stand
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 9
- Joined: Thu Jan 05, 2006 7:08 pm
DBXML Berkley messes up characters invalidating W3C stand
I'm running DBXML of berkley.
I need to us < > and other XML foreign characters in my XML structure
W3c standards tell me to ue < an > as encoding.
This is fine for me ...
As I load the xml record in the DB
as : <test var="<>" />
the xml record is returned as <test vat="<>" />
it seems to interprete the > opposed to the <
as a result the XML string is corrupted.
Any idea to solve the problem
I need to us < > and other XML foreign characters in my XML structure
W3c standards tell me to ue < an > as encoding.
This is fine for me ...
As I load the xml record in the DB
as : <test var="<>" />
the xml record is returned as <test vat="<>" />
it seems to interprete the > opposed to the <
as a result the XML string is corrupted.

Any idea to solve the problem
Whow another day in testing
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Please specify a sequence of steps that you execute including the parameters for the import from database action to get the corrupt string.
Regards,
Sorin
Please specify a sequence of steps that you execute including the parameters for the import from database action to get the corrupt string.
Regards,
Sorin
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hello,
The two representations of the > character in XML are equivalent, so what you get back is equivalent with what you had initially. If you want to have this consistent then do not escape the > character, just write it as it is. Things are different with the < character, it always need to be escaped.
Best Regards,
George
The two representations of the > character in XML are equivalent, so what you get back is equivalent with what you had initially. If you want to have this consistent then do not escape the > character, just write it as it is. Things are different with the < character, it always need to be escaped.
Best Regards,
George
-
- Posts: 9
- Joined: Thu Jan 05, 2006 7:08 pm
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service