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 2001/09/12 16:42:16 UTC

[DO NOT REPLY: Bug 3567] New: Unable to perform schema validation without namespace processing

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3567

*** shadow/3567	Wed Sep 12 07:42:16 2001
--- shadow/3567.tmp.17853	Wed Sep 12 07:42:16 2001
***************
*** 0 ****
--- 1,27 ----
+ +============================================================================+
+ | Unable to perform schema validation without namespace processing           |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3567                        Product: Xerces-C++              |
+ |       Status: NEW                         Version: 1.5.1                   |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Other                   |
+ |     Priority: Other                     Component: Validating Parser (Sche |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-c-dev@xml.apache.org                                  |
+ |  Reported By: AntAGrey@Hotmail.com                                         |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Using the SAX2Count and DOMCount samples of the Xerces 1.5.1 parser, compiled 
+ with C++ version 6. I obtain an when running either program against a simple 
+ XML document that requires validation against a simple schema. The error is 
+ caused when the disable namespace option is used on the parser. Performing this 
+ action ensures that the default validator (XMLScanner::fValidator, set to 
+ XMLScanner::fDTDValidator) is not changed to the schema validator 
+ (XMLScanner::fSchemaValidator). If the namespace option is chosen, however, 
+ then the validator is selected to the schema via the 
+ XMLScanner::scanRawAttrListforNameSpaces method. This is because the 
+ XMLScanner::scanStartTagNS method is used, as opposed to the 
+ XMLScanner::scanStartTag method, when using namespace processing.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org