File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed
scripts/src/main/javascript/org/hisrc/jsonix/Jsonix Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ Jsonix.Class = function() {
8181Jsonix . XML = {
8282 XMLNS_NS : 'http://www.w3.org/2000/xmlns/' ,
8383 XMLNS_P : 'xmlns'
84-
8584} ;
8685
8786
@@ -1608,7 +1607,7 @@ Jsonix.XML.Output = Jsonix.Class({
16081607 {
16091608 if ( p === '' )
16101609 {
1611- this . writeAttribute ( { ns : Jsonix . XML . XMLNS_NS , lp : Jsonix . XML . XMLNS_P } , ns ) ;
1610+ this . writeAttribute ( { lp : Jsonix . XML . XMLNS_P } , ns ) ;
16121611 }
16131612 else
16141613 {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ module.exports = {
3333 }
3434 } ;
3535 var marshalled = marshaller . marshalString ( data ) ;
36- test . equal ( "<root xmlns:gh62 =\"urn:gh62\"><toor>orto</toor></root>" , marshalled ) ;
36+ test . equal ( "<root xmlns=\"urn:gh62\"><toor>orto</toor></root>" , marshalled ) ;
3737 test . done ( ) ;
3838 }
3939} ;
Original file line number Diff line number Diff line change 11Jsonix . XML = {
22 XMLNS_NS : 'http://www.w3.org/2000/xmlns/' ,
33 XMLNS_P : 'xmlns'
4-
54} ;
65
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ Jsonix.XML.Output = Jsonix.Class({
208208 {
209209 if ( p === '' )
210210 {
211- this . writeAttribute ( { ns : Jsonix . XML . XMLNS_NS , lp : Jsonix . XML . XMLNS_P } , ns ) ;
211+ this . writeAttribute ( { lp : Jsonix . XML . XMLNS_P } , ns ) ;
212212 }
213213 else
214214 {
You can’t perform that action at this time.
0 commit comments