Joe Wang's weblog -- JAXP & SJSXP, and thoughts of ... little impact
A Drop of Water
Archives
« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today
Click me to subscribe
Search

Links
 

Today's Page Hits: 5

« Open Source, Open... | Main | Quote: Microsoft-Yah... »
Thursday Sep 20, 2007
Writing the XML Declaration using XMLStreamWriter/XMLEventWriter

An issue (sjsxp issue 43) Tatu posted on SJSXP sparked a lot of dicussions in the JAXP Dev mailing list. The main observations on this part of specification are that it lacks the clearness on default encoding, the order of preference among the default, that set when the writer is constructed, and that set by calling writeStartDocument on the XMLStreamWriter or createStartDocument on XMLEventFactory. Also, the specifications of the writeStartDocument methods on XMLStreamWriter do not align well with the createStartDocument methods on XMLEventFactory. I've recorded the findings and added proposal 1 for each section on the StAX.next Discussion page. Please feel free to join our discussion and suggest your proposals.

Thanks.

Posted at 03:28PM Sep 20, 2007 by joehw in JAXP  |  Comments[0]

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed