Leading zeros in US Publication Numbers
Posted: Wed Mar 04, 2020 8:32 pm
Hi,
This question is similar to the thread below, but in the other direction
how-to-convert-the-publication-number-i ... ormat-7951
If I'm starting with publication number US20090220659A1 (or original US format US 2009/0220659 A1) I need to remove the leading zero after the year if I want to retrieve data from OPS.
That's fine while the number of publications doesn't reach 1M for the year, but it still doesn't feel right to blindly remove that digit. Instead, I was trying to use the number service to convert to DOCDB or EPODOC format. However, the response from the number service still includes the zero. Can the service not be used for this kind of conversion?
This question is similar to the thread below, but in the other direction
how-to-convert-the-publication-number-i ... ormat-7951
If I'm starting with publication number US20090220659A1 (or original US format US 2009/0220659 A1) I need to remove the leading zero after the year if I want to retrieve data from OPS.
That's fine while the number of publications doesn't reach 1M for the year, but it still doesn't feel right to blindly remove that digit. Instead, I was trying to use the number service to convert to DOCDB or EPODOC format. However, the response from the number service still includes the zero. Can the service not be used for this kind of conversion?
Thank you!<ops:standardization inputFormat="original" outputFormat="docdb">
<ops:input>
<ops:application-reference>
<document-id document-id-type="original">
<country>US</country>
<doc-number>20090220659</doc-number>
<kind>A1</kind>
</document-id>
</ops:application-reference>
</ops:input>
<ops:output>
<ops:application-reference>
<document-id document-id-type="docdb">
<country>US</country>
<doc-number>20090220659</doc-number>
<kind>A1</kind>
</document-id>
</ops:application-reference>
</ops:output>
</ops:standardization>