Merge lp:~zorba-coders/zorba/temp-csx-schema into lp:zorba

Proposed by Chris Hillery
Status: Merged
Approved by: Markos Zaharioudakis
Approved revision: 10648
Merged at revision: 10802
Proposed branch: lp:~zorba-coders/zorba/temp-csx-schema
Merge into: lp:zorba
Diff against target: 539 lines (+187/-122)
19 files modified
include/zorba/item.h (+5/-0)
include/zorba/item_factory.h (+33/-2)
include/zorba/store_consts.h (+65/-0)
src/api/item.cpp (+12/-0)
src/api/itemfactoryimpl.cpp (+53/-14)
src/api/itemfactoryimpl.h (+8/-0)
src/runtime/core/arithmetic_impl.h (+1/-1)
src/runtime/numerics/NumericsImpl.h (+1/-1)
src/runtime/spec/plan_iter_visitor_h.xq (+1/-1)
src/runtime/visitors/pregenerated/planiter_visitor.h (+1/-1)
src/store/api/item.h (+1/-1)
src/store/api/xs_type_codes.h (+0/-94)
src/store/naive/atomic_items.h (+1/-1)
src/store/naive/store.cpp (+0/-1)
src/types/casting.cpp (+1/-1)
src/types/casting.h (+1/-1)
src/types/schema/validate.cpp (+1/-1)
src/types/typemanager.h (+1/-1)
src/types/typeops.h (+1/-1)
To merge this branch: bzr merge lp:~zorba-coders/zorba/temp-csx-schema
Reviewer Review Type Date Requested Status
Markos Zaharioudakis Approve
Chris Hillery Approve
Matthias Brantner Approve
Review via email: mp+96035@code.launchpad.net

Commit message

Add zorba::Item::getTypeCode(), and make corresponding SchemaTypeCode enum part of the public API. Add zorba::ItemFactory::assignElementTypedValue() to allow construction of elements with typed values in the public API. As discussed, this API is not the prettiest, but it is the least intrusive while being the easiest for end-users to make use of.

To post a comment you must log in.
Revision history for this message
Chris Hillery (ceejatec) :
review: Needs Fixing
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Attempt to merge into lp:zorba failed due to conflicts:

text conflict in src/store/naive/atomic_items.h

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job temp-csx-schema-2012-03-06T01-56-13.404Z is finished. The final status was:

All tests succeeded!

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1. Got: 1 Needs Fixing, 1 Pending.

10644. By Chris Hillery

Add CSX module to ExternalModules.conf.

10645. By Chris Hillery

Add TEST_URI_PATH to the testdriver module path.

10646. By Chris Hillery

Merge from trunk.

10647. By Chris Hillery

Merge from trunk.

10648. By Chris Hillery

Removed unnecessary code.

Revision history for this message
Chris Hillery (ceejatec) wrote :

I've cleaned this up a bit, and IMHO it's ready to merge.

Markos, I've added you as a reviewer since we discussed these changes in email a while ago (late February / early March, email subjects "Zorba public API problem" and "SchemaTypeCode"). At the time, you said that you thought the SchemaTypeCode enum should perhaps go into identtypes.h rather than store_consts.h. Do you still feel that way strongly enough that I should move it, and if so, what C++ namespace should it be in? I originally chose store_consts.h because the enum was zorba::store::SchemaTypeCode, and there were already other zorba::store::Xxx enums in store_consts.h.

Revision history for this message
Matthias Brantner (matthias-brantner) wrote :

Wouldn't it be better if the new functions in the ItemFactory (e.g. assignElementTypedValue) would be members of Item?

review: Needs Information
Revision history for this message
Chris Hillery (ceejatec) wrote :

