You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/12/13 03:50:37 UTC
DO NOT REPLY [Bug 25495] New: -
XSModel::getComponents(XSConstants::TYPE_DEFINITION) returning type definitions from standard XML Schema namespace as well.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25495>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25495
XSModel::getComponents(XSConstants::TYPE_DEFINITION) returning type definitions from standard XML Schema namespace as well.
Summary: XSModel::getComponents(XSConstants::TYPE_DEFINITION)
returning type definitions from standard XML Schema
namespace as well.
Product: Xerces-C++
Version: 2.4.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Miscellaneous
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: hanming@mac.com
I was simply using XSModel::getComponents(XSConstants::TYPE_DEFINITION) and it
didn't work for XSModel::getComponentsByNamespace(XSConstants::TYPE_DEFINITION,
NAMESPACE_FOR_HTTP_WWW_EXAMPLE_COM_PURCHASE_ORDER) as well.
See result below. I was expecting only the type definition in the namespace
"http://www.example.com/PurchaseOrder" but it gave me a lot more...
--------------------------------------------
Name: http://www.example.com/PurchaseOrder, SKU
Component Type: Type-definition
--------------------------------------------
Name: http://www.example.com/PurchaseOrder, USAddress
Component Type: Type-definition
--------------------------------------------
Name: http://www.example.com/PurchaseOrder, PurchaseOrder
Component Type: Type-definition
--------------------------------------------
Name: http://www.example.com/PurchaseOrder, Item
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, negativeInteger
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, gYear
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, int
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, normalizedString
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, gYearMonth
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, unsignedLong
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, unsignedByte
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, positiveInteger
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, IDREFS
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, NCName
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, short
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, long
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, gMonthDay
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, dateTime
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, NMTOKENS
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, byte
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, ID
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, integer
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, nonPositiveInteger
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, gMonth
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, hexBinary
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, language
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, time
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, unsignedInt
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, ENTITIES
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, NOTATION
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, Name
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, base64Binary
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, anySimpleType
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, ENTITY
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, decimal
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, NMTOKEN
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, date
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, anyURI
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, token
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, gDay
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, unsignedShort
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, duration
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, QName
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, boolean
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, float
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, nonNegativeInteger
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, double
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, IDREF
Component Type: Type-definition
--------------------------------------------
Name: http://www.w3.org/2001/XMLSchema, string
Component Type: Type-definition
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org