• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

C++ SAX2 Parser Help!!!

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am on a project to build a native XML database. I am using Apache Xerces-C SAX2 parser to validate the XML file, and then, break the file into fragment as whatever required... My problem is that after parsing, SAX2 translated all the encoding, entities, for instance, encoding="ISO-8859-1", using XMLFomatter.getEncodingName(), becomes encoding="LATIN1"..etc.. Is there a way, I can still have the xml content intact, exactly the same as the original file, after SAX2 parsing? I want to save XML original data into database, not those that already been translated...I really appreciate if someone could give some possible solutions.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this thread to XML and Related Technologies... (this forum is for XML certification)
Please continue the discussion over there. Thanks.
 
Did you just should on me? You should read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic