Running SHR-U, my /var/log/fsotdld.log says (several times):
2011-03-10T14:15:42.711832Z [INFO] SourceGsm <>: Resolved provider 23430 to
country 'im' w/ 1 timezone(s)
Country code 'im' is the Isle of Man.
In fact my provider is T-Mobile, and serviceproviders.xml's entry for
234/30 looks correct, and has nothing to do with the Isle of Man:
<!-- Britain -->
<country code="gb">
...
<provider>
<name>T-Mobile</name>
<gsm>
<network-id mcc="234" mnc="30"/>
<apn value="general.t-mobile.uk">
<username>User</username>
<password>mms</password>
<dns>149.254.201.126</dns>
<dns>149.254.192.126</dns>
</apn>
</gsm>
</provider>
...
</country>
The only entry in serviceproviders.xml for the Isle of Man has code
234/55.
I've looked through all the relevant code (mbpi.vala and
world/plugin.vala in fsodatad, and source_gsm/plugin.vala), and it all
looks correct.
Quite mysterious. Could it be that the format of serviceproviders.xml
is not quite correct? When I run nsgmls over it, I do get lots of
errors (below).
Neil
nsgmls -i /usr/share/sgml/declaration/xml.dcl serviceproviders.xml
nsgmls:serviceproviders.2.dtd:1:37:E: omitted tag minimization parameter can be
omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:4:29:E: omitted tag minimization parameter can be
omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:7:39:E: omitted tag minimization parameter can be
omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:9:33:E: omitted tag minimization parameter can be
omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:14:20:E: omitted tag minimization parameter can
be omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:17:21:E: omitted tag minimization parameter can
be omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:19:40:E: duplicate attribute definition list for
element "NETWORK-ID"
nsgmls:serviceproviders.2.dtd:21:28:E: omitted tag minimization parameter can
be omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:22:28:E: omitted tag minimization parameter can
be omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:23:23:E: omitted tag minimization parameter can
be omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:24:27:E: omitted tag minimization parameter can
be omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:30:21:E: omitted tag minimization parameter can
be omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:32:14:E: omitted tag minimization parameter can
be omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:35:24:E: omitted tag minimization parameter can
be omitted only if "OMITTAG NO" is specified on the SGML declaration
nsgmls:serviceproviders.2.dtd:36:18:E: character ":" invalid: only "CDATA",
"ENTITIES", "ENTITY", "ID", "IDREF", "IDREFS", "NAME", "NAMES", "NMTOKEN",
"NMTOKENS", "NOTATION", "NUMBER", "NUMBERS", "NUTOKEN", "NUTOKENS" and
parameter separators allowed
nsgmls:serviceproviders.xml:46:29:E: there is no attribute "MNC"
nsgmls:serviceproviders.xml:46:34:E: character data is not allowed here
nsgmls:serviceproviders.xml:68:34:E: character data is not allowed here
etc.
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel