[jboss-user] [JBoss Portal] - Re: WSRP: JBoss Portal (2.6.6) Consumer, Liferay 4 Producer
do-not-reply at jboss.com
Wed Jul 2 18:37:59 EDT 2008
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:
"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#4162201
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162201
More information about the jboss-user