All pastes #283081 Raw Edit

Miscellany

public text v1 · immutable
#283081 ·published 2006-12-18 02:16 UTC
rendered paste body
a sample file and the result
<?xml version = "1.0" encoding = "UTF-8"?>
<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
          "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<para>
An annual percentage rate (<abbrev>APR</abbrev>) of 13.9%<footnote>
<para>
The prime rate, as published in the <citetitle>Wall Street
Journal</citetitle> on the first business day of the month,
plus 7.0%.
</para>
</footnote>
will be charged on all balances carried forward.
</para>

result : 
text:<,id:6
[mTokens]: line 1:1 1:1: Tokens : ( COMMENT | INTERNAL_DTD | TAG_START_OPEN | TAG_END_OPEN | TAG_CLOSE | TAG_EMPTY_CLOSE | ATTR_EQ | ATTR_VALUE | PCDATA | GENERIC_ID | WS ); state 3 (decision=10) no viable alt line 1:1; char='?'
text:xml,id:15
[mTokens]: line 1:40 1:1: Tokens : ( COMMENT | INTERNAL_DTD | TAG_START_OPEN | TAG_END_OPEN | TAG_CLOSE | TAG_EMPTY_CLOSE | ATTR_EQ | ATTR_VALUE | PCDATA | GENERIC_ID | WS ); state 3 (decision=10) no viable alt line 1:40; char='?'
text:version,id:15
[mTokens, mCOMMENT]: line 2:2 mismatched char: 'D' on line 2; expecting char '-'
text:=,id:10
text:"1.0",id:11
text:encoding,id:15
text:=,id:10
text:"UTF-8",id:11
text:>,id:8
text:CTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
          "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
,id:12
text:<,id:6
text:para,id:15
text:>,id:8
text:
An annual percentage rate (,id:12
text:<,id:6
text:abbrev,id:15
text:>,id:8
text:APR,id:12
text:</,id:7
text:abbrev,id:15
text:>,id:8
text:) of 13.9%,id:12
text:<,id:6
text:footnote,id:15
text:>,id:8
text:<,id:6
text:para,id:15
text:>,id:8
text:
The prime rate, as published in the ,id:12
text:<,id:6
text:citetitle,id:15
text:>,id:8
text:Wall Street
Journal,id:12
text:</,id:7
text:citetitle,id:15
text:>,id:8
text: on the first business day of the month,
plus 7.0%.
,id:12
text:</,id:7
text:para,id:15
text:>,id:8
text:</,id:7
text:footnote,id:15
text:>,id:8
text:
will be charged on all balances carried forward.
,id:12
text:</,id:7
text:para,id:15
text:>,id:8