Menu

MDIUtilities / Blog: Recent posts

Version 1.2.52 released

Add methods in the XMLNodeutilities and XMLNode classes to search nodes for several node names or qualified names

Posted by Hervé Girod 2023-06-28

Version 1.2.51 released

Fix the FileUtilities.getAbsoluteURL method for some cases with URLs having relative delimiters (such as ../)
Add a makeAbsoluteURLPath method to get an URL from a path containing having relative delimiters (such as ../), removing these delimiters

Posted by Hervé Girod 2023-05-24

Version 1.2.50 released

Fix the FileUtilities.getRelativePath for URLs with spaces in the path

Posted by Hervé Girod 2023-05-15

Version 1.2.49 released

Fix the plusmn (which was wrongly named plusnm) and trade (which had an invalid unicode value) html entities
Add the harr, nabla, dagger html entities

Posted by Hervé Girod 2023-05-03

Version 1.2.48 released

Add the plusmn, not, and, or, lowast, ang, sdot character

Posted by Hervé Girod 2023-05-03

Version 1.2.47 released

Add the int, cong, cap, cup, asymp, sim, sub, sub, nsub, sube, supe, ne, infin, radic, ni html entities
Fix some unicode values for some html entities

Posted by Hervé Girod 2023-05-03

Version 1.2.46 released

Add the Oslash and deg html entities
Allow not to force escape some html entities (such as comma)

Posted by Hervé Girod 2023-05-03

Version 1.2.45 released

Add the comma, InvisibleTimes and InvisibleComma html entities
Protect several FileUtilities methods dealing with URLs against paths ending with spaces by trimming the path before processing it

Posted by Hervé Girod 2023-05-02

Version 1.2.44 released

Add a Swing memory viewer component
Add the getPrefixedName() method in the XMLNode class
Update the XMLNodesIterator class, allowing to filter nodes during the iteration

Posted by Hervé Girod 2023-02-19

Version 1.2.43 released

Fix the XMLTreeHandler sometimes duplicating a prefix mapping as an attribute

Posted by Hervé Girod 2023-01-12

Version 1.2.42 released

Add a method to force the ResolverSAXHandler status

Posted by Hervé Girod 2023-01-04

Version 1.2.41 released

Add the capability to set the charset for the XMLNodeUtilities, XMLNodeUtilities2, XMLIncluder, XMLNodeIncluder

Posted by Hervé Girod 2022-12-12

Version 1.2.40 released

Add a XMLNodeUtilities2 equivalent class of the XMLNodeUtilities class which use non static methods rather than static methods
Add a capability to set the EntityListResolver on the XMLNodeUtilities class
The options of the XMLNodeUtilities and XMLNodeUtilities2 classes are in a new XMLNodeUtilitiesOptions interfaces
Add a new XMLNodeIncluder class which has an alternate capability to include xml files
Add a method to copy an XMLNode without copying its children
Fix the copy method on an XMLRoot not keeping the encoding
Add a new option in the XMLSAXParser, the Nodeutilities2, and the XMLIncluder, to keep the prefixes
Escape the CDATA content if necessary when writing the content of an XMLRoot tree
Allow to set the SAXParserFactory implementation
Allow to get the type of exception if the XMLRootDetector returns nothing
Add two new methods to escape CDATA and attributes in XML content
Fix the XMLIncluder class not emitting comments if the nodes must have line numbers
Protect the XMLSAXParser class against SAXParserFactory implementations which do not support the setXIncludeAware method

Posted by Hervé Girod 2022-12-04

Version 1.2.39.5 released

Make easier to deal with prefixed attributes in the XMLNode class
Fix the XMLRootDetector not creating correctly the attributes of the root node if the node has an URI
Allow the XMLNodeUtilities and XMLTreeHandler to retain namespace informations

Posted by Hervé Girod 2022-11-22

Version 1.2.39.4 released

Fix the XMLRootDetector class not getting the correct root node name if the XML file has a schemaLocation (note that the QName was correct)
Change the SortableQName class to be able to detect the prefix when using a name with a colon in the constructor
Allow to set an ErrorHandler for the XMLNodeUtilities and the XMLTreeHandler classes
Fix the EntityListResolver not working correctly with Transformers when having a not null base URI (URIResolver interface)
Add two new methods to set the factory features and parser properties in bulk for the XMLSAXParser
Allow to set factory features and parser properties for the underlying parser used in the XMLNodeUtilities

Posted by Hervé Girod 2022-11-21

Version 1.2.39.3 released

Throws a SAXParseException in the XMLIncluder class if the included href refer to a not existing file, a directory or has an invalid URL
Add a new FileUtilities.isAbsoluteURI method
Fix some cases where the XMLIncluder would not correctly detect a relative URL
Fix some cases where the EntityListResolver would not correctly detect a relative URL

Posted by Hervé Girod 2022-11-20

Version 1.2.39.2 released

Make easier to override the resolution of entities, resources, and systemIds in the EntityListResolver
Make the URLLSInput class public in the EntityListResolver to allow uses to override more of the class behavior
Fix the EntityListResolver class not behaving correctly when there is a baseURI and a relative systemId
Add a default timeOut setting for the JREVersionDetector

Posted by Hervé Girod 2022-11-19

Version 1.2.39.1 released

Fix some cases where the XMLIncluder class would layout its result incorrectly (this had no impact on the validity of the resulting XML file)

Posted by Hervé Girod 2022-11-16

Version 1.2.39 released

Fix some problems with the usage of system IDs in the EntityListResolver
Allow to cache or not cache the created InputSource in the EntityListResolver
Add the ability to have XML comments on nodes ()
Add a getCDATAValueAsString method in the XML node class to avoid to return a null result if the CDATA content is empty
Add a class which is able to detect the encoding of XML files
Add methods in the XMLTreeHandlerUtilities to create regular nodes from a String, a File, an URL, or a Reader
Add methods in the XMLIncluder class to directly write the result to an URL or a File
Append the encoding of files produced with the includer
Add a method which allows to customize the creation of nodes in the XMLTreeHandler class

Posted by Hervé Girod 2022-11-15

Version 1.2.38 released

Add methods in the XMLSAXParser class to allow to set custom features and properties for the parser factory and the parser
Add properties and features in the XMLParserConfiguration
Use docGenerator 1.6.4.2

Posted by Hervé Girod 2022-11-01

Version 1.2.37 released

Fix some case where the JFileSelector widget was not correctly setting its text after a file selection
Remove some println text which was forgotten in the EntityListResolver class
Allows to extend some more EntityListResolver methods

Posted by Hervé Girod 2022-11-01

Version 1.2.36 released

Fix the LauncherUtils class not working correctly on Unix-like platforms (Unix, Linux, and Mac OS X)

Posted by Hervé Girod 2022-10-29

Version 1.2.35 released

Add a new HTMLSwingColors class to decode a color represented as a String to an AWT color

Posted by Hervé Girod 2022-10-28

Version 1.2.34 released

Fix the behavior of the XMLNodeUtilities.search(...) methods which were not working correctly if the deep argument was false
Add searchFirst methods for the XMLNodeUtilities class to find the first node with a name or qualified name
Add searchFirst methods for the XMLNode class to find the first node with a name or qualified name
Add a method in the XMLNode class to search a list of nodes using a qualified name

Posted by Hervé Girod 2022-10-14

Version 1.2.33 released

Fix a typo in an error message in the XMLParser class
Add new methods in the XMLNode to parse the node CDATA as a particular type
Add new methods in the XMLNode to check if an attribute of the node or the node CDATA is of a particular type

Posted by Hervé Girod 2022-10-05