My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 46: Namespace issue
1 person starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  alex.id....@gmail.com
Closed:  Apr 2011

Blocked on:
issue 45


 
Reported by tomhyn...@gmail.com, Apr 3, 2011
I have a Filters arrayCollection inside a class named SearchRequest.
I am having problems with namespaces.

I need to declare the namespace in the searchRequest class, but need to use the namespace in the Filter class????

Is it possible to have my serialized XML as follows?

  <Search xmlns="http://schemas.massive.com.au/massivision/ItemService/2011/03/">
    <searchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Filters>
        <Filter i:type="Keyword">         
        </Filter>
        <Filter i:type="MultiValue">         
        </Filter>
        <Filter i:type="DatePeriod">         
        </Filter>
      </Filters>      
    </searchRequest>
  </Search>




Apr 4, 2011
Project Member #1 alex.id....@gmail.com
I am already working on this as part of an enhancement. You'll be able to specify the xsi type of the element and parse it accordingly to the the proper class 
Blockedon: 45
Apr 4, 2011
Project Member #2 alex.id....@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Labels: Milestone-2.1.0
Apr 4, 2011
Project Member #3 alex.id....@gmail.com
(No comment was entered for this change.)
Status: New
Apr 4, 2011
Project Member #4 alex.id....@gmail.com
(No comment was entered for this change.)
Status: Accepted
Apr 5, 2011
Project Member #5 alex.id....@gmail.com
(No comment was entered for this change.)
Status: Fixed
Apr 14, 2012
Project Member #6 alex.id....@gmail.com
(No comment was entered for this change.)
Status: Verified
Owner: alex.id....@gmail.com

Powered by Google Project Hosting