Yes. Looks like invalid XML... According to the XML spec:
http://www.w3.org/TR/REC-xml/#sec-lang-tag[/url], xml:lang attributes should conform to
[
url]http://www.ietf.org/rfc/rfc3066.txt... lang attribute on LocalizedString is defined
by WSRP as an xml:lang attribute.
Looking at the service description response:
<shortTitle lang='English'>
| <value>javax.portlet.short-title.98</value>
| </shortTitle>
"English" is definitely not a valid language tag.
That said, our WSRP implementation shouldn't fail with an NPE so I need to look at it
in greater detail. Note also that the locales values are also incorrect (en_US as opposed
to en-US) but this should be picked up by the relaxed validation mode, which you seem to
be using already (based on the line number for NPE).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162201#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...