List Info

Thread: equality index on gYearMonth throws Exception




equality index on gYearMonth throws Exception
user name
2006-07-14 21:52:14
Hello, I'm trying to add an index on an xs:gYearMonth
attribute, but when
I try to add the index, BDBXML is throwing the following
exception:

Caused by: com.sleepycat.dbxml.XmlException: Error: Unknown
index
specification, 'node-attribute-equality-none', for node
'lead-month'.,
errcode = UNKNOWN_INDEX
        at
com.sleepycat.dbxml.dbxml_javaJNI.XmlIndexSpecification_addI
ndex__SWIG_1(Native
Method)
        at
com.sleepycat.dbxml.XmlIndexSpecification.addIndex(XmlIndexS
pecification.java:49)

I'm calling the addIndex method like

addIndex("","lead-month","node
-attribute-equality-gYearMonth")

but BDBXML seems to convert the gYearMonth to
"none"?

This is the only index definition I've had problems with, I
have many
other indices defined successfully. Any ideas how to define
a gYearMonth
attribute index?

-- m


------------------------------------------
To remove yourself from this list, send an
email to xml-unsubscribesleepycat.com

equality index on gYearMonth throws Exception
user name
2006-07-20 13:18:14
Matt,

Try using "yearMonth"

It appears that the documentation and code are out of sync.

Regards,

George

On Jul 14, 2006, at 5:52 PM, Matt Magoffin wrote:

> Hello, I'm trying to add an index on an xs:gYearMonth
attribute,  
> but when
> I try to add the index, BDBXML is throwing the
following exception:
>
> Caused by: com.sleepycat.dbxml.XmlException: Error:
Unknown index
> specification, 'node-attribute-equality-none', for
node 'lead-month'.,
> errcode = UNKNOWN_INDEX
>         at
>
com.sleepycat.dbxml.dbxml_javaJNI.XmlIndexSpecification_addI
ndex__SWIG 
> _1(Native
> Method)
>         at
> com.sleepycat.dbxml.XmlIndexSpecification.addIndex 
> (XmlIndexSpecification.java:49)
>
> I'm calling the addIndex method like
>
>
addIndex("","lead-month","node
-attribute-equality-gYearMonth")
>
> but BDBXML seems to convert the gYearMonth to
"none"?
>
> This is the only index definition I've had problems
with, I have many
> other indices defined successfully. Any ideas how to
define a  
> gYearMonth
> attribute index?
>
> -- m
>
>
> ------------------------------------------
> To remove yourself from this list, send an
> email to xml-unsubscribesleepycat.com
>



------------------------------------------
To remove yourself from this list, send an
email to xml-unsubscribesleepycat.com

equality index on gYearMonth throws Exception
user name
2006-07-20 13:18:14
Matt,

Try using "yearMonth"

It appears that the documentation and code are out of sync.

Regards,

George

On Jul 14, 2006, at 5:52 PM, Matt Magoffin wrote:

> Hello, I'm trying to add an index on an xs:gYearMonth
attribute,  
> but when
> I try to add the index, BDBXML is throwing the
following exception:
>
> Caused by: com.sleepycat.dbxml.XmlException: Error:
Unknown index
> specification, 'node-attribute-equality-none', for
node 'lead-month'.,
> errcode = UNKNOWN_INDEX
>         at
>
com.sleepycat.dbxml.dbxml_javaJNI.XmlIndexSpecification_addI
ndex__SWIG 
> _1(Native
> Method)
>         at
> com.sleepycat.dbxml.XmlIndexSpecification.addIndex 
> (XmlIndexSpecification.java:49)
>
> I'm calling the addIndex method like
>
>
addIndex("","lead-month","node
-attribute-equality-gYearMonth")
>
> but BDBXML seems to convert the gYearMonth to
"none"?
>
> This is the only index definition I've had problems
with, I have many
> other indices defined successfully. Any ideas how to
define a  
> gYearMonth
> attribute index?
>
> -- m
>
>
> ------------------------------------------
> To remove yourself from this list, send an
> email to xml-unsubscribesleepycat.com
>



------------------------------------------
To remove yourself from this list, send an
email to xml-unsubscribesleepycat.com

equality index on gYearMonth throws Exception
user name
2006-07-20 13:18:14
Matt,

Try using "yearMonth"

It appears that the documentation and code are out of sync.

Regards,

George

On Jul 14, 2006, at 5:52 PM, Matt Magoffin wrote:

> Hello, I'm trying to add an index on an xs:gYearMonth
attribute,  
> but when
> I try to add the index, BDBXML is throwing the
following exception:
>
> Caused by: com.sleepycat.dbxml.XmlException: Error:
Unknown index
> specification, 'node-attribute-equality-none', for
node 'lead-month'.,
> errcode = UNKNOWN_INDEX
>         at
>
com.sleepycat.dbxml.dbxml_javaJNI.XmlIndexSpecification_addI
ndex__SWIG 
> _1(Native
> Method)
>         at
> com.sleepycat.dbxml.XmlIndexSpecification.addIndex 
> (XmlIndexSpecification.java:49)
>
> I'm calling the addIndex method like
>
>
addIndex("","lead-month","node
-attribute-equality-gYearMonth")
>
> but BDBXML seems to convert the gYearMonth to
"none"?
>
> This is the only index definition I've had problems
with, I have many
> other indices defined successfully. Any ideas how to
define a  
> gYearMonth
> attribute index?
>
> -- m
>
>
> ------------------------------------------
> To remove yourself from this list, send an
> email to xml-unsubscribesleepycat.com
>



------------------------------------------
To remove yourself from this list, send an
email to xml-unsubscribesleepycat.com

equality index on gYearMonth throws Exception
user name
2006-07-20 13:18:14
Matt,

Try using "yearMonth"

It appears that the documentation and code are out of sync.

Regards,

George

On Jul 14, 2006, at 5:52 PM, Matt Magoffin wrote:

> Hello, I'm trying to add an index on an xs:gYearMonth
attribute,  
> but when
> I try to add the index, BDBXML is throwing the
following exception:
>
> Caused by: com.sleepycat.dbxml.XmlException: Error:
Unknown index
> specification, 'node-attribute-equality-none', for
node 'lead-month'.,
> errcode = UNKNOWN_INDEX
>         at
>
com.sleepycat.dbxml.dbxml_javaJNI.XmlIndexSpecification_addI
ndex__SWIG 
> _1(Native
> Method)
>         at
> com.sleepycat.dbxml.XmlIndexSpecification.addIndex 
> (XmlIndexSpecification.java:49)
>
> I'm calling the addIndex method like
>
>
addIndex("","lead-month","node
-attribute-equality-gYearMonth")
>
> but BDBXML seems to convert the gYearMonth to
"none"?
>
> This is the only index definition I've had problems
with, I have many
> other indices defined successfully. Any ideas how to
define a  
> gYearMonth
> attribute index?
>
> -- m
>
>
> ------------------------------------------
> To remove yourself from this list, send an
> email to xml-unsubscribesleepycat.com
>



------------------------------------------
To remove yourself from this list, send an
email to xml-unsubscribesleepycat.com

equality index on gYearMonth throws Exception
user name
2006-07-20 13:18:14
Matt,

Try using "yearMonth"

It appears that the documentation and code are out of sync.

Regards,

George

On Jul 14, 2006, at 5:52 PM, Matt Magoffin wrote:

> Hello, I'm trying to add an index on an xs:gYearMonth
attribute,  
> but when
> I try to add the index, BDBXML is throwing the
following exception:
>
> Caused by: com.sleepycat.dbxml.XmlException: Error:
Unknown index
> specification, 'node-attribute-equality-none', for
node 'lead-month'.,
> errcode = UNKNOWN_INDEX
>         at
>
com.sleepycat.dbxml.dbxml_javaJNI.XmlIndexSpecification_addI
ndex__SWIG 
> _1(Native
> Method)
>         at
> com.sleepycat.dbxml.XmlIndexSpecification.addIndex 
> (XmlIndexSpecification.java:49)
>
> I'm calling the addIndex method like
>
>
addIndex("","lead-month","node
-attribute-equality-gYearMonth")
>
> but BDBXML seems to convert the gYearMonth to
"none"?
>
> This is the only index definition I've had problems
with, I have many
> other indices defined successfully. Any ideas how to
define a  
> gYearMonth
> attribute index?
>
> -- m
>
>
> ------------------------------------------
> To remove yourself from this list, send an
> email to xml-unsubscribesleepycat.com
>



------------------------------------------
To remove yourself from this list, send an
email to xml-unsubscribesleepycat.com

equality index on gYearMonth throws Exception
user name
2006-07-20 13:18:14
Matt,

Try using "yearMonth"

It appears that the documentation and code are out of sync.

Regards,

George

On Jul 14, 2006, at 5:52 PM, Matt Magoffin wrote:

> Hello, I'm trying to add an index on an xs:gYearMonth
attribute,  
> but when
> I try to add the index, BDBXML is throwing the
following exception:
>
> Caused by: com.sleepycat.dbxml.XmlException: Error:
Unknown index
> specification, 'node-attribute-equality-none', for
node 'lead-month'.,
> errcode = UNKNOWN_INDEX
>         at
>
com.sleepycat.dbxml.dbxml_javaJNI.XmlIndexSpecification_addI
ndex__SWIG 
> _1(Native
> Method)
>         at
> com.sleepycat.dbxml.XmlIndexSpecification.addIndex 
> (XmlIndexSpecification.java:49)
>
> I'm calling the addIndex method like
>
>
addIndex("","lead-month","node
-attribute-equality-gYearMonth")
>
> but BDBXML seems to convert the gYearMonth to
"none"?
>
> This is the only index definition I've had problems
with, I have many
> other indices defined successfully. Any ideas how to
define a  
> gYearMonth
> attribute index?
>
> -- m
>
>
> ------------------------------------------
> To remove yourself from this list, send an
> email to xml-unsubscribesleepycat.com
>



------------------------------------------
To remove yourself from this list, send an
email to xml-unsubscribesleepycat.com

equality index on gYearMonth throws Exception
user name
2006-07-20 19:46:58
Thank you, that did indeed work.

-- m


> Matt,
>
> Try using "yearMonth"
>
> It appears that the documentation and code are out of
sync.
>
> Regards,
>
> George
>
> On Jul 14, 2006, at 5:52 PM, Matt Magoffin wrote:
>
>> Hello, I'm trying to add an index on an
xs:gYearMonth attribute,
>> but when
>> I try to add the index, BDBXML is throwing the
following exception:
>>
>> Caused by: com.sleepycat.dbxml.XmlException: Error:
Unknown index
>> specification, 'node-attribute-equality-none',
for node 'lead-month'.,
>> errcode = UNKNOWN_INDEX
>>         at
>>
com.sleepycat.dbxml.dbxml_javaJNI.XmlIndexSpecification_addI
ndex__SWIG
>> _1(Native
>> Method)
>>         at
>> com.sleepycat.dbxml.XmlIndexSpecification.addIndex
>> (XmlIndexSpecification.java:49)
>>
>> I'm calling the addIndex method like
>>
>>
addIndex("","lead-month","node
-attribute-equality-gYearMonth")
>>
>> but BDBXML seems to convert the gYearMonth to
"none"?
>>
>> This is the only index definition I've had
problems with, I have many
>> other indices defined successfully. Any ideas how
to define a
>> gYearMonth
>> attribute index?



------------------------------------------
To remove yourself from this list, send an
email to xml-unsubscribesleepycat.com

[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )