|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (XERCESC-1896) Bogus diagnostics when an unknown name is referenced from imported namespaceBogus diagnostics when an unknown name is referenced from imported namespace
---------------------------------------------------------------------------- Key: XERCESC-1896 URL: https://issues.apache.org/jira/browse/XERCESC-1896 Project: Xerces-C++ Issue Type: Bug Components: Validating Parser (XML Schema) Affects Versions: 3.0.1 Reporter: Boris Kolpackov Fix For: 3.1.0 Attachments: test.xml, test.xsd Run DOMCount on the attached test case like this: DOMCount -v=always -n -s -f test.xml You will get the following error messages: Error at file /tmp/test.xsd, line 7, char 47 Message: namespace 'http://www.w3.org/2001/XMLSchema' is referenced without import declaration Error at file /tmp/test.xsd, line 7, char 47 Message: namespace 'http://www.w3.org/2001/XMLSchema' is referenced without import declaration Error at file /tmp/test.xsd, line 11, char 37 Message: base type 't:isbn' not found in 'isbn2' definition There are two problems. The first is the bogus message in the first two errors. The second is the two duplicate error messages. The second problem disappears if we remove isbn2 type from the schema. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@... For additional commands, e-mail: c-dev-help@... |
|
|
[jira] Updated: (XERCESC-1896) Bogus diagnostics when an unknown name is referenced from imported namespace[ https://issues.apache.org/jira/browse/XERCESC-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Boris Kolpackov updated XERCESC-1896: ------------------------------------- Attachment: test.xml test.xsd The test case. > Bogus diagnostics when an unknown name is referenced from imported namespace > ---------------------------------------------------------------------------- > > Key: XERCESC-1896 > URL: https://issues.apache.org/jira/browse/XERCESC-1896 > Project: Xerces-C++ > Issue Type: Bug > Components: Validating Parser (XML Schema) > Affects Versions: 3.0.1 > Reporter: Boris Kolpackov > Fix For: 3.1.0 > > Attachments: test.xml, test.xsd > > > Run DOMCount on the attached test case like this: > DOMCount -v=always -n -s -f test.xml > You will get the following error messages: > Error at file /tmp/test.xsd, line 7, char 47 > Message: namespace 'http://www.w3.org/2001/XMLSchema' is referenced without import declaration > Error at file /tmp/test.xsd, line 7, char 47 > Message: namespace 'http://www.w3.org/2001/XMLSchema' is referenced without import declaration > Error at file /tmp/test.xsd, line 11, char 37 > Message: base type 't:isbn' not found in 'isbn2' definition > There are two problems. The first is the bogus message in the first two errors. The second is the two duplicate error messages. The second problem disappears if we remove isbn2 type from the schema. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@... For additional commands, e-mail: c-dev-help@... |
|
|
[jira] Closed: (XERCESC-1896) Bogus diagnostics when an unknown name is referenced from imported namespace[ https://issues.apache.org/jira/browse/XERCESC-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Boris Kolpackov closed XERCESC-1896. ------------------------------------ Resolution: Fixed Assignee: Boris Kolpackov Fix for the first issue is in SVN. The second issue is due to the (misguided, IMO) recovery logic in Xerces-C++. > Bogus diagnostics when an unknown name is referenced from imported namespace > ---------------------------------------------------------------------------- > > Key: XERCESC-1896 > URL: https://issues.apache.org/jira/browse/XERCESC-1896 > Project: Xerces-C++ > Issue Type: Bug > Components: Validating Parser (XML Schema) > Affects Versions: 3.0.1 > Reporter: Boris Kolpackov > Assignee: Boris Kolpackov > Fix For: 3.1.0 > > Attachments: test.xml, test.xsd > > > Run DOMCount on the attached test case like this: > DOMCount -v=always -n -s -f test.xml > You will get the following error messages: > Error at file /tmp/test.xsd, line 7, char 47 > Message: namespace 'http://www.w3.org/2001/XMLSchema' is referenced without import declaration > Error at file /tmp/test.xsd, line 7, char 47 > Message: namespace 'http://www.w3.org/2001/XMLSchema' is referenced without import declaration > Error at file /tmp/test.xsd, line 11, char 37 > Message: base type 't:isbn' not found in 'isbn2' definition > There are two problems. The first is the bogus message in the first two errors. The second is the two duplicate error messages. The second problem disappears if we remove isbn2 type from the schema. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@... For additional commands, e-mail: c-dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |