Subject: | Utils.pm: line 60 - anyUri type should be anyURI. |
Date: | Tue, 21 Aug 2007 09:37:18 -0700 (PDT) |
To: | bug-Pod-WSDL [...] rt.cpan.org |
From: | "Brian T. Wightman" <brian [...] wightmanfam.org> |
On line 60 of Pod/WSDL/Utils.pm, anyUri should be anyURI. See the referred web page in the comments as the authority. This causes 2 other fixes in the test suite. Diffs are included.
Leaving it as anyURI causes the WSDL generation to fail, anyUri causes the WSDL compilation to complain about an unknown datatype.
I am hoping that my mail client doesn't mangle the whitespace on the diffs. Apologies in advance if that did happen.
DIR=Pod-WSDL-0.05/lib/Pod/WSDL
*** Utils.pm.orig Tue Aug 21 11:21:31 2007
--- Utils.pm Tue Aug 21 11:21:46 2007
***************
*** 57,63 ****
string
normalizedString
token
! anyUri
language
Name
QName
--- 57,63 ----
string
normalizedString
token
! anyURI
language
Name
QName
DIR=Pod-WSDL-0.05/t
*** 11WSDL02types.t.orig Tue Aug 21 11:28:03 2007
--- 11WSDL02types.t Tue Aug 21 11:28:19 2007
***************
*** 16,22 ****
string
normalizedString
token
! anyUri
language
Name
QName
--- 16,22 ----
string
normalizedString
token
! anyURI
language
Name
QName
DIR=Pod-WSDL-0.05/t/My
*** TypeTest.pm.orig Tue Aug 21 11:30:29 2007
--- TypeTest.pm Tue Aug 21 11:30:48 2007
***************
*** 7,13 ****
_IN blastring $string is a string
_IN blanormalizedString $normalizedString is a normalizedString
_IN blatoken $token is a token
! _IN blaanyUri $anyUri is a anyUri
_IN blalanguage $language is a language
_IN blaName $Name is a Name
_IN blaQName $QName is a QName
--- 7,13 ----
_IN blastring $string is a string
_IN blanormalizedString $normalizedString is a normalizedString
_IN blatoken $token is a token
! _IN blaanyURI $anyURI is a anyURI
_IN blalanguage $language is a language
_IN blaName $Name is a Name
_IN blaQName $QName is a QName
Brian