Open robertatakenaka opened 5 years ago
Um novo caso [http://articlemeta.scielo.org/api/v1/article/?collection=scl&code=S0101-31222006000300005&format=xmlrsps]:
De:
<email><A HREF="mailto:lbfranke@vortex.ufrgs.br">lbfranke@vortex.ufrgs.br</A></email>
Para:
<email>lbfranke@vortex.ufrgs.br</email>
Não estou seguro se depois de reabrir o ticket ele deve ser colocado novamente no backlog. O que vc diria @patymori?
Um novo caso [http://articlemeta.scielo.org/api/v1/article/?collection=scl&code=S0101-31222006000300005&format=xmlrsps]:
De:
<email><A HREF="mailto:lbfranke@vortex.ufrgs.br">lbfranke@vortex.ufrgs.br</A></email>
Para:
<email>lbfranke@vortex.ufrgs.br</email>
Este problema foi referenciado pela issue e resolvido com o PR https://github.com/scieloorg/articles_meta/pull/200.
Para o exemplo real citado em [1], apesar da conversão ser executada, há erros na validação do resultado, segue o log:
2020-01-14 15:02:56 ERROR [documentstore_migracao.processing.validation] Element inline-graphic is not declared in xref list of possible children - 12
2020-01-14 15:02:56 ERROR [documentstore_migracao.processing.validation] Element inline-graphic is not declared in ext-link list of possible children - 9
APESAR do XML não estar válido da perspectiva da DTD
o resultado da transformação pelo packtools é suficientemente bom, ver:
[1] Exemplo real
Exemplo real: http://www.scielo.br/scielo.php?script=sci_arttext&pid=S0100-879X2011000100001&lng=en&nrm=iso&tlng=en
Converter:
1) De
para
para:
Exemplo real: http://www.scielo.br/scielo.php?script=sci_arttext&pid=S0100-879X2011000100001&lng=en&nrm=iso&tlng=en
para:
ou
para:
ou
Referências:
EMAIL https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/email.html Attributes content-type Type of Content id Document Internal Identifier specific-use Specific Use xlink:actuate Actuating the Link xlink:href Href (Linking Mechanism) xlink:role Role of the Link xlink:show Showing the Link xlink:title Title of the Link xlink:type Type of Link xml:base Base xml:lang Language xmlns:xlink XLink Namespace Declaration
Content Model
Expanded Content Model
GRAPHIC https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/graphic.html Attributes content-type Type of Content id Document Internal Identifier mime-subtype Mime Subtype mimetype Mime Type orientation Orientation position Position specific-use Specific Use xlink:actuate Actuating the Link xlink:href Href (Linking Mechanism) xlink:role Role of the Link xlink:show Showing the Link xlink:title Title of the Link xlink:type Type of Link xml:base Base xml:lang Language xmlns:xlink XLink Namespace Declaration
Content Model
Expanded Content Model
EXT-LINK https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/ext-link.html Attributes assigning-authority Authority Responsible for an Identifier ext-link-type Type of External Link id Document Internal Identifier specific-use Specific Use xlink:actuate Actuating the Link xlink:href Href (Linking Mechanism) xlink:role Role of the Link xlink:show Showing the Link xlink:title Title of the Link xlink:type Type of Link xml:base Base xml:lang Language xmlns:xlink XLink Namespace Declaration
Content Model
Expanded Content Model