mbeckerle commented on code in PR #7:
URL: https://github.com/apache/xerces-j/pull/7#discussion_r2019498698


##########
src/org/apache/xerces/parsers/AbstractDOMParser.java:
##########
@@ -933,6 +940,10 @@ public void startElement (QName element, XMLAttributes 
attributes, Augmentations
                 return;
             }
             Element el = createElementNode (element);
+            // Extract location info if feature is enabled
+            if (fIncludeLocationInfo) {
+                el.setUserData( Constants.LOCATION_INFO, String.valueOf( 
fLocator.getLineNumber() ), null ); // Save location String into node

Review Comment:
   Changed now to using a member on NodeImpl, not user data. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to