neilg 2003/02/17 14:14:38 Modified: java/tests/dom/serialize TestNS.java java/src/org/apache/xerces/impl/dv/xs XSSimpleTypeDecl.java java/src/org/w3c/dom/ls DOMWriter.java Log: fixing bug 16714 Revision Changes Path 1.10 +2 -3 xml-xerces/java/tests/dom/serialize/TestNS.java Index: TestNS.java =================================================================== RCS file: /home/cvs/xml-xerces/java/tests/dom/serialize/TestNS.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- TestNS.java 10 Feb 2003 19:12:33 -0000 1.9 +++ TestNS.java 17 Feb 2003 22:14:38 -0000 1.10 @@ -400,7 +400,7 @@ saxSerializer.startElement("myNamespace", "a", "foo:a", null); saxSerializer.startElement("myNamespace", "b", "foo:b", null); saxSerializer.startCDATA(); - char data[] = {'a', ']', ']', '>', '‰', 'n'}; + char data[] = {'a', ']', ']', '>', '\u0089', 'n'}; saxSerializer.characters(data, 0, 6); saxSerializer.endCDATA(); @@ -442,6 +442,5 @@ } // printUsage() } - 1.33 +3 -2 xml-xerces/java/src/org/apache/xerces/impl/dv/xs/XSSimpleTypeDecl.java Index: XSSimpleTypeDecl.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/dv/xs/XSSimpleTypeDecl.java,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- XSSimpleTypeDecl.java 17 Feb 2003 16:03:11 -0000 1.32 +++ XSSimpleTypeDecl.java 17 Feb 2003 22:14:38 -0000 1.33 @@ -1852,7 +1852,7 @@ private void setOrdered(){ - // When {variety} is atomic, {value} is inherited from {value} of {base type definition}. For all ·primitive· types {value} is as specified in the table in Fundamental Facets (C.1). + // When {variety} is atomic, {value} is inherited from {value} of {base type definition}. For all "primitive" types {value} is as specified in the table in Fundamental Facets (C.1). if(fVariety == VARIETY_ATOMIC){ this.fOrdered = fBase.fOrdered; } @@ -2229,3 +2229,4 @@ } } // class XSSimpleTypeDecl + 1.7 +1 -1 xml-xerces/java/src/org/w3c/dom/ls/DOMWriter.java Index: DOMWriter.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/w3c/dom/ls/DOMWriter.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- DOMWriter.java 11 Dec 2002 16:15:26 -0000 1.6 +++ DOMWriter.java 17 Feb 2003 22:14:38 -0000 1.7 @@ -87,7 +87,7 @@ * <p> Within markup, but outside of attributes, any occurrence of a character * that cannot be represented in the output character encoding is reported * as an error. An example would be serializing the element - * <LaCañada/> with <code>encoding="us-ascii"</code>. + * <LaCa\u00f1ada/> with <code>encoding="us-ascii"</code>. * <p> When requested by setting the <code>normalize-characters</code> boolean * parameter on <code>DOMWriter</code>, all data to be serialized, both * markup and character data, is W3C Text normalized according to the rules
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]