Skip to content

Commit 6f29c0c

Browse files
committed
[ignore] fn-serialize,use-character-maps
Fix tab/space indentation problems Correct <a> tags
1 parent 1b54422 commit 6f29c0c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

exist-core/src/main/java/org/exist/storage/serializers/Serializer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public abstract class Serializer implements XMLReader {
191191
protected Receiver receiver = null;
192192
protected SAXSerializer xmlout = null;
193193
protected LexicalHandler lexicalHandler = null;
194-
protected Map<Integer, String> useCharacterMaps = null;
194+
protected Map<Integer, String> useCharacterMaps = null;
195195
protected Subject user = null;
196196

197197
protected XQueryContext.HttpContext httpContext = null;
@@ -269,8 +269,8 @@ public void setProperties(Properties properties)
269269
key = (String)e.nextElement();
270270
if(key.equals(Namespaces.SAX_LEXICAL_HANDLER))
271271
{lexicalHandler = (LexicalHandler)properties.get(key);}
272-
else if (key.equals(EXistOutputKeys.USE_CHARACTER_MAPS))
273-
{useCharacterMaps = (Map<Integer, String>) properties.get(key);}
272+
else if (key.equals(EXistOutputKeys.USE_CHARACTER_MAPS))
273+
{useCharacterMaps = (Map<Integer, String>) properties.get(key);}
274274
else
275275
{setProperty(key, properties.getProperty(key));}
276276
}

exist-core/src/main/java/org/exist/util/serializer/HTML5Writer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ public class HTML5Writer extends XHTML5Writer {
3838

3939
/**
4040
* Holds the names of the attributes that are considered boolean
41-
* according to {@link <a href="http://www.w3.org/TR/html51/single-page.html">...</a>}
41+
* according to <a href="http://www.w3.org/TR/html51/single-page.html">HTML Standard</a>
4242
*
4343
* The value of these attributes are written if they equal the
4444
* name of the attribute. For example: checked="checked" will be
4545
* written as checked.
4646
*
47-
* See <a href="https://github.com/eXist-db/exist/issues/777">...</a> for details.
47+
* See <a href="https://github.com/eXist-db/exist/issues/777">html5 method eating attribute value when value is eq to name</a> for details.
4848
*/
4949
private static final ObjectSet<String> BOOLEAN_ATTRIBUTE_NAMES = new ObjectOpenHashSet<>(68);
5050
static {

exist-core/src/main/java/org/exist/xquery/util/SerializerUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public static void getSerializationOptions(final Expression parent, final NodeVa
262262
final int status = reader.next();
263263
if (status == XMLStreamConstants.START_ELEMENT) {
264264
readStartElement(parent, reader, propertiesInXML);
265-
} else if(status == XMLStreamConstants.END_ELEMENT && readEndElementLevel(reader) == thisLevel) {
265+
} else if (status == XMLStreamConstants.END_ELEMENT && readEndElementLevel(reader) == thisLevel) {
266266
// finished `optRoot` element ? exit-while
267267
break;
268268
}

0 commit comments

Comments
 (0)