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 "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2007/01/04 08:42:27 UTC

[jira] Created: (XERCESC-1664) xsi:type and a schema without a target namespace causes error on valid instance

xsi:type and a schema without a target namespace causes error on valid instance
-------------------------------------------------------------------------------

                 Key: XERCESC-1664
                 URL: https://issues.apache.org/jira/browse/XERCESC-1664
             Project: Xerces-C++
          Issue Type: Bug
          Components: Validating Parser (Schema) (Xerces 1.5 or up only)
    Affects Versions: 2.7.0
         Environment: all
            Reporter: Boris Kolpackov


I am attaching a test case that fails with the following error when run through domprint:

$ domprint -v=always -n -s -f ./test-users.xml
Error at file "test-users.xml", line 14, column 9
   Message: Unknown element 'Age'

If you add targetNamespace to derived-user-config.xsd, then the error disappeas. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Re: Xerces-C 2.9?

Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi Ozgur,

Sahoglu, Ozgur <Oz...@intuit.com> writes:

> Are we branching for 3.0 and 2.9? What is the version of the trunk?

The 3.x.y code base is in the trunk. 2.x.y is in the xerces-2 branch:

http://xerces.apache.org/xerces-c/source-repository.html

Boris

--
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

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


RE: Xerces-C 2.9?

Posted by "Sahoglu, Ozgur" <Oz...@intuit.com>.

Hi Boris,

Are we branching for 3.0 and 2.9? What is the version of the trunk?

Thank you,


-Ozgur Sahoglu

-----Original Message-----
From: Boris Kolpackov [mailto:boris@codesynthesis.com] 
Sent: Monday, February 25, 2008 10:18 AM
To: c-dev@xerces.apache.org
Subject: Re: Xerces-C 2.9?

Hi Jesse,

Jesse Pelton <js...@PKC.com> writes:

> There have been a number of references to version 2.9 recently, mostly
> in bug reports that Alberto has modified.  Are there plans to do a 2.9
> release?  I thought 2.8 was intended to be the last of the 2.x
releases.
> Just curious whether that thinking has changed.

Xerces-C++ 3.0.0 has a number of backwards-incompatible changes that may
require fairly-substantial adjustments to code that uses Xerces-C++
2-series.
This is especially true for applications that rely on DOM. As a result,
there
will most likely be a number of applications that will have to stick
with
2-series. If there is demand for the bug-fix-only 2-series release from
the
community then we may decide to have 2.9.0.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:
http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing:
http://codesynthesis.com/products/xsde

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



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


Re: Xerces-C 2.9?

Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi Jesse,

Jesse Pelton <js...@PKC.com> writes:

> There have been a number of references to version 2.9 recently, mostly
> in bug reports that Alberto has modified.  Are there plans to do a 2.9
> release?  I thought 2.8 was intended to be the last of the 2.x releases.
> Just curious whether that thinking has changed.

Xerces-C++ 3.0.0 has a number of backwards-incompatible changes that may
require fairly-substantial adjustments to code that uses Xerces-C++ 2-series.
This is especially true for applications that rely on DOM. As a result, there
will most likely be a number of applications that will have to stick with
2-series. If there is demand for the bug-fix-only 2-series release from the
community then we may decide to have 2.9.0.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

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


Xerces-C 2.9?

Posted by Jesse Pelton <js...@PKC.com>.
There have been a number of references to version 2.9 recently, mostly
in bug reports that Alberto has modified.  Are there plans to do a 2.9
release?  I thought 2.8 was intended to be the last of the 2.x releases.
Just curious whether that thinking has changed.

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


[jira] Updated: (XERCESC-1664) xsi:type and a schema without a target namespace causes error on valid instance

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1664:
-------------------------------------

    Fix Version/s: 2.9.0
                   3.0.0

Would be nice to fix for 3.0.0 and 2.9.0.

> xsi:type and a schema without a target namespace causes error on valid instance
> -------------------------------------------------------------------------------
>
>                 Key: XERCESC-1664
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1664
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (Schema) (Xerces 1.5 or up only)
>    Affects Versions: 2.7.0
>         Environment: all
>            Reporter: Boris Kolpackov
>             Fix For: 3.0.0, 2.9.0
>
>         Attachments: test-case.tar.gz
>
>
> I am attaching a test case that fails with the following error when run through domprint:
> $ domprint -v=always -n -s -f ./test-users.xml
> Error at file "test-users.xml", line 14, column 9
>    Message: Unknown element 'Age'
> If you add targetNamespace to derived-user-config.xsd, then the error disappeas. 

-- 
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@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Resolved: (XERCESC-1664) xsi:type and a schema without a target namespace causes error on valid instance

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari resolved XERCESC-1664.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.9.0)
                       (was: 3.0.0)
                   2.8.0

The testcase already works in both 2.9 and 3.0

> xsi:type and a schema without a target namespace causes error on valid instance
> -------------------------------------------------------------------------------
>
>                 Key: XERCESC-1664
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1664
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 2.7.0
>         Environment: all
>            Reporter: Boris Kolpackov
>             Fix For: 2.8.0
>
>         Attachments: test-case.tar.gz
>
>
> I am attaching a test case that fails with the following error when run through domprint:
> $ domprint -v=always -n -s -f ./test-users.xml
> Error at file "test-users.xml", line 14, column 9
>    Message: Unknown element 'Age'
> If you add targetNamespace to derived-user-config.xsd, then the error disappeas. 

-- 
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@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1664) xsi:type and a schema without a target namespace causes error on valid instance

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1664:
-------------------------------------

    Attachment: test-case.tar.gz

> xsi:type and a schema without a target namespace causes error on valid instance
> -------------------------------------------------------------------------------
>
>                 Key: XERCESC-1664
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1664
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (Schema) (Xerces 1.5 or up only)
>    Affects Versions: 2.7.0
>         Environment: all
>            Reporter: Boris Kolpackov
>         Attachments: test-case.tar.gz
>
>
> I am attaching a test case that fails with the following error when run through domprint:
> $ domprint -v=always -n -s -f ./test-users.xml
> Error at file "test-users.xml", line 14, column 9
>    Message: Unknown element 'Age'
> If you add targetNamespace to derived-user-config.xsd, then the error disappeas. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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