[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Microsoft XML Diff and Patch 1.0 available
I notice on http://www.ibiblio.org/xml/ that you wrongly claim "XML Diff performs partially XML-based comparison of the XML documents as opposite of a common lexical comparison. For instance, it ignores the document encoding and the order of attributes. However, it does distinguish between empty element tags and empty elements with two tags. This is a bug." This is incorrect. Please correct it. -- PITHY WORDS OF WISDOM In any contest between power and patience, bet on patience. This posting is provided "AS IS" with no warranties, and confers no rights. -----Original Message----- From: Elliotte Rusty Harold [mailto:elharo@m...] Sent: Wednesday, September 04, 2002 6:25 AM To: xml-dev@l... At 4:19 PM -0700 8/30/02, Dare Obasanjo wrote: >Microsoft XML Diff and Patch 1.0 is now released. > According to the documentation this tool "does differentiate between an empty element <a/> and element with no content <a></a>" This is clearly wrong. <a/> vs. <a></a> is just syntax sugar. There is no significant difference between them, and tools should not pretend there is. An empty element is an element with no content and vice versa. This is a common misconception among developers and Microsoft should not be encouraging it. -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@m... | Writer/Programmer | +-----------------------+------------------------+-------------------+ | XML in a Nutshell, 2nd Edition (O'Reilly, 2002) | | http://www.cafeconleche.org/books/xian2/ | | http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+ ----------------------------------------------------------------- The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org> The list archives are at http://lists.xml.org/archives/xml-dev/ To subscribe or unsubscribe from this list use the subscription manager: <http://lists.xml.org/ob/adm.pl>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|