| tjhazel 2005-12-13, 5:55 pm |
| I tried to use the construct message shape to execute a Map, the to assign
additional values to a message. My xpath appear to select the appropriate
nodes when I test it in an outside program.
xpath(SQLCustomer, "/*[local-name()='PortalCustomer' and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/@*[local-name()='FileName'
and namespace-uri()='']") = CustomerSchema(FILE.ReceivedFileName);
The problem I think I am having is that I can have multiple nodes that
match my xpath, which is what I want to happen. Is there a restriction
against updating multiple nodes with a single xpath statment?
Microsoft.XLANGs.RuntimeTypes.XPathSelectionException: The XPath expression
'/*[local-name()='PortalCustomer' and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/*[local-name()='sync'
and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/*[local-name()='after'
and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/*[local-name()='PortalCustomer'
and
namespace-uri()='MxLogic.Schemas.SQLPortalCustomers']/@*[local-name()='FileName'
and namespace-uri()='']' selected a node which is not valid for property or
distinguished field retrieval, or it selected no node at all. Only text-only
elements or attributes may be selected.
at Microsoft.XLANGs.Core.Part.XPathStore(Object rValue, String xpath)
at MxLogic.Orchestrations.TestPortalCustomer.segment1(StopConditions
stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s,
StopConditions stopCond, Exception& exp)
Microsoft.XLANGs.RuntimeTypes.XPathSelectionException
|