Re:USPTO to add surcharge on non-DOCX patent applications in...
by ndiddy on Friday August 26, 2022 @03:19PM
(#32611612)
The Office Open XML file format is extremely complex, and takes up around 6,500 pages (compared to ~1000 for ODF). One thing you notice when reading the DOCX spec is that they designed it with the sole constraint that DOC files could easily be converted to DOCX. For example, you'll frequently see compatibility tags like "autoSpaceLikeWord95", "footnoteLayoutLikeWW8", "useWord2002TableStyleRules", and "lineWrapLikeWord6" that expose internal implementation details. Rather than creating a useful standard allowing all users to store their documents in a clean, portable way, Microsoft decided to make their standard faithfully reproduce all of the quirks and bugs of their legacy binary formats. It's so difficult to correctly implement the Office Open XML standard that even Microsoft took until Office 2013 to do so (the standard was approved in 2006).
[ Parent
| on HN ]
Re:USPTO to add surcharge on non-DOCX patent applications in...
by jfk13 on Friday August 26, 2022 @03:27PM
(#32611703)
So true. "It's XML, so it must easy to parse and manipulate" is such a naive, even misleading attitude. If what you do is take a byzantine, legacy-encrusted implementation and just serialise its data strucures to an XML representation, very little has been gained.
[edit: but I will grant that almost anything is better than attempting to parse useful content from PDF.]
Re:USPTO to add surcharge on non-DOCX patent applications in...
by sidewndr46 on Friday August 26, 2022 @10:56PM
(#32615189)
I had a CTO who told me that "anytime someone says something will be simple because it uses XML, just repeat what they said and use the word text instead of XML. Then tell me if it sounds smart."
Re:USPTO to add surcharge on non-DOCX patent applications in...
by exikyut on Monday August 29, 2022 @11:07AM
(#32639197)
*Uses regular expressions to parse binary XML*
In fairness though this a really good point.
Re:USPTO to add surcharge on non-DOCX patent applications in...
by stefan_ on Friday August 26, 2022 @08:58PM
(#32614491)
Microsoft "adopted" XML purely to assuage various regulators that their new format was totally gonna be open, interoperable and standardized. It is a pure fig leaf but judging by all the comments in here mentioning "XML", it seems to have worked.
Re:USPTO to add surcharge on non-DOCX patent applications in...
by not2b on Friday August 26, 2022 @05:30PM
(#32612979)
I think they pretty much had to do that to preserve the formatting of existing documents for users who are force-upgraded by their employers to new Office versions. But it seems a scraper that just wants the information in the document can ignore almost all of those tags.
edit: ninja'd.
Re:USPTO to add surcharge on non-DOCX patent applications in...
by notriddle on Friday August 26, 2022 @05:19PM
(#32612893)
> "autoSpaceLikeWord95", "footnoteLayoutLikeWW8", "useWord2002TableStyleRules", and "lineWrapLikeWord6"
I expect that whatever tooling the USPTO uses can probably just ignore those things. They're extracting metadata, not actually rendering it.
Re:USPTO to add surcharge on non-DOCX patent applications in...
by dataflow on Friday August 26, 2022 @03:22PM
(#32611652)
Interesting! How do they compare feature-wise? I feel like there must be things each of them support that the other one doesn't, but I don't know how consequential they are.
Re:USPTO to add surcharge on non-DOCX patent applications in...
by Kye on Friday August 26, 2022 @04:47PM
(#32612569)
I don't know how thorough or accurate it is, but Microsoft has a list.
https://support.microsoft.com/en-us/office/differences-betwe...
The list was only a few lines the last time I looked years ago, so maybe they're actually trying to make a complete list.