← Prev in month ← Prev in thread
Next in thread → Next in month →

[ubl-ndrsc] Fragment processing with local elements

From
Eve Maler
Date
2002-11-15T16:45:00+00:00
ID
Thread
[ubl-ndrsc] Fragment processing with local elements
MHonArc v2.5.2 -->
















ubl-ndrsc message






[Date Prev]
 | [Thread Prev]
 | [Thread Next]
 | [Date Next]

--

[Date Index]
 | [Thread Index]
 | [Elist Home]








Subject: [ubl-ndrsc] Fragment processing with local elements




From: "Eve L. Maler" <>
To: "UBL-NDRSC (E-mail)" <>
Date: Fri, 15 Nov 2002 16:43:43 -0500






Per my action item, I have asked some colleagues about difficulties in 
fragment processing.  If I get any additional input I'll forward it along.

	Eve

From: Norman Walsh <>

/ "Eve L. Maler" <> was heard to say:
| Commerce One, having done some experiments around this, expressed the
| concern that if you break up your XML document into fragments and try
| to process those fragments independently, local elements at the
| "roots" of these fragments need to have their type specified with
| xsi:type in order to be schema-processable.

Yep. And if you don't have globally declared types for them, I don't
know what you do.

| That seems like a
| reasonable situation to me; a local element is only known within the
| scope of its parent so you have to provide more context.  But are
| there other gotchas?  Should fragment processing be done in some other
| way for better efficiency (i.e., why is the literal XML document being
| broken up into literal fragments on disk rather than a parse tree
| being manipulated)?

Short of passing around validated infosets (and can you really say
it's still valid if you rip a hunk out of the middle and pass it to
someone else?), I don't think passing trees around is much different
than passing serialized characters around.

                                         Be seeing you,
                                           norm

- --
    | The public! The public! How many fools does
XML Standards Architect | it take to make up a public?--Chamfort
Web Tech. and Standards |
Sun Microsystems, Inc.  |
-- 
Eve Maler                                        +1 781 442 3190
Sun Microsystems                            cell +1 781 354 9441
Web Technologies and Standards               eve.maler @ sun.com
← Prev in month ← Prev in thread
Next in thread → Next in month →