[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Dare Obasanjo" <dareo@m...>
  • Subject: RE: Create XML
  • From: "Hunsberger, Peter" <Peter.Hunsberger@s...>
  • Date: Fri, 20 Jun 2003 13:29:28 -0500
  • Cc: <xml-dev@l...>
  • Thread-index: AcM28zAcF16g+moNTWaEwQy0IPkw7AAWwKwgAALAyyA=
  • Thread-topic: Create XML

Dare Obasanjo <dareo@m...> writes:

> <sales-pitch>
> This whole thread astounds me. If the APIs available for 
> processing XML on your platform of choice are so lacking that 
> one can't do something as basic as a write well-formed 
> without a heavyweight API perhaps it is time you moved to the 
> .NET Framework. ;) 
> 
> http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystem
> xmlxmltext
> writerclasstopic.asp 
> </sales-pitch>

Then again, maybe not given that the documentation states:

	XmlTextWriter does not check for the following: 

	- Invalid characters in attribute and element names. 
	- Unicode characters that do not fit the specified encoding. If
the Unicode characters do not fit the specified encoding, the
XmlTextWriter does not escape the Unicode characters into character
entities. 
	- Duplicate attributes. 
	- Characters in the DOCTYPE public identifier or system
identifier.  

We have people here who, when writing XML without a good tool, insist on
trying to put spaces in the element and attribute names...




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member