IMHO, it's better on ItemFactory, although it doesn't really fit either place very well. Putting it on ItemFactory at least makes it clearer that it should be used while constructing a new tree, while you're making other ItemFactory calls. I'd be afraid that putting it on Item would make it seem like a general-purpose update method.

Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
Chris Hillery (ceejatec) :
review: Approve
Revision history for this message
Markos Zaharioudakis (markos-za) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job temp-csx-schema-2012-04-26T20-17-19.67Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'include/zorba/item.h'
2--- include/zorba/item.h 2012-04-16 20:56:43 +0000
3+++ include/zorba/item.h 2012-04-18 11:29:19 +0000
4@@ -131,6 +131,11 @@
5 bool
6 isAtomic() const;
7
8+ /**
9+ * @return the type of this item based on the enum values in store_const.h
10+ */
11+ store::SchemaTypeCode getTypeCode() const;
12+
13 /** \brief Get the type of the Item.
14 *
15 * See http://www.w3.org/TR/xpath-datamodel/#types.
16
17=== modified file 'include/zorba/item_factory.h'
18--- include/zorba/item_factory.h 2012-04-16 20:56:43 +0000
19+++ include/zorba/item_factory.h 2012-04-18 11:29:19 +0000
20@@ -628,7 +628,6 @@
21 bool aHasTypedValue,
22 bool aHasEmptyValue,
23 NsBindings aNsBindings) = 0;
24-
25 /**
26 * Create a new attribute node N and place it among the
27 * attributes of a given parent node. If no parent is given, N becomes the
28@@ -698,7 +697,39 @@
29 virtual Item createTextNode(
30 Item parent,
31 String content) = 0;
32-}; // class ItemFactory
33+
34+ /**
35+ * @brief Assigns a simple typed value to an element node.
36+ *
37+ * Creates a simple typed value for an element. Note that this may only
38+ * be done once per element. This method should only be used during
39+ * creation of a new tree. Using this method to modify elements after
40+ * processing has begun has undefined results.
41+ *
42+ *
43+ * @param aElement The element for the typed value; may not be NULL.
44+ * @param aTypedValue The typed value for the element.
45+ */
46+ virtual void
47+ assignElementTypedValue(Item& aElement,
48+ Item aTypedValue) = 0;
49+ /**
50+ * @brief Assigns a simple typed value to an element node.
51+ *
52+ * Creates a simple typed value for an element. Note that this may only
53+ * be done once per element. This method should only be used during
54+ * creation of a new tree. Using this method to modify elements after
55+ * processing has begun has undefined results.
56+ *
57+ *
58+ * @param aElement The element for the typed value; may not be NULL.
59+ * @param aTypedValue The typed value for the element.
60+ */
61+ virtual void
62+ assignElementTypedValue(Item& aElement,
63+ std::vector<Item>& aTypedValue) = 0;
64+
65+ }; // class ItemFactory
66
67 } // namespace zorba
68 #endif
69
70=== modified file 'include/zorba/store_consts.h'
71--- include/zorba/store_consts.h 2012-04-16 20:56:43 +0000
72+++ include/zorba/store_consts.h 2012-04-18 11:29:19 +0000
73@@ -21,6 +21,71 @@
74
75 namespace zorba { namespace store {
76
77+/*******************************************************************************
78+ !!! ATTENTION: The order of thr enum values within SchemaTypeCode is important.
79+ !!! DO NOT change this order!!!!
80+********************************************************************************/
81+enum SchemaTypeCode
82+{
83+ XS_ANY_ATOMIC = 0,
84+
85+ XS_STRING = 1,
86+ XS_NORMALIZED_STRING = 2,
87+ XS_TOKEN = 3,
88+ XS_LANGUAGE = 4,
89+ XS_NMTOKEN = 5,
90+ XS_NAME = 6,
91+ XS_NCNAME = 7,
92+ XS_ID = 8,
93+ XS_IDREF = 9,
94+ XS_ENTITY = 10,
95+
96+ XS_UNTYPED_ATOMIC = 11,
97+
98+ XS_DATETIME = 12,
99+ XS_DATE = 13,
100+ XS_TIME = 14,
101+ XS_DURATION = 15,
102+ XS_DT_DURATION = 16,
103+ XS_YM_DURATION = 17,
104+
105+ XS_FLOAT = 18,
106+ XS_DOUBLE = 19,
107+
108+ XS_DECIMAL = 20,
109+ XS_INTEGER = 21,
110+ XS_NON_POSITIVE_INTEGER = 22,
111+ XS_NEGATIVE_INTEGER = 23,
112+ XS_LONG = 24,
113+ XS_INT = 25,
114+ XS_SHORT = 26,
115+ XS_BYTE = 27,
116+ XS_NON_NEGATIVE_INTEGER = 28,
117+ XS_UNSIGNED_LONG = 29,
118+ XS_UNSIGNED_INT = 30,
119+ XS_UNSIGNED_SHORT = 31,
120+ XS_UNSIGNED_BYTE = 32,
121+ XS_POSITIVE_INTEGER = 33,
122+
123+ XS_GYEAR_MONTH = 34,
124+ XS_GYEAR = 35,
125+ XS_GMONTH_DAY = 36,
126+ XS_GDAY = 37,
127+ XS_GMONTH = 38,
128+
129+ XS_BOOLEAN = 39,
130+
131+ XS_BASE64BINARY = 40,
132+ XS_HEXBINARY = 41,
133+
134+ XS_ANY_URI = 42,
135+
136+ XS_QNAME = 43,
137+ XS_NOTATION = 44,
138+
139+ XS_LAST
140+};
141+
142 class ZORBA_DLL_PUBLIC StoreConsts
143 {
144 public:
145
146=== modified file 'src/api/item.cpp'
147--- src/api/item.cpp 2012-04-16 20:56:43 +0000
148+++ src/api/item.cpp 2012-04-18 11:29:19 +0000
149@@ -157,6 +157,18 @@
150 return false;
151 }
152
153+store::SchemaTypeCode
154+Item::getTypeCode() const
155+{
156+ ITEM_TRY
157+
158+ SYNC_CODE(AutoLock lock(GENV_STORE.getGlobalLock(), Lock::READ);)
159+
160+ return m_item->getTypeCode();
161+
162+ ITEM_CATCH
163+ return store::XS_ANY_ATOMIC;
164+}
165
166 Item Item::getType() const
167 {
168
169=== modified file 'src/api/itemfactoryimpl.cpp'
170--- src/api/itemfactoryimpl.cpp 2012-04-16 20:56:43 +0000
171+++ src/api/itemfactoryimpl.cpp 2012-04-18 11:29:19 +0000
172@@ -708,6 +708,30 @@
173 return &*lItem;
174 }
175
176+void convertNsBindings(
177+ zorba::NsBindings& aInBindings,
178+ store::NsBindings& aOutBindings)
179+{
180+ zorba::NsBindings::iterator lIter;
181+ for (lIter = aInBindings.begin(); lIter != aInBindings.end(); ++lIter)
182+ {
183+ zstring lFirst = Unmarshaller::getInternalString(lIter->first);
184+ zstring lSecond = Unmarshaller::getInternalString(lIter->second);
185+ aOutBindings.push_back(std::pair<zstring, zstring>(lFirst, lSecond));
186+ }
187+}
188+
189+void convertItemVector(
190+ std::vector<zorba::Item>& aInItems,
191+ std::vector<store::Item_t>& aOutItems)
192+{
193+ std::vector<Item>::iterator lIter;
194+
195+ for (lIter = aInItems.begin(); lIter != aInItems.end(); ++lIter)
196+ {
197+ aOutItems.push_back(Unmarshaller::getInternalItem(*lIter));
198+ }
199+}
200
201 zorba::Item ItemFactoryImpl::createElementNode(
202 Item& aParent,
203@@ -721,14 +745,7 @@
204 store::Item_t lNodeName = Unmarshaller::getInternalItem(aNodeName);
205 store::Item_t lTypeName = Unmarshaller::getInternalItem(aTypeName);
206 store::NsBindings lNsBindings;
207-
208- std::vector<std::pair<String, String> >::iterator lIter;
209- for (lIter = aNsBindings.begin(); lIter != aNsBindings.end(); ++lIter)
210- {
211- zstring lFirst = Unmarshaller::getInternalString(lIter->first);
212- zstring lSecond = Unmarshaller::getInternalString(lIter->second);
213- lNsBindings.push_back(std::pair<zstring, zstring>(lFirst, lSecond));
214- }
215+ convertNsBindings(aNsBindings, lNsBindings);
216
217 zstring lBaseUri;
218 theItemFactory->createElementNode(lItem,
219@@ -742,6 +759,33 @@
220 return &*lItem;
221 }
222
223+void ItemFactoryImpl::assignElementTypedValue(
224+ Item &aElement,
225+ Item aTypedValue)
226+{
227+ store::Item_t lStoreElement = Unmarshaller::getInternalItem(aElement);
228+
229+ // Create the internal text node where the Zorba store holds the typed value.
230+ store::Item_t lText;
231+ store::Item_t lTypedValue = Unmarshaller::getInternalItem(aTypedValue);
232+ theItemFactory->createTextNode(lText, lStoreElement, lTypedValue);
233+}
234+
235+void ItemFactoryImpl::assignElementTypedValue(
236+ Item &aElement,
237+ std::vector<Item> &aTypedValue)
238+{
239+ store::Item_t lStoreElement = Unmarshaller::getInternalItem(aElement);
240+
241+ // Convert typed value vector.
242+ std::vector<store::Item_t> lTypedValue;
243+ convertItemVector(aTypedValue, lTypedValue);
244+
245+ // Create the internal text node where the Zorba store holds the typed value.
246+ store::Item_t lText;
247+ theItemFactory->createTextNode(lText, lStoreElement, lTypedValue);
248+}
249+
250
251 zorba::Item ItemFactoryImpl::createAttributeNode(
252 Item aParent,
253@@ -772,12 +816,7 @@
254 store::Item_t lNodeName = Unmarshaller::getInternalItem(aNodeName);
255 store::Item_t lTypeName = Unmarshaller::getInternalItem(aTypeName);
256 std::vector<store::Item_t> lTypedValue;
257- std::vector<Item>::iterator lIter;
258-
259- for (lIter = aTypedValue.begin(); lIter != aTypedValue.end(); ++lIter)
260- {
261- lTypedValue.push_back(Unmarshaller::getInternalItem(*lIter));
262- }
263+ convertItemVector(aTypedValue, lTypedValue);
264
265 theItemFactory->createAttributeNode(lItem,
266 Unmarshaller::getInternalItem(aParent),
267
268=== modified file 'src/api/itemfactoryimpl.h'
269--- src/api/itemfactoryimpl.h 2012-04-16 20:56:43 +0000
270+++ src/api/itemfactoryimpl.h 2012-04-18 11:29:19 +0000
271@@ -222,6 +222,14 @@
272 bool aHasEmptyValue,
273 NsBindings aNsBindings);
274
275+ virtual void
276+ assignElementTypedValue(Item& aElement,
277+ Item aTypedValue);
278+
279+ virtual void
280+ assignElementTypedValue(Item& aElement,
281+ std::vector<Item>& aTypedValue);
282+
283 virtual Item
284 createAttributeNode(Item aParent,
285 Item aNodeName,
286
287=== modified file 'src/runtime/core/arithmetic_impl.h'
288--- src/runtime/core/arithmetic_impl.h 2012-04-16 20:56:43 +0000
289+++ src/runtime/core/arithmetic_impl.h 2012-04-18 11:29:19 +0000
290@@ -25,7 +25,7 @@
291
292 #include "runtime/base/binarybase.h"
293
294-#include "store/api/xs_type_codes.h"
295+#include <zorba/store_consts.h>
296
297
298 namespace zorba {
299
300=== modified file 'src/runtime/numerics/NumericsImpl.h'
301--- src/runtime/numerics/NumericsImpl.h 2012-04-16 20:56:43 +0000
302+++ src/runtime/numerics/NumericsImpl.h 2012-04-18 11:29:19 +0000
303@@ -23,7 +23,7 @@
304 #include "runtime/base/binarybase.h" // TODO remove after iterator refactoring
305 #include "runtime/base/narybase.h"
306
307-#include "store/api/xs_type_codes.h"
308+#include <zorba/store_consts.h>
309
310 namespace zorba
311 {
312
313=== modified file 'src/runtime/spec/plan_iter_visitor_h.xq'
314--- src/runtime/spec/plan_iter_visitor_h.xq 2012-04-16 20:56:43 +0000
315+++ src/runtime/spec/plan_iter_visitor_h.xq 2012-04-18 11:29:19 +0000
316@@ -27,7 +27,7 @@
317 '#include <vector>',$gen:newline,
318 '#include "common/common.h"',$gen:newline,
319 '#include "zorbatypes/zorbatypes_decl.h"',$gen:newline,
320- '#include "store/api/xs_type_codes.h"',$gen:newline,
321+ '#include <zorba/store_consts.h>',$gen:newline,
322 '#include "zorbatypes/rchandle.h"',$gen:newline,
323 '#include "zorbatypes/zstring.h"',$gen:newline
324 ),'')
325
326=== modified file 'src/runtime/visitors/pregenerated/planiter_visitor.h'
327--- src/runtime/visitors/pregenerated/planiter_visitor.h 2012-04-16 20:56:43 +0000
328+++ src/runtime/visitors/pregenerated/planiter_visitor.h 2012-04-18 11:29:19 +0000
329@@ -25,7 +25,7 @@
330 #include <vector>
331 #include "common/common.h"
332 #include "zorbatypes/zorbatypes_decl.h"
333-#include "store/api/xs_type_codes.h"
334+#include <zorba/store_consts.h>
335 #include "zorbatypes/rchandle.h"
336 #include "zorbatypes/zstring.h"
337
338
339=== modified file 'src/store/api/item.h'
340--- src/store/api/item.h 2012-04-16 20:56:43 +0000
341+++ src/store/api/item.h 2012-04-18 11:29:19 +0000
342@@ -26,7 +26,7 @@
343 #include "zorbatypes/rclock.h"
344 #include "zorbatypes/schema_types.h"
345
346-#include "store/api/xs_type_codes.h"
347+#include <zorba/store_consts.h>
348 #include "store/api/shared_types.h"
349
350 #ifndef ZORBA_NO_FULL_TEXT
351
352=== removed file 'src/store/api/xs_type_codes.h'
353--- src/store/api/xs_type_codes.h 2012-03-28 05:19:57 +0000
354+++ src/store/api/xs_type_codes.h 1970-01-01 00:00:00 +0000
355@@ -1,94 +0,0 @@
356-/*
357- * Copyright 2006-2008 The FLWOR Foundation.
358- *
359- * Licensed under the Apache License, Version 2.0 (the "License");
360- * you may not use this file except in compliance with the License.
361- * You may obtain a copy of the License at
362- *
363- * http://www.apache.org/licenses/LICENSE-2.0
364- *
365- * Unless required by applicable law or agreed to in writing, software
366- * distributed under the License is distributed on an "AS IS" BASIS,
367- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
368- * See the License for the specific language governing permissions and
369- * limitations under the License.
370- */
371-#ifndef ZORBA_STORE_XS_TYPES_ENUM
372-#define ZORBA_STORE_XS_TYPES_ENUM
373-
374-
375-namespace zorba
376-{
377-
378-namespace store
379-{
380-
381-/*******************************************************************************
382- !!! ATTENTION: The order of thr enum values within SchemaTypeCode is important.
383- !!! DO NOT change this order!!!!
384-********************************************************************************/
385-enum SchemaTypeCode
386-{
387- XS_ANY_ATOMIC = 0,
388-
389- XS_STRING = 1,
390- XS_NORMALIZED_STRING = 2,
391- XS_TOKEN = 3,
392- XS_LANGUAGE = 4,
393- XS_NMTOKEN = 5,
394- XS_NAME = 6,
395- XS_NCNAME = 7,
396- XS_ID = 8,
397- XS_IDREF = 9,
398- XS_ENTITY = 10,
399-
400- XS_UNTYPED_ATOMIC = 11,
401-
402- XS_DATETIME = 12,
403- XS_DATE = 13,
404- XS_TIME = 14,
405- XS_DURATION = 15,
406- XS_DT_DURATION = 16,
407- XS_YM_DURATION = 17,
408-
409- XS_FLOAT = 18,
410- XS_DOUBLE = 19,
411-
412- XS_DECIMAL = 20,
413- XS_INTEGER = 21,
414- XS_NON_POSITIVE_INTEGER = 22,
415- XS_NEGATIVE_INTEGER = 23,
416- XS_LONG = 24,
417- XS_INT = 25,
418- XS_SHORT = 26,
419- XS_BYTE = 27,
420- XS_NON_NEGATIVE_INTEGER = 28,
421- XS_UNSIGNED_LONG = 29,
422- XS_UNSIGNED_INT = 30,
423- XS_UNSIGNED_SHORT = 31,
424- XS_UNSIGNED_BYTE = 32,
425- XS_POSITIVE_INTEGER = 33,
426-
427- XS_GYEAR_MONTH = 34,
428- XS_GYEAR = 35,
429- XS_GMONTH_DAY = 36,
430- XS_GDAY = 37,
431- XS_GMONTH = 38,
432-
433- XS_BOOLEAN = 39,
434-
435- XS_BASE64BINARY = 40,
436- XS_HEXBINARY = 41,
437-
438- XS_ANY_URI = 42,
439-
440- XS_QNAME = 43,
441- XS_NOTATION = 44,
442-
443- XS_LAST
444-};
445-
446-}
447-}
448-#endif
449-/* vim:set et sw=2 ts=2: */
450
451=== modified file 'src/store/naive/atomic_items.h'
452--- src/store/naive/atomic_items.h 2012-04-16 20:56:43 +0000
453+++ src/store/naive/atomic_items.h 2012-04-18 11:29:19 +0000
454@@ -29,7 +29,7 @@
455
456 #include "store/api/item.h"
457 #include "store/api/item_handle.h"
458-#include "store/api/xs_type_codes.h"
459+#include <zorba/store_consts.h>
460 #include "store_defs.h"
461 #include "shared_types.h"
462 #include "tree_id.h"
463
464=== modified file 'src/store/naive/store.cpp'
465--- src/store/naive/store.cpp 2012-04-16 20:56:43 +0000
466+++ src/store/naive/store.cpp 2012-04-18 11:29:19 +0000
467@@ -29,7 +29,6 @@
468 #include "diagnostics/util_macros.h"
469
470 #include "store/api/pul.h"
471-#include "store/api/xs_type_codes.h"
472
473 #include "properties.h"
474 #include "string_pool.h"
475
476=== modified file 'src/types/casting.cpp'
477--- src/types/casting.cpp 2012-04-16 20:56:43 +0000
478+++ src/types/casting.cpp 2012-04-18 11:29:19 +0000
479@@ -34,7 +34,7 @@
480 #include "store/api/item_factory.h"
481 #include "store/api/item.h"
482 #include "store/api/store.h"
483-#include "store/api/xs_type_codes.h"
484+#include <zorba/store_consts.h>
485
486 #include "types/typeops.h"
487 #include "types/typemanagerimpl.h"
488
489=== modified file 'src/types/casting.h'
490--- src/types/casting.h 2012-04-16 20:56:43 +0000
491+++ src/types/casting.h 2012-04-18 11:29:19 +0000
492@@ -20,7 +20,7 @@
493 #include "common/shared_types.h"
494 #include "types/root_typemanager.h"
495
496-#include "store/api/xs_type_codes.h"
497+#include <zorba/store_consts.h>
498
499
500 namespace zorba
501
502=== modified file 'src/types/schema/validate.cpp'
503--- src/types/schema/validate.cpp 2012-04-16 20:56:43 +0000
504+++ src/types/schema/validate.cpp 2012-04-18 11:29:19 +0000
505@@ -252,7 +252,7 @@
506 {
507 //cout << "Validate element" << "\n"; cout.flush();
508 schemaValidator.startDoc();
509-
510+
511 // ask for the type of the root element to populate the cache
512 // with anonymous types
513 typeManager->getSchema()->
514
515=== modified file 'src/types/typemanager.h'
516--- src/types/typemanager.h 2012-04-16 20:56:43 +0000
517+++ src/types/typemanager.h 2012-04-18 11:29:19 +0000
518@@ -32,7 +32,7 @@
519
520 #include "zorbaserialization/class_serializer.h"
521
522-#include "store/api/xs_type_codes.h"
523+#include <zorba/store_consts.h>
524
525
526 namespace zorba {
527
528=== modified file 'src/types/typeops.h'
529--- src/types/typeops.h 2012-04-16 20:56:43 +0000
530+++ src/types/typeops.h 2012-04-18 11:29:19 +0000
531@@ -25,7 +25,7 @@
532
533 #include "compiler/parser/query_loc.h"
534
535-#include "store/api/xs_type_codes.h"
536+#include <zorba/store_consts.h>
537 #include "store/api/item.h"
538
539 namespace zorba

Subscribers

People subscribed via source and target branches