[ 
http://jira.codehaus.org/browse/MOJO-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203674#action_203674
 ] 

Matt Furniss commented on MOJO-1438:
------------------------------------

Hi Nick, thanks. This helped a lot. But I did find a couple of problems with 
the patch.

1. Catalog files do not get a correct date stamp and thus updates are not 
detected. The catalog files are added as an array to the resolve list, they 
should actually be added as individual files.

2. Any DTDs referenced from the parent DTD are not resolved to a relative URL.

> Validate and transform doesn't use resolver to resolve doctype declaration in 
> source files
> ------------------------------------------------------------------------------------------
>
>                 Key: MOJO-1438
>                 URL: http://jira.codehaus.org/browse/MOJO-1438
>             Project: Mojo
>          Issue Type: Bug
>          Components: xml
>            Reporter: Nick Stolwijk
>            Assignee: Jochen Wiedmann
>         Attachments: resolver.patch
>
>
> When your source file contains a doctype declaration, the catalog is not used 
> to resolve these declarations.
> ie. the next file cannot be read, as the dtd can not be found, although I 
> specified a local dtd for the -COUNTER-DTD- in the catalog.
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE DOC PUBLIC "-COUNTER-DTD-" "http://www.example.com/sample.dtd";>
> <DOC xmlns="xyz0"><HEADER>A sample document.</HEADER></DOC>

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